3

I have an NVidia Shield Controller, that is detected by Ubuntu as a standard joystick. Unity seems to react to some of the special buttons of this controller such as Volume Up, Volume Down and more annoyingly a special button on the controller is mapped to XF86PowerOff.

I know that the buttons is mapped to the keycode 124 thanks to xinput.

$ xinput test 'NVIDIA Corporation NVIDIA Controller v01.03'
key press   124

I also know that the keycode 124 is mapped to XF86PowerOff thanks to:

$ xmodmap -pke | grep 124
keycode 124 = XF86PowerOff ...

I would like to disable this button but it doesn't seem to work using something like:

xmodmap -e "keycode 124 ="

I just want to use the joystick in a dedicated app, I don't need Unity to do anything special with it.

1 Answers1

0

Here is something that should work for you, just be sure to credit them if it works. (but send me a note or something!) remapping in newer versions

Scott Goodgame
  • 2,646
  • 16
  • 20