I also have the P3000. Fun joystick except one of my batteries died. I use qstick/kbstick as described <a href="http://www.ditch.org/kbstick/">http://www.ditch.org/kbstick/</a> It turns the joystick moves into keyboard strokes, kind of like lirc. You configure what you want all the buttons to do. Mine are linked to up/down/home/end, etc. The downside is that unless you come up with a kill/restart mechanism, you need to convert xmame (or whatever you are using), to use those keybindings and NOT the joystick directly. You actually need to force joystick=0 or whatever or else xmame will croak. The below script lives in my /usr/local/bin/ and I link to it in Autostart to start on boot. I have heard of native joystick support in myth but do not knows its status.
<br><br>Here is my qstick:<br>[root@jules bin]# cat /home/mythtv/.kde/Autostart/qstick<br>#!/bin/sh<br># This shell script part of the QStick package, which uses the KBStick<br># program to translate joystick messages into keyboard messages which
<br># are sent to an X server, to the end of adding joystick support to<br># keyboard-and-mouse or keyboard only games.<br>#<br># KBStick is released under the GNU Public License, please see the<br># source code, Makefile and README file for more information.
<br><br># Assign X KeyCodes to shell variables. This is small number of the<br># X keyboard KeyCodes (corresponding to the keypad keys).<br>#<br>#KP_Up=80<br>#KP_Down=88<br>#KP_Left=83<br>#KP_Right=85<br>KP_Up=98<br>KP_Down=104
<br>KP_Left=100<br>KP_Right=102<br>KP_Home=79<br>KP_End=87<br>KP_Begin=84<br>KP_Prior=81<br>KP_Next=89<br>KP_Divide=112<br>KP_Multiply=63<br>KP_Subtract=82<br>KP_Add=86<br>KP_Insert=90<br>KP_Delete=91<br>KP_Enter=108<br>Enter=36
<br><br># GWB Additions<br>KP_Escape=9<br>KP_0=19<br>KP_1=10<br>KP_2=11<br>KP_3=12<br>KP_4=13<br>KP_5=14<br>KP_6=15<br>KP_7=16<br>KP_8=17<br>KP_9=18<br><br>KP_I=31<br>KP_P=33<br>KP_S=39<br>KP_M=58<br><br>KP_PGUP=99<br>KP_PGDN=105
<br><br># Assign KeyCodes to the joystick axes.<br># Axes 0 and 1 should be the x (horizontal) and y (vertical) axes of the<br># stick itself. Axes beyond these will correspond to rudder, throttle, etc.<br># controls.<br>
# KBStick supports up to 6 axes, though altering the source code<br># to support more would be a trivial exercise.<br>#<br># *If you un-comment any of these be sure to un-comment the exports below.*<br>#<br>KBS_Axis_0_Plus=$KP_Right
<br>KBS_Axis_1_Plus=$KP_Down<br>#KBS_Axis_2_Plus=<br>#KBS_Axis_3_Plus=<br>#KBS_Axis_4_Plus=<br>#KBS_Axis_5_Plus=<br>KBS_Axis_0_Minus=$KP_Left<br>KBS_Axis_1_Minus=$KP_Up<br>#KBS_Axis_2_Minus=<br>#KBS_Axis_3_Minus=<br>#KBS_Axis_4_Minus=
<br>#KBS_Axis_5_Minus=<br><br># Assign KeyCodes to the joystick buttons.<br># Location and order of buttons/button number will vary from joystick to<br># joystick. Choosing the KeyCodes of unused keyboard keys to assign to
<br># joystick buttons makes moot the matter of which button sends which KeyCode<br># since one can run QStick and _then_ run and configure the games you wish<br># to play, rather than configuring the games first then trying to match
<br># button messages to your game configuration.<br># KBStick supports up to 12 joystick buttons, but once again altering the<br># source code to allow more would be a minor task.<br>#<br>#KBS_Button_0=$KP_Home<br>#KBS_Button_1=$KP_End
<br>#KBS_Button_2=$KP_Begin<br>#KBS_Button_3=$KP_Prior<br>#KBS_Button_4=$KP_Next<br>#KBS_Button_5=$KP_Divide<br>#KBS_Button_6=$KP_Multiply<br>#KBS_Button_7=$KP_Subtract<br>#KBS_Button_8=$KP_Escape<br>#KBS_Button_9=$KP_Insert
<br>#KBS_Button_10=$KP_Delete<br>#KBS_Button_11=$KP_Enter<br><br>KBS_Button_0=$KP_I<br>KBS_Button_1=$KP_PGUP<br>KBS_Button_2=$KP_M<br>KBS_Button_3=$KP_PGDN<br>KBS_Button_4=$KP_Home<br>KBS_Button_5=$KP_End<br>KBS_Button_6=$KP_Escape
<br>KBS_Button_7=$Enter<br>KBS_Button_8=$KP_Escape<br>KBS_Button_9=$KP_Enter<br>KBS_Button_10=$KP_P<br>KBS_Button_11=$KP_Escape<br><br># Assign a quit button.<br># Setting the environment variable KBS_Quit_Button makes the assigned button
<br># (actually any button that sends the assigned KeyCode) cause the KBStick program<br># to exit after 3 consecutive quit button presses. Any other button press resets<br># the quit count to 0, but it would probably be good to choose a seldom
<br># used button to be the quit button lest in the fever of a Deathmatch you<br># turn off your joystick support. B)<br># Though KBStick issues a warning if you don't you need not assign a quit<br># key at all.<br>#<br>#GWBKBS_Quit_Button=$KBS_Button_7
<br><br><br># Assign a Dead Zone around the center all your joystick axes.<br># This is really better done with a calibrator like jscal from the<br># Linux Joystick Driver distribution.<br>#<br>#export KBS_Dead_Zone=500<br>
<br># Export the shell variables to the environment...<br>#<br>export KBS_Axis_0_Plus KBS_Axis_1_Plus<br>#export KBS_Axis_2_Plus KBS_Axis_3_Plus<br>#export KBS_Axis_4_Plus KBS_Axis_5_Plus<br>export KBS_Axis_0_Minus KBS_Axis_1_Minus
<br>#export KBS_Axis_2_Minus KBS_Axis_3_Minus<br>#export KBS_Axis_4_Minus KBS_Axis_5_Minus<br><br>export KBS_Button_0 KBS_Button_1 KBS_Button_2 KBS_Button_3<br>export KBS_Button_4 KBS_Button_5 KBS_Button_6 KBS_Button_7<br>
export KBS_Button_8 KBS_Button_9 KBS_Button_10 KBS_Button_11<br>#export KBS_Quit_Button<br><br># ...And run KBStick in the background.<br># This command line assumes KBStick is in your path and that /dev/js0 is the<br># joystick that you are using.
<br>#<br>kbstick /dev/input/js0 &<br><br># The End<br><br><br><div><span class="gmail_quote">On 1/8/06, <b class="gmail_sendername">CykoDuck</b> <<a href="mailto:cykoduck@gmail.com">cykoduck@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would like to use my Saitek P3000 to control the main menus of MythTV.<br><br>Is this possible?
<br><br>Thanks<br>-Nick<br>
<br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br><br></blockquote></div><br>