uxebu / bonsai

BonsaiJS is a graphics library and renderer
http://bonsaijs.org
Other
1.96k stars 188 forks source link

multi-touch on desktop #47

Open pvdz opened 12 years ago

pvdz commented 12 years ago

It might be an interesting approach to allow to mimic multi touch by holding modifier keys. It wouldn't be the same, of course, but it would at least be something... Whether that'd be configurable by the user, or hardcoded by bonsai, is another question.

padolsey commented 12 years ago

I'm not sure what you mean. How can multi-touch be mimicked by the user using keys? They still only have one pointer..

pvdz commented 12 years ago

The code will interpret holding the shift key the same as "oh hey, he's moving his second finger right now! while holding his first finger completely idle! impressive!".

padolsey commented 12 years ago

And where is the fictional second finger placed on the screen? At {0,0} ?

pvdz commented 12 years ago

Where it was when you started pressing the modifier. And no, that's not ideal. But none of it is.