You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have a mouse connected; only a trackpad. The usual macOS gesture to emulate a right mouse press (the two finger trackpad press) isn't working. It isn't (yet) clear to me how to handle a right click via trackpad with kiss3d. (Update: maybe Button3 instead of Button2?)
Anyhow, for now, I reworked the code to listen for Key::M to make a move.
WindowEvent::Key(Key::M, action, _modif) => {if action != Action::Release{return;}// Try to add a token.// ...
The text was updated successfully, but these errors were encountered:
xpe
changed the title
macOS trackpad
Unclear how to listen for right mouse button press with macOS trackpad
Jun 8, 2023
Hey, thanks for the interest in this little project.
Tbh I'm not a mac user and I don't have a way to test it at all. Lmk if you find a solution.
However, I'm confused by this:
Anyhow, for now, I reworked the code to listen for Key::M to make a move.
Why would making a move be a problem here? Right click in kiss3d is only needed for moving the 3D model around, it's not about placing a token. To place a token, a simple left click should be used.
I don't have a mouse connected; only a trackpad. The usual macOS gesture to emulate a right mouse press (the two finger trackpad press) isn't working. It isn't (yet) clear to me how to handle a right click via trackpad with kiss3d. (Update: maybe
Button3
instead ofButton2
?)Anyhow, for now, I reworked the code to listen for
Key::M
to make a move.The text was updated successfully, but these errors were encountered: