I also have the P3000. Fun joystick except one of my batteries died. I use qstick/kbstick as described http://www.ditch.org/kbstick/ 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.
Here is my qstick:[EMAIL PROTECTED] bin]# cat /home/mythtv/.kde/Autostart/qstick#!/bin/sh# This shell script part of the QStick package, which uses the KBStick# program to translate joystick messages into keyboard messages which
# are sent to an X server, to the end of adding joystick support to# keyboard-and-mouse or keyboard only games.## KBStick is released under the GNU Public License, please see the# source code, Makefile and README file for more information.
# Assign X KeyCodes to shell variables. This is small number of the# X keyboard KeyCodes (corresponding to the keypad keys).##KP_Up=80#KP_Down=88#KP_Left=83#KP_Right=85KP_Up=98KP_Down=104
KP_Left=100KP_Right=102KP_Home=79KP_End=87KP_Begin=84KP_Prior=81KP_Next=89KP_Divide=112KP_Multiply=63KP_Subtract=82KP_Add=86KP_Insert=90KP_Delete=91KP_Enter=108Enter=36
# GWB AdditionsKP_Escape=9KP_0=19KP_1=10KP_2=11KP_3=12KP_4=13KP_5=14KP_6=15KP_7=16KP_8=17KP_9=18KP_I=31KP_P=33KP_S=39KP_M=58KP_PGUP=99KP_PGDN=105
# Assign KeyCodes to the joystick axes.# Axes 0 and 1 should be the x (horizontal) and y (vertical) axes of the# stick itself. Axes beyond these will correspond to rudder, throttle, etc.# controls.
# KBStick supports up to 6 axes, though altering the source code# to support more would be a trivial exercise.## *If you un-comment any of these be sure to un-comment the exports below.*#KBS_Axis_0_Plus=$KP_Right
KBS_Axis_1_Plus=$KP_Down#KBS_Axis_2_Plus=#KBS_Axis_3_Plus=#KBS_Axis_4_Plus=#KBS_Axis_5_Plus=KBS_Axis_0_Minus=$KP_LeftKBS_Axis_1_Minus=$KP_Up#KBS_Axis_2_Minus=#KBS_Axis_3_Minus=#KBS_Axis_4_Minus=
#KBS_Axis_5_Minus=# Assign KeyCodes to the joystick buttons.# Location and order of buttons/button number will vary from joystick to# joystick. Choosing the KeyCodes of unused keyboard keys to assign to
# joystick buttons makes moot the matter of which button sends which KeyCode# since one can run QStick and _then_ run and configure the games you wish# to play, rather than configuring the games first then trying to match
# button messages to your game configuration.# KBStick supports up to 12 joystick buttons, but once again altering the# source code to allow more would be a minor task.##KBS_Button_0=$KP_Home#KBS_Button_1=$KP_End
#KBS_Button_2=$KP_Begin#KBS_Button_3=$KP_Prior#KBS_Button_4=$KP_Next#KBS_Button_5=$KP_Divide#KBS_Button_6=$KP_Multiply#KBS_Button_7=$KP_Subtract#KBS_Button_8=$KP_Escape#KBS_Button_9=$KP_Insert
#KBS_Button_10=$KP_Delete#KBS_Button_11=$KP_EnterKBS_Button_0=$KP_IKBS_Button_1=$KP_PGUPKBS_Button_2=$KP_MKBS_Button_3=$KP_PGDNKBS_Button_4=$KP_HomeKBS_Button_5=$KP_EndKBS_Button_6=$KP_Escape
KBS_Button_7=$EnterKBS_Button_8=$KP_EscapeKBS_Button_9=$KP_EnterKBS_Button_10=$KP_PKBS_Button_11=$KP_Escape# Assign a quit button.# Setting the environment variable KBS_Quit_Button makes the assigned button
# (actually any button that sends the assigned KeyCode) cause the KBStick program# to exit after 3 consecutive quit button presses. Any other button press resets# the quit count to 0, but it would probably be good to choose a seldom
# used button to be the quit button lest in the fever of a Deathmatch you# turn off your joystick support. B)# Though KBStick issues a warning if you don't you need not assign a quit# key at all.##GWBKBS_Quit_Button=$KBS_Button_7
# Assign a Dead Zone around the center all your joystick axes.# This is really better done with a calibrator like jscal from the# Linux Joystick Driver distribution.##export KBS_Dead_Zone=500
# Export the shell variables to the environment...#export KBS_Axis_0_Plus KBS_Axis_1_Plus#export KBS_Axis_2_Plus KBS_Axis_3_Plus#export KBS_Axis_4_Plus KBS_Axis_5_Plusexport KBS_Axis_0_Minus KBS_Axis_1_Minus
#export KBS_Axis_2_Minus KBS_Axis_3_Minus#export KBS_Axis_4_Minus KBS_Axis_5_Minusexport KBS_Button_0 KBS_Button_1 KBS_Button_2 KBS_Button_3export KBS_Button_4 KBS_Button_5 KBS_Button_6 KBS_Button_7
export KBS_Button_8 KBS_Button_9 KBS_Button_10 KBS_Button_11#export KBS_Quit_Button# ...And run KBStick in the background.# This command line assumes KBStick is in your path and that /dev/js0 is the# joystick that you are using.
#kbstick /dev/input/js0 The EndOn 1/8/06, CykoDuck <[EMAIL PROTECTED]> wrote:
I would like to use my Saitek P3000 to control the main menus of MythTV.Is this possibl