I'm trying to use a PS2 Guitar Hero II controller on PC/Linux. After trying out multiple Playstation-to-usb adapters, I've finally found one that does not cause any input lag.
However I've encountered a problem with detecting all buttons under linux, as discussed in the linux-input mailing list thread.
- All buttons are detected, but the D-pad (strum up/down) is incorrectly mapped to the same axis as the "Whammy bar". This is not game-breaking, but inconvenient.
Linux detects the controller as
ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller, having 13 buttons and 6 axes.
Some buttons cause no events in
The non-working buttons do cause HID-events, detected in
Now, I understand that this is a bug, and I should just wait for a fix to the driver. While the fix is processing, I'd like to find a workaround.
Could I easily write some udev rule that could map raw HID-events to input events?
Also, I've captured the USB handshake process using wireshark under windows, could that possibly help?