mythTV Logitech Dual Action joystick config
Thursday, April 24th, 2008
After searching around I couldn’t find any good examples of a joystickmenurc that supported my Logitech Dual Action joystick for mythTV. So after a little bit of fooling around I came up with this:
# joystick menu config file # Place in ~/.mythtv/ # # Format: # devicenameSpecify name of joystick device to use # (e.g. /dev/input/js0) # button num keystring Send 'keystring' when button 'num' is released # chord cnum bnum keystring If button cnum is down, and button 'bnum' # is released, send keystring # axis num from to keystring If axis num goes into the range of from-to # send keystring devicename /dev/input/js0 button 0 Esc button 1 Enter button 2 P button 3 | button 4 < button 5 > button 6 [ button 7 ] button 8 M button 9 I button 10 T button 11 W #Right axis 4 -1 0 Right #Left axis 4 0 1 Left #Down axis 5 -1 0 Down #Up axis 5 0 1 Up
Next I plan on switching up somethings so I can use the analog sticks.







No comments yet.
RSS feed for comments on this post. TrackBack URI