Hi Torsten,

On Sep 15, 2009, at 10:20 PM, Torsten Dreyer wrote:

>> 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.

Glad to hear that. I also agree on your assumption.
We can find a means of numbering the buttons on Linux.
or maybe you already know that.

I'll also keep testing this feature on both Linux and Mac using some devices 
that I have.
I'll let you know if I found any problems.

Best,

Tat

------------------------------------------------------------------------------
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

Reply via email to