Freevo

- Index
- KeyMaps

# KeyMaps

This is a list of the important freevo commands and their mapping to keys on a keyboard:

Key | Freevo Command |  | Keys | Freevo Command |  | Key | Freevo Command |  | Key | Freevo Command
h | HELP |  | RIGHT | RIGHT |  | c | CH+ |  | r | REW
z | Toggle Fullscreen |  | SPACE | SELECT |  | v | CH- |  | p | PLAY
F1 | SLEEP |  | RETURN | SELECT |  | d | DISPLAY |  | f | FFWD
HOME | MENU |  | F2 | POWER |  | e | ENTER |  | u | PAUSE
g | GUIDE |  | F3 | MUTE |  | _ | PREV_CH |  | s | SLEEP
ESCAPE | EXIT |  | n | VOL- |  | o | PIP_ONOFF |  | F6 | REC
UP | UP |  | KEYP- | VOL- |  | w | PIP_SWAP |  | PERIOD | EJECT
DOWN | DOWN |  | m | VOL+ |  | i | PIP_MOVE |  | F10 | Screenshot
LEFT | LEFT |  | KEYP+ | VOL + |  | F4 | TV_VCR |  | L | Subtitle

You can get this list by pressing h on your keyboard.

If you want to use a remote to controll freevo, you should map your remote keys to that commands. (see lirc)

The mapping of these commands to real functions is done in freevo/src/event.py. But you can overwrite those mappings in your local_conf.py.

For example if you rather like to use UP and DOWN for channel changing than CH+ and CH-, you can put the following there:

    EVENTS['tv']['UP']=Event('TV_CHANNEL_UP')
    EVENTS['tv']['DOWN']=Event('TV_CHANNEL_DOWN')

The first argument gives the type of menu in which your mapping should become effectiv (here 'tv'), the second argument gives the command key (UP/DOWN) you want to use and the last one gives the action (TV_CHANNEL_UP or TV_CHANNEL_DOWN)

If you fiddle with these settings, you always should check that the command key you want to use is not already used by something else.

If you have a USB remote like the ATIUSBRemote , you can adjust the keymap to work a bit better with it. In your local_conf.py you add:

    KEYMAP[key.K_PAGEUP]   = 'UP'
    KEYMAP[key.K_PAGEDOWN] = 'DOWN'
    KEYMAP[key.K_UP] = 'RIGHT'
    KEYMAP[key.K_DOWN] = 'LEFT'

The full list of keys is here http://www.pygame.org/docs/ref/pygame_constants.html#keyboard

last edited 2005-01-05 11:40:31 by JohnMolohan
current version: http://freevo.sourceforge.net/cgi-bin/doc/KeyMaps