1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/media/uapi/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
10 .. _Remote_controllers_tables:
12 ************************
13 Remote controller tables
14 ************************
16 Unfortunately, for several years, there was no effort to create uniform
17 IR keycodes for different devices. This caused the same IR keyname to be
18 mapped completely differently on different IR devices. This resulted
19 that the same IR keyname to be mapped completely different on different
20 IR's. Due to that, V4L2 API now specifies a standard for mapping Media
23 This standard should be used by both V4L/DVB drivers and userspace
26 The modules register the remote as keyboard within the linux input
27 layer. This means that the IR key strokes will look like normal keyboard
28 key strokes (if CONFIG_INPUT_KEYBOARD is enabled). Using the event
29 devices (CONFIG_INPUT_EVDEV) it is possible for applications to access
30 the remote via /dev/input/event devices.
33 .. _rc_standard_keymap:
35 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
37 .. flat-table:: IR default keymapping
137 - **Movie play control**
143 - Instantly advance in time
151 - Instantly go back in time
157 - ``KEY_FASTFORWARD``
175 - Select next chapter / sub-chapter / interval
183 - Select previous chapter / sub-chapter / interval
185 - << / PREV / PREVIOUS
191 - Repeat the video or a video interval
193 - REPEAT / LOOP / RECALL
207 - Play movie at the normal timeshift
209 - NORMAL TIMESHIFT / LIVE / >
215 - Alternate between play and pause
231 - Start/stop recording stream
233 - CAPTURE / REC / RECORD/PAUSE
239 - Take a picture of the image
241 - CAMERA ICON / CAPTURE / SNAPSHOT
247 - Enable shuffle mode
255 - Activate time shift mode
263 - Allow changing the chapter
271 - Allow changing the subtitle
281 - ``KEY_BRIGHTNESSDOWN``
283 - Decrease Brightness
285 - BRIGHTNESS DECREASE
289 - ``KEY_BRIGHTNESSUP``
291 - Increase Brightness
293 - BRIGHTNESS INCREASE
299 - Switch video camera angle (on videos with more than one angle
308 - Open the Elecrowonic Play Guide (EPG)
316 - Activate/change closed caption mode
318 - CLOSED CAPTION/TELETEXT / DVD TEXT / TELETEXT / TTX
328 - Change audio source
330 - AUDIO SOURCE / AUDIO / MUSIC
338 - MUTE / DEMUTE / UNMUTE
346 - VOLUME- / VOLUME DOWN
354 - VOLUME+ / VOLUME UP
370 - 1ST / 2ND LANGUAGE / DVD LANG / MTS/SAP / MTS SEL
374 - **Channel control**
380 - Go to the next favorite channel
382 - ALT / CHANNEL / CH SURFING / SURF / FAV
386 - ``KEY_CHANNELDOWN``
388 - Decrease channel sequentially
390 - CHANNEL - / CHANNEL DOWN / DOWN
396 - Increase channel sequentially
398 - CHANNEL + / CHANNEL UP / UP
404 - Use more than one digit for channel
406 - PLUS / 100/ 1xx / xxx / -/-- / Single Double Triple Digit
412 - Start channel autoscan
454 - **Media selection**
460 - Change input source to Compact Disc
468 - Change input to DVD
474 - ``KEY_EJECTCLOSECD``
476 - Open/close the CD/DVD player
478 - -> ) / CLOSE / OPEN
484 - Turn on/off Media application
486 - PC/TV / TURN ON/OFF APP
492 - Selects from TV to PC
500 - Put into AM/FM radio mode
502 - RADIO / TV/FM / TV/RADIO / FM / FM/RADIO
532 - Alternate between input modes
534 - SOURCE / SELECT / DISPLAY / SWITCH INPUTS / VIDEO
544 - Turn on/off computer
546 - SYSTEM POWER / COMPUTER POWER
552 - Turn on/off application
560 - Activate sleep timer
562 - SLEEP / SLEEP TIMER
568 - Put computer into suspend mode
580 - Stop stream and return to default input video/audio
582 - CLEAR / RESET / BOSS KEY
586 - ``KEY_CYCLEWINDOWS``
588 - Minimize windows and move to the next one
590 - ALT-TAB / MINIMIZE / DESKTOP
596 - Open the favorites stream window
598 - TV WALL / Favorites
604 - Call application menu
606 - 2ND CONTROLS (USA: MENU) / DVD/MENU / SHOW/HIDE CTRL
612 - Open/Close Picture in Picture
620 - Send a confirmation code to application
622 - OK / ENTER / RETURN
626 - ``KEY_ASPECT_RATIO``
628 - Select screen aspect ratio
634 - ``KEY_FULL_SCREEN``
636 - Put device into zoom/full screen mode
638 - ZOOM / FULL SCREEN / ZOOM+ / HIDE PANNEL / SWITCH
642 - **Navigation keys**
648 - Cancel current operation
664 - Navigate to Homepage
672 - Open On Screen Display
674 - DISPLAY INFORMATION / OSD
680 - Open the default browser
718 - **Miscellaneous keys**
737 It should be noted that, sometimes, there some fundamental missing keys
738 at some cheaper IR's. Due to that, it is recommended to:
743 .. flat-table:: Notes
750 - On simpler IR's, without separate channel keys, you need to map UP
755 - On simpler IR's, without separate channel keys, you need to map
756 DOWN as ``KEY_CHANNELDOWN``
760 - On simpler IR's, without separate volume keys, you need to map
761 LEFT as ``KEY_VOLUMEDOWN``
765 - On simpler IR's, without separate volume keys, you need to map
766 RIGHT as ``KEY_VOLUMEUP``