The WelDuh!

giving you the Well Duh! on life

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:
# devicename  Specify 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.



Welcome Home

Sunday, April 6th, 2008

The new apartment is ready and I have even started hanging things on the wall. Now that I have finished moving and am well adjusted now I can continue back into my regular routine.