Fixing the buttons is pretty easy. Use xev to get the keycodes and then create an .Xmodmap file.
For now, I've got this:
keycode 198 = Up
keycode 204 = Down
keycode 200 = Left
keycode 201 = Right
keycode 199 = Prior
keycode 205 = Next
Here are the keycodes (so you don't have to use xev):
Stick:
Press = 36
Up = 198
Down = 204
Left = 200
Right = 201
Buttons:
Back = 9
Prev = 199
For = 205
The 'home' button isn't assigned a keycode, but that should be fixable.
|