Xbox remote?
Xbox remote?
Have anyone successfully managed to get the Xbox remote to work in Linux and if so - how?
Works in Freevo
Well I don't know how to get the Xbox remote working with LIRC (if it's even possible), but it's no hassle getting it to work in Freevo (which was my primary goal anyway).
All you need to do is activate the joystick plugin in freevo_conf.py.
Like this: "plugin.activate('joy')" - without quotes
and then locate the section looking like or similar to this
JOY_DEV = 1
JOY_CMDS = {
'up' : 'UP',
'down' : 'DOWN',
'left' : 'LEFT',
'right' : 'RIGHT',
'button 1' : 'PLAY',
'button 2' : 'PAUSE',
'button 3' : 'STOP',
'button 4' : 'ENTER',
'button 6' : 'MENU',
'button 5' : 'EXIT',
}
The important line is the first "JOY_DEV = 1" - make sure it's set to 1
If you'd like you can fool around with the keymapping.
It worked for me, and now I don't need keyboard or Xpad to watch vids from freevo.
All you need to do is activate the joystick plugin in freevo_conf.py.
Like this: "plugin.activate('joy')" - without quotes
and then locate the section looking like or similar to this
JOY_DEV = 1
JOY_CMDS = {
'up' : 'UP',
'down' : 'DOWN',
'left' : 'LEFT',
'right' : 'RIGHT',
'button 1' : 'PLAY',
'button 2' : 'PAUSE',
'button 3' : 'STOP',
'button 4' : 'ENTER',
'button 6' : 'MENU',
'button 5' : 'EXIT',
}
The important line is the first "JOY_DEV = 1" - make sure it's set to 1
If you'd like you can fool around with the keymapping.
It worked for me, and now I don't need keyboard or Xpad to watch vids from freevo.
-
- Novice
- Posts: 25
- Joined: Mon Aug 25, 2003 3:41 am
Its in portage ... Its masked though so you'll have to do to install it.
ACCEPT_KEYWORDS="~x86" emerge freevo
Perhaps first try this, as freevo has alot of dependencies that will be installed as well
ACCEPT_KEYWORDS="~x86" emerge -p freevo
This is the info.
pro root # ACCEPT_KEYWORDS="~x86" emerge -s freevo
Searching...
[ Results for search key : freevo ]
[ Applications found : 1 ]
* media-tv/freevo
Latest version available: 1.3.4
Latest version installed: [ Not Installed ]
Size of downloaded files: 2,453 kB
Homepage: http://www.freevo.org/
Description: Digital video jukebox (PVR, DVR).
ACCEPT_KEYWORDS="~x86" emerge freevo
Perhaps first try this, as freevo has alot of dependencies that will be installed as well
ACCEPT_KEYWORDS="~x86" emerge -p freevo
This is the info.
pro root # ACCEPT_KEYWORDS="~x86" emerge -s freevo
Searching...
[ Results for search key : freevo ]
[ Applications found : 1 ]
* media-tv/freevo
Latest version available: 1.3.4
Latest version installed: [ Not Installed ]
Size of downloaded files: 2,453 kB
Homepage: http://www.freevo.org/
Description: Digital video jukebox (PVR, DVR).
Are you able to use all Buttons?
I'm only able to use the green ones in the middle ( the ones next to select ) They do work. For the others ( Number Keys ) i get:
and so on. The Play, FFW, and others don't even show the mesage.
Any help greatly appreciated.
I'm only able to use the green ones in the middle ( the ones next to select ) They do work. For the others ( Number Keys ) i get:
Code: Select all
send button event BUTTON arg=2
no event mapping for key 2 in context video
send button event BUTTON arg=2
no event mapping for key 2 in context menu
Any help greatly appreciated.