Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Following up on the Rubik's cube, now what I want to capture a mouse click as well as a keyboard press. This would enable me to implement the logic of
If mouse button is pressed, and if button 'x' is pressed on the keyboard, then rotate the cube about 'x' axis, and similarly for rotations around y axis and z axis if buttons 'y' and 'z' are pressed? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You are welcome ... you are free to change your password, and I think
to change your info on the website under Staff. Cheers, David On 4/24/13, sachuraju <[hidden email]> wrote: > Following up on the Rubik's cube, now what I want to capture a mouse click > as > well as a keyboard press. This would enable me to implement the logic of > > If mouse button is pressed, and if button 'x' is pressed on the keyboard, > then rotate the cube about 'x' axis, and similarly for rotations around y > axis and z axis if buttons 'y' and 'z' are pressed? > > > > > > > > -- > View this message in context: > http://forum.world.st/Is-there-a-function-where-I-can-get-a-mouse-and-a-keyboard-event-at-the-same-time-tp4683464.html > Sent from the Croquet - Dev mailing list archive at Nabble.com. > ... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by sachuraju
There's no such thing as simultaneous.... however, you can watch key-up and key-down events and thus know the state of the "x" key as of the time the mouseclick arrives.
> Following up on the Rubik's cube, now what I want to capture a mouse click as > well as a keyboard press. This would enable me to implement the logic of > > If mouse button is pressed, and if button 'x' is pressed on the keyboard, > then rotate the cube about 'x' axis, and similarly for rotations around y > axis and z axis if buttons 'y' and 'z' are pressed? > > > > > > > > -- > View this message in context: > http://forum.world.st/Is-there-a-function-where-I-can-get-a-mouse-and-a-keyboard-event-at-the-same-time-tp4683464.html > Sent from the Croquet - Dev mailing list archive at Nabble.com. > ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thank you for your reply.. Let me go ahead and try it.. On Thu, Apr 25, 2013 at 6:32 AM, David P. Reed [via Smalltalk] <[hidden email]> wrote:
... [show rest of quote] |
Free forum by Nabble | Edit this page |