Thread (18 messages) 18 messages, 5 authors, 2010-01-04

Re: linux kernel HID problem with Saitek X52 Pro Flight System

From: Stefan Bader <hidden>
Date: 2009-12-15 13:17:38

Possibly related (same subject, not in this thread)

Jiri Kosina wrote:
On Mon, 14 Dec 2009, Dmitry Torokhov wrote:
quoted
quoted
This might be an overly naive approach (or call it thinking loudly)... 
It would probably break a lot of stuff when the JOYSTICK/TRIGGER block 
moved to the 0x210 region, but would it be a solution to have a block 
of additional joystick buttons there and check on assigning buttons to 
a joystick, whether it traverses over to GAMEPAD and in that case skip 
to the additional block?
That's what we have to do I guess... I wonder how many keycodes will we
need so we won't have to split the region again? Will they come up with
70 buttons next time?
Yup, I am not able to come up with anything more clever either.

I can do that easily ... any suggestions for button names? :)
#define BTN_TRIGGER_HAPPY01	0x210
...
#define BTN_TRIGGER_HAPPY40	0x238

:-P Assuming 40 additional buttons should be crazy enough (but I know
this has been said before about other things).

-Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help