I'm writing HID mouse support for a game, and everything's working
fine, except for one little thing:
When the mouse has moved, and is held still, it never resets the
delta movement to zero, but it keeps on reporting the last delta
movement. As it is a (rather odd, I might add) requirement that I
don't use any kind of event queue, it feels as if this is
impossible? Or is there a way to detect a non-movement of the mouse?
Do you poll or use an element callout handler?
If you use element callout handler you should be called only when
some data is really available (button pressed, mouse moving, wheel
scrolling etc...). I tried that recently and it seemed to work.
-Tomas
--
Ing. Tomas Zahradnicky, Jr.
Production Manager, 24U Software
Associate Member, Filemaker Solutions Alliance
mailto:email@hiddenhttp://www.24uSoftware.com
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.