Computer Science Canada Mouse wheel |
Author: | Raknarg [ Fri Jan 20, 2012 4:31 pm ] |
Post subject: | Mouse wheel |
Is there a way to detect mouse wheel scrolling? |
Author: | Zren [ Fri Jan 20, 2012 5:52 pm ] |
Post subject: | RE:Mouse wheel |
There's nothing in the Mouse module, and the GUI module doesn't use it, so nope. |
Author: | Alex C. [ Fri Jan 20, 2012 6:05 pm ] |
Post subject: | RE:Mouse wheel |
actually, someone who made forces (windsurfer) incorporated the mouse wheel (as well as the right button) into their game. im not sure how but it's possible (and the source code for forces is out there) |
Author: | Raknarg [ Fri Jan 20, 2012 6:51 pm ] |
Post subject: | RE:Mouse wheel |
Yeah, theres probs a way to do it.. I know for a fact that someone made a module to use a joypad, so it has o be possible |
Author: | Alex C. [ Fri Jan 20, 2012 7:42 pm ] |
Post subject: | RE:Mouse wheel |
also, do you mean scrolling or clicking with the wheel? |
Author: | Raknarg [ Fri Jan 20, 2012 7:49 pm ] |
Post subject: | RE:Mouse wheel |
scrolling, like my first post said |
Author: | Alex C. [ Fri Jan 20, 2012 7:49 pm ] |
Post subject: | RE:Mouse wheel |
by the way, "Retro Shooter" might have mouse scrolling in it's code somewhere... http://compsci.ca/v3/viewtopic.php?t=21371 |
Author: | copthesaint [ Sat Jan 21, 2012 10:06 am ] | ||
Post subject: | Re: Mouse wheel | ||
Zren wrote: There's nothing in the Mouse module, and the GUI module doesn't use it, so nope. You know is your heart that you should have searched for it ![]() |
Author: | Alex C. [ Sat Jan 21, 2012 2:31 pm ] |
Post subject: | RE:Mouse wheel |
huh, that's actually pretty useful! ![]() |
Author: | Dreadnought [ Sat Jan 21, 2012 2:37 pm ] |
Post subject: | Re: Mouse wheel |
Well, actually the functionality is bugged. You can't detect more than one button click on the mouse at a time. See this thread. Unfortunately, Racknarg is looking for a way to detect scrolling not clicking. Zren is correct Turing does not provide a way of detecting mouse wheel scrolling. |