Blog series on XInput 2
Blog series on XInput 2
Posted Jun 19, 2009 10:06 UTC (Fri) by tialaramex (subscriber, #21167)In reply to: Blog series on XInput 2 by dgm
Parent article: Blog series on XInput 2
The _physical_ hardware for this abstraction could be just a touchscreen used with a virtual keyboard. Abstractions are always a bit leaky, but as much as possible the developer shouldn't need to know that I prefer a trackball, and an AT keyboard or if I have an experimental holographic touchscreen interface.
Multi-touch is probably NOT best approached as if the user had two (or three, or five...) mouses connected to USB ports. The same blog has a post about this. When I use two fingers to "squeeze" on a multi-touch pad, that's really not two separate events which just happen to be mediated through a single piece of hardware - it's clearly only one event, but emitting something more complicated than a single (x,y) location. This is nothing new - there have long existed devices which emit (x,y,z) with z pressure, and sometimes also a twist or an additional analogue input (trigger pressure).
