> I guess it is safer to use button-0, button-1, ... button-N for button > event names so the names stays the same on different OSs. maybe we need to > pull out some info using ioctl to find the first hid event code for a given > device (e.g. 228 for joystick). I think your are right, simply numbering the buttons is probably the better approach. I assume, that button numbers are consitent across OSes, because they are defined in the HID report descriptor.
Torsten ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel