udoobu
January 31, 2013, 7:38pm
1
Hi! Can someone please point me in the right direction for setting up a MouseInputListener. I want to be able to detect mouse button up/down states.
I’ve looked at the javadoc and also searched around online and just can’t find a good reference.
Thank you!
pspeed
January 31, 2013, 7:55pm
2
@udoobu said:
Hi! Can someone please point me in the right direction for setting up a MouseInputListener. I want to be able to detect mouse button up/down states.
I’ve looked at the javadoc and also searched around online and just can’t find a good reference.
Thank you!
JME has no MouseInputListener. Maybe you mean RawInputListener?
1 Like
udoobu
January 31, 2013, 7:59pm
3
@pspeed said:
JME has no MouseInputListener. Maybe you mean RawInputListener?
Oh… well… maybe so. Are you familiar with what is used to detect mouse up or down states? Thx!
udoobu
January 31, 2013, 8:00pm
4
For example, if I want to click my mouse button to place a new object, I don’t want it to continually create new objects until I release the mouse.
pspeed
January 31, 2013, 8:04pm
5
2 Likes
udoobu
January 31, 2013, 9:02pm
6
@pspeed said:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_input_system
Thank you for making me look at that article again. The first time I missed the notes about “!keypressed”.
I appreciate it!
1 Like