About Store Forum Documentation Contact

Post Reply 
Author Message
fatcoder Offline

Post: #1
I like the concept of the new MouseTouch. I'm just wondering if we might see some more of the Mouse functions show up in MouseTouch. Like wheel() for example (as many touch devices can simulate wheel scrolling, with two fingers for example). Also, the eat() functions would be good so that mouse buttons and touches can be eaten.

In fact, is it possible to eventually merge Mouse and MouseTouch completely, so we just have a single input interface regardless of the device used? Isn't "touch" really just treated like a "mouse" input in many ways? Maybe I don't know enough about how it works, so this could be a bad idea... just a thought. smile
05-27-2012 10:14 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline

Post: #2
RE: MouseTouch

I will not merge it because they are 2 different things.

If you scroll with 2 fingers, then there are 2 separate touches, and any wheel scrolling detection should be done manually. (different case is TouchPad where scrolling with 2 fingers is done by the OS)

if you want to access mouse stuff from MouseTouch then do this:
if(!MT.touch(i))this is a mouse and you can use Ms.
05-27-2012 12:49 PM
Find all posts by this user Quote this message in a reply
Post Reply