Freevo

- Index
- Joystick

# GeneralPlugins/Joystick

## Joystick

This is a plugin to control freevo with a joystick. Make sure that your joystick is working. (driver compiled in kernel or as module and module loaded).

Freevo needs to know which joystick device to use. /dev/input/js0 or /dev/js0 = device 1, add the following in your local_conf.py :

    JOY_DEV=1

You can link different events to the joystick actions example, also to add in local_conf.py :

    JOY_CMDS={ 'up' : 'UP',
       'down' : 'DOWN',
       'left' : 'LEFT',
       'button 1': 'PLAY',
       'button 2': 'STOP',
       'button 3': 'PAUSE',
       'button 4': 'ENTER'}

For a listing of all available commands and how they are mapped within the different events (Playing Audio, Video, TV, etc...) look at freevo/src/event.py .

To activate the plugin, add this in your local_conf.py :

    plugin.activate("joy")

last edited 2005-01-10 18:22:36 by BHeremans
current version: http://freevo.sourceforge.net/cgi-bin/doc/GeneralPlugins/Joystick