KnoppMyth downloads | documentation | HowTo | reporting bugs | links | Recent Changes  
search for in the  

What is a Wiki?

See WikiWikiWeb

If you don't know how to use a wiki see the WikiHowto

ErfurtWiki is maintained by a loosely knit group of developers.

Quick Links

Related sites

Contact

Please submit website bugs in the BugReports

Contribute!

Please file any wishes on UserSuggestions.

Hosted By

If you have a frontend system without a remote it's possible to use a joystick to navigate the MythTV menu system.

First, get the joystick working and test it with jstest (launch it with something like "jstest /dev/input/js0" or "jstest --event /dev/input/js0" for a different output). You should see the axis changing values when you move the stick and buttons reporting on and off accordingly. Make a note of the /dev/input/js# for your joystick.

Second, create the joystickmenurc file in /home/mythtv/.mythtv/

As Root:

vi /home/mythtv/.mythtv/joystickmenurc

Example joystickmenurc file. (This default file is included with release R5F27)

#
# 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

Note: be sure to not use tabs or comments (#) anywhere in a valid line. The parser will discard the entire line.

Third, change the permissions of the joystick so that mythtv user can access the device.

chmod 777 /dev/input/js0

Then restart the system (or simply quit/restart MythTV) and you should now be able to use the joystick to navigate the Myth menus as well as fast forward and rewind using the joystick left and right.

If you would like to know how to control Mplayer using a joystick, see JoystickMplayerNavigationHowTo.

Note: Used KnoppMyth R5A26 with a RetroZone USB Vectrex joystick adapter. http://www.retrousb.com/ The joystick was detected as a USB-HID device and no configuration was needed.

Note 2: I used those instructions on KnoppMyth R5F27. The joystickmenurc file is already there, but apart from that, everything else was still applicable. I used a cheap EMS Dual Shooter PS2->USB adapter. Was detected correctly and after a looking up the keys in jstest, I was able to map my controller correctly.

--Yop83



UpdatedPages

· HowTo last changed on Thu Sep 2 01:33:37 2010
· LinuxTips last changed on Wed Sep 1 08:31:37 2010
· RepairingMythConvergDB last changed on Wed Sep 1 01:56:32 2010
· KnoppMythWiki last changed on Sun Aug 29 14:22:57 2010
· Links last changed on Sat Aug 28 14:11:13 2010
· R5A12DvdRipping last changed on Fri Aug 27 22:24:09 2010
· KnoppMythInstall last changed on Thu Aug 26 02:30:11 2010
· HVR950HowTo last changed on Mon Aug 23 11:00:20 2010
· TinnyAudioPVR150 last changed on Mon Aug 23 01:14:01 2010
· MythVodkaHowTo last changed on Mon Aug 23 00:48:53 2010
· x11vncHowTo last changed on Tue Aug 17 08:20:17 2010
· PickingComponents last changed on Tue Aug 17 08:19:41 2010
· MediaMVP_LinuxHOWTO last changed on Tue Aug 17 08:17:10 2010
· webminhowto last changed on Tue Aug 17 08:11:10 2010
· MythTVBurn_Scripts_HowTo last changed on Mon Aug 16 15:44:19 2010
· TVOverScanHowto last changed on Wed Aug 4 04:12:50 2010
· EditThisPage last changed on Wed Aug 4 04:10:39 2010
· R5.5/R6.x Differences Table and Equivalent Commands last changed on Wed Aug 4 00:27:20 2010
· TroubleShooting last changed on Tue Aug 3 20:00:33 2010
· Media_Center_Edition_Remote_Control last changed on Tue Aug 3 08:19:13 2010
· kworld115HowTo last changed on Tue Aug 3 08:12:26 2010
· WhatRemoteYouUse last changed on Sun Aug 1 11:51:11 2010
· WhatCardYouUse last changed on Sun Aug 1 11:50:25 2010
· HardwareAcceleratedVideo last changed on Tue Jul 27 09:15:10 2010
· DisklessFrontend last changed on Tue Jul 27 09:13:29 2010
· CompileMythTVFromSVN last changed on Tue Jul 27 07:39:28 2010
sitemap |