Keymap for a grey hauppauge remote with 45 buttons
This keymap can be loaded with input-kbd for use with the kernel event interface (see Linux_event_interface and IVTVEventInterface).
0x003d = KEY_POWER 0x003b = KEY_GOTO 0x001C = KEY_TV 0x0018 = KEY_VIDEO 0x0019 = KEY_AUDIO 0x001A = KEY_SCREEN #(Pictures) 0x001B = KEY_EPG 0x0000 = KEY_0 0x0001 = KEY_1 0x0002 = KEY_2 0x0003 = KEY_3 0x0004 = KEY_4 0x0005 = KEY_5 0x0006 = KEY_6 0x0007 = KEY_7 0x0008 = KEY_8 0x0009 = KEY_9 0x001f = KEY_ESC 0x000d = KEY_MENU 0x0014 = KEY_UP 0x0015 = KEY_DOWN 0x0016 = KEY_LEFT 0x0017 = KEY_RIGHT 0x000b = KEY_RED 0x002e = KEY_GREEN 0x0038 = KEY_YELLOW 0x0029 = KEY_BLUE 0x0010 = KEY_VOLUMEUP 0x0011 = KEY_VOLUMEDOWN 0x0020 = KEY_CHANNELUP 0x0021 = KEY_CHANNELDOWN 0x0025 = KEY_ENTER 0x000f = 113 # MUTE 0x000c = KEY_RADIO 0x0012 = KEY_PREVIOUS 0x0032 = KEY_REWIND 0x0035 = KEY_PLAY 0x0034 = KEY_FASTFORWARD 0x0037 = KEY_RECORD 0x0036 = KEY_STOP 0x0030 = KEY_PAUSE 0x001e = KEY_NEXTSONG 0x0024 = KEY_PREVIOUSSONG 0x000A = KEY_TEXT 0x000E = KEY_SUBTITLE
Reasonable mapping of this events to freevo's internal events.
EVENTMAP['KEY_POWER'] = 'POWER' EVENTMAP['KEY_GOTO']='DISPLAY' EVENTMAP['KEY_TV'] = 'TV' EVENTMAP['KEY_VIDEO'] = 'VIDEO' EVENTMAP['KEY_AUDIO'] = 'AUDIO' EVENTMAP['KEY_SCREEN'] = 'PICTURES' EVENTMAP['KEY_EPG'] = 'GUIDE' EVENTMAP['KEY_ESC'] = 'EXIT' EVENTMAP['KEY_MENU'] = 'ENTER' EVENTMAP['KEY_ENTER'] = 'SELECT' EVENTMAP['KEY_RED'] = 'RED' EVENTMAP['KEY_GREEN'] = 'GREEN' EVENTMAP['KEY_YELLOW'] = 'YELLOW' EVENTMAP['KEY_BLUE'] = 'BLUE' EVENTMAP['KEY_REWIND']='REW' EVENTMAP['KEY_FASTFORWARD'] ='FFWD' EVENTMAP['KEY_RECORD']='REC' EVENTMAP['KEY_NEXTSONG']='NEXT' EVENTMAP['KEY_PREVIOUSSONG']='PREV' EVENTMAP['KEY_LANGUAGE']='LANG' EVENTMAP['KEY_SUBTITLE']='SUBTITLE'