Can mouse wheel be readed in key event?
6 posts • Page 1 of 1
Can mouse wheel be readed in key event?
Can mouse wheel be readed in key event?
If so, what is it's code (the text), ex: left click = mouse_left
If so, what is it's code (the text), ex: left click = mouse_left
- lololoer16_17
- Posts: 18
- Joined: Tue Jan 21, 2014 8:55 pm
- Location: Spain (South)
Re: Can mouse wheel be readed in key event?
I discovered that "mouse_middle" activates when the wheel is pressed (like a button), but I don't know if the wheel rotation can be detected. I tried "mouse_wheel" but that did not do anything.
-

Xray - Posts: 501
- Joined: Sun Jun 17, 2012 6:12 am
- Location: USA
Re: Can mouse wheel be readed in key event?
Xray wrote:I discovered that "mouse_middle" activates when the wheel is pressed (like a button), but I don't know if the wheel rotation can be detected. I tried "mouse_wheel" but that did not do anything.
mouse_left
mouse_middle
mouse_right
mouse_wheel_up
mouse_wheel_down
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Can mouse wheel be readed in key event?
Xray wrote:I discovered that "mouse_middle" activates when the wheel is pressed (like a button), but I don't know if the wheel rotation can be detected. I tried "mouse_wheel" but that did not do anything.
mouse_left
mouse_middle
mouse_right
mouse_wheel_up
mouse_wheel_down
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Can mouse wheel be readed in key event?
Fantastic! Thankyou both! 
- lololoer16_17
- Posts: 18
- Joined: Tue Jan 21, 2014 8:55 pm
- Location: Spain (South)
Re: Can mouse wheel be readed in key event?
Yes, thank you kilinich! 
-

Xray - Posts: 501
- Joined: Sun Jun 17, 2012 6:12 am
- Location: USA
6 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests



