View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 26, 2006 1:33 pm 
Offline
Joined: Mon Apr 19, 2004 5:25 pm
Posts: 16
Hi all,
On my old fedora/myth box I had it set up so that I could control the frontend with my p3000 saitek joystick. Is that feature still avaliable with knoppmyth and could anyone give me a quick explination on how to set it up?

Thanks for your paitence with me,
C


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 26, 2006 3:39 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
How did you set it up with Fedora?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 30, 2006 8:42 pm 
Offline
Joined: Mon Apr 19, 2004 5:25 pm
Posts: 16
I just put a joystickmenurc file in my .myth/. folder and it worked with all of the frontend. It was really sweet actually.

If its the same on knoppmyth I couldn't find the .myth/. folder in any of the online directory trees. Could someone help a newb out?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 23, 2006 6:45 pm 
Offline
Joined: Tue Jun 14, 2005 6:34 am
Posts: 116
Location: Indiana
Since I don't have a remote for my frontend yet, I decided to get my joystick to work for menu navigation. I couldn't find a copy of the joystickmenurc.example file, so I created it based on the reference in the Gentoo-Wiki. http://gentoo-wiki.com/HOWTO_Setup_MythTV

As Root:
Code:
vi /home/mythtv/.mythtv/joystickmenurc

Code:
#
# Joystick menu config file
#  Place in ~/.mythtv/
#
#   Format:
#       devicename <devname>        Specify name of joystick device to use
#                                   (e.g. /dev/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                    Escape
button 1                    I
button 2                    P
button 3                    Enter

axis   0    -32767  -15000  Left
axis   0     15000   32767  Right
axis   1    -32767  -15000  Up
axis   1     15000   32767  Down

After I created the joystickmenurc file, I had to change the permissions for the joystick.
Code:
chmod 777 /dev/input/js0

A quit restart and I now have basic navigation using my joystick.:D

FYI, I'm using a Retrozone USB joystick adapter for my old Vectrex joystick. http://www.retrousb.com/ They sell USB adapters for all the old console joysticks. It worked without any configuration and shows up as:
Code:
"input: USB HID v1.00 Gamepad [SealieComputing RetroBoxVectrex] on usb-0000:00:10.0-1
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0."


Update: Added HowTo article to Wiki. It might need some additional input for other types of joysticks.
http://knoppmythwiki.org/index.php?page=JoystickMenuNavigationHowTo

_________________
Backend R5E50
P4 1.3 - 384MB, 250GB HD, HD5000AV, PVR150 non MCE
Frontend R5E50
EPIA M1000 - 512MB, 40GB HD, Streamzap
KnoppMyth Folding Team Stats


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 5:46 am 
Offline
Joined: Thu Aug 18, 2005 11:05 am
Posts: 5
run jstest --mode device. to find which port the device is located, press the buttons on the gamepad after running the command, if you have the right port you will see each buttom press on the screen.
try js0 - js3

jstest --normal /dev/js0

jstest --normal /dev/js1

and so on

change /home/mythtv/.mythtv/joystickmenurc
to match the device

devicename /dev/js0
button 2 Escape
button 0 I
button 3 P
button 1 Enter
axis 0 -32767 -15000 Left
axis 0 15000 32767 Right
axis 1 -32767 -15000 Up
axis 1 15000 32767 Down

good luck to all great mod thanks.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu