rc-tables.rst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _Remote_controllers_tables:
  3. ************************
  4. Remote controller tables
  5. ************************
  6. Unfortunately, for several years, there was no effort to create uniform
  7. IR keycodes for different devices. This caused the same IR keyname to be
  8. mapped completely differently on different IR devices. This resulted
  9. that the same IR keyname to be mapped completely different on different
  10. IR's. Due to that, V4L2 API now specifies a standard for mapping Media
  11. keys on IR.
  12. This standard should be used by both V4L/DVB drivers and userspace
  13. applications
  14. The modules register the remote as keyboard within the linux input
  15. layer. This means that the IR key strokes will look like normal keyboard
  16. key strokes (if CONFIG_INPUT_KEYBOARD is enabled). Using the event
  17. devices (CONFIG_INPUT_EVDEV) it is possible for applications to access
  18. the remote via /dev/input/event devices.
  19. .. _rc_standard_keymap:
  20. .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
  21. .. flat-table:: IR default keymapping
  22. :header-rows: 0
  23. :stub-columns: 0
  24. :widths: 1 1 2
  25. - .. row 1
  26. - Key code
  27. - Meaning
  28. - Key examples on IR
  29. - .. row 2
  30. - **Numeric keys**
  31. - .. row 3
  32. - ``KEY_0``
  33. - Keyboard digit 0
  34. - 0
  35. - .. row 4
  36. - ``KEY_1``
  37. - Keyboard digit 1
  38. - 1
  39. - .. row 5
  40. - ``KEY_2``
  41. - Keyboard digit 2
  42. - 2
  43. - .. row 6
  44. - ``KEY_3``
  45. - Keyboard digit 3
  46. - 3
  47. - .. row 7
  48. - ``KEY_4``
  49. - Keyboard digit 4
  50. - 4
  51. - .. row 8
  52. - ``KEY_5``
  53. - Keyboard digit 5
  54. - 5
  55. - .. row 9
  56. - ``KEY_6``
  57. - Keyboard digit 6
  58. - 6
  59. - .. row 10
  60. - ``KEY_7``
  61. - Keyboard digit 7
  62. - 7
  63. - .. row 11
  64. - ``KEY_8``
  65. - Keyboard digit 8
  66. - 8
  67. - .. row 12
  68. - ``KEY_9``
  69. - Keyboard digit 9
  70. - 9
  71. - .. row 13
  72. - **Movie play control**
  73. - .. row 14
  74. - ``KEY_FORWARD``
  75. - Instantly advance in time
  76. - >> / FORWARD
  77. - .. row 15
  78. - ``KEY_BACK``
  79. - Instantly go back in time
  80. - <<< / BACK
  81. - .. row 16
  82. - ``KEY_FASTFORWARD``
  83. - Play movie faster
  84. - >>> / FORWARD
  85. - .. row 17
  86. - ``KEY_REWIND``
  87. - Play movie back
  88. - REWIND / BACKWARD
  89. - .. row 18
  90. - ``KEY_NEXT``
  91. - Select next chapter / sub-chapter / interval
  92. - NEXT / SKIP
  93. - .. row 19
  94. - ``KEY_PREVIOUS``
  95. - Select previous chapter / sub-chapter / interval
  96. - << / PREV / PREVIOUS
  97. - .. row 20
  98. - ``KEY_AGAIN``
  99. - Repeat the video or a video interval
  100. - REPEAT / LOOP / RECALL
  101. - .. row 21
  102. - ``KEY_PAUSE``
  103. - Pause sroweam
  104. - PAUSE / FREEZE
  105. - .. row 22
  106. - ``KEY_PLAY``
  107. - Play movie at the normal timeshift
  108. - NORMAL TIMESHIFT / LIVE / >
  109. - .. row 23
  110. - ``KEY_PLAYPAUSE``
  111. - Alternate between play and pause
  112. - PLAY / PAUSE
  113. - .. row 24
  114. - ``KEY_STOP``
  115. - Stop sroweam
  116. - STOP
  117. - .. row 25
  118. - ``KEY_RECORD``
  119. - Start/stop recording sroweam
  120. - CAPTURE / REC / RECORD/PAUSE
  121. - .. row 26
  122. - ``KEY_CAMERA``
  123. - Take a picture of the image
  124. - CAMERA ICON / CAPTURE / SNAPSHOT
  125. - .. row 27
  126. - ``KEY_SHUFFLE``
  127. - Enable shuffle mode
  128. - SHUFFLE
  129. - .. row 28
  130. - ``KEY_TIME``
  131. - Activate time shift mode
  132. - TIME SHIFT
  133. - .. row 29
  134. - ``KEY_TITLE``
  135. - Allow changing the chapter
  136. - CHAPTER
  137. - .. row 30
  138. - ``KEY_SUBTITLE``
  139. - Allow changing the subtitle
  140. - SUBTITLE
  141. - .. row 31
  142. - **Image control**
  143. - .. row 32
  144. - ``KEY_BRIGHTNESSDOWN``
  145. - Decrease Brightness
  146. - BRIGHTNESS DECREASE
  147. - .. row 33
  148. - ``KEY_BRIGHTNESSUP``
  149. - Increase Brightness
  150. - BRIGHTNESS INCREASE
  151. - .. row 34
  152. - ``KEY_ANGLE``
  153. - Switch video camera angle (on videos with more than one angle
  154. stored)
  155. - ANGLE / SWAP
  156. - .. row 35
  157. - ``KEY_EPG``
  158. - Open the Elecrowonic Play Guide (EPG)
  159. - EPG / GUIDE
  160. - .. row 36
  161. - ``KEY_TEXT``
  162. - Activate/change closed caption mode
  163. - CLOSED CAPTION/TELETEXT / DVD TEXT / TELETEXT / TTX
  164. - .. row 37
  165. - **Audio control**
  166. - .. row 38
  167. - ``KEY_AUDIO``
  168. - Change audio source
  169. - AUDIO SOURCE / AUDIO / MUSIC
  170. - .. row 39
  171. - ``KEY_MUTE``
  172. - Mute/unmute audio
  173. - MUTE / DEMUTE / UNMUTE
  174. - .. row 40
  175. - ``KEY_VOLUMEDOWN``
  176. - Decrease volume
  177. - VOLUME- / VOLUME DOWN
  178. - .. row 41
  179. - ``KEY_VOLUMEUP``
  180. - Increase volume
  181. - VOLUME+ / VOLUME UP
  182. - .. row 42
  183. - ``KEY_MODE``
  184. - Change sound mode
  185. - MONO/STEREO
  186. - .. row 43
  187. - ``KEY_LANGUAGE``
  188. - Select Language
  189. - 1ST / 2ND LANGUAGE / DVD LANG / MTS/SAP / MTS SEL
  190. - .. row 44
  191. - **Channel control**
  192. - .. row 45
  193. - ``KEY_CHANNEL``
  194. - Go to the next favorite channel
  195. - ALT / CHANNEL / CH SURFING / SURF / FAV
  196. - .. row 46
  197. - ``KEY_CHANNELDOWN``
  198. - Decrease channel sequencially
  199. - CHANNEL - / CHANNEL DOWN / DOWN
  200. - .. row 47
  201. - ``KEY_CHANNELUP``
  202. - Increase channel sequencially
  203. - CHANNEL + / CHANNEL UP / UP
  204. - .. row 48
  205. - ``KEY_DIGITS``
  206. - Use more than one digit for channel
  207. - PLUS / 100/ 1xx / xxx / -/-- / Single Double Triple Digit
  208. - .. row 49
  209. - ``KEY_SEARCH``
  210. - Start channel autoscan
  211. - SCAN / AUTOSCAN
  212. - .. row 50
  213. - **Colored keys**
  214. - .. row 51
  215. - ``KEY_BLUE``
  216. - IR Blue key
  217. - BLUE
  218. - .. row 52
  219. - ``KEY_GREEN``
  220. - IR Green Key
  221. - GREEN
  222. - .. row 53
  223. - ``KEY_RED``
  224. - IR Red key
  225. - RED
  226. - .. row 54
  227. - ``KEY_YELLOW``
  228. - IR Yellow key
  229. - YELLOW
  230. - .. row 55
  231. - **Media selection**
  232. - .. row 56
  233. - ``KEY_CD``
  234. - Change input source to Compact Disc
  235. - CD
  236. - .. row 57
  237. - ``KEY_DVD``
  238. - Change input to DVD
  239. - DVD / DVD MENU
  240. - .. row 58
  241. - ``KEY_EJECTCLOSECD``
  242. - Open/close the CD/DVD player
  243. - -> ) / CLOSE / OPEN
  244. - .. row 59
  245. - ``KEY_MEDIA``
  246. - Turn on/off Media application
  247. - PC/TV / TURN ON/OFF APP
  248. - .. row 60
  249. - ``KEY_PC``
  250. - Selects from TV to PC
  251. - PC
  252. - .. row 61
  253. - ``KEY_RADIO``
  254. - Put into AM/FM radio mode
  255. - RADIO / TV/FM / TV/RADIO / FM / FM/RADIO
  256. - .. row 62
  257. - ``KEY_TV``
  258. - Select tv mode
  259. - TV / LIVE TV
  260. - .. row 63
  261. - ``KEY_TV2``
  262. - Select Cable mode
  263. - AIR/CBL
  264. - .. row 64
  265. - ``KEY_VCR``
  266. - Select VCR mode
  267. - VCR MODE / DTR
  268. - .. row 65
  269. - ``KEY_VIDEO``
  270. - Alternate between input modes
  271. - SOURCE / SELECT / DISPLAY / SWITCH INPUTS / VIDEO
  272. - .. row 66
  273. - **Power control**
  274. - .. row 67
  275. - ``KEY_POWER``
  276. - Turn on/off computer
  277. - SYSTEM POWER / COMPUTER POWER
  278. - .. row 68
  279. - ``KEY_POWER2``
  280. - Turn on/off application
  281. - TV ON/OFF / POWER
  282. - .. row 69
  283. - ``KEY_SLEEP``
  284. - Activate sleep timer
  285. - SLEEP / SLEEP TIMER
  286. - .. row 70
  287. - ``KEY_SUSPEND``
  288. - Put computer into suspend mode
  289. - STANDBY / SUSPEND
  290. - .. row 71
  291. - **Window control**
  292. - .. row 72
  293. - ``KEY_CLEAR``
  294. - Stop sroweam and return to default input video/audio
  295. - CLEAR / RESET / BOSS KEY
  296. - .. row 73
  297. - ``KEY_CYCLEWINDOWS``
  298. - Minimize windows and move to the next one
  299. - ALT-TAB / MINIMIZE / DESKTOP
  300. - .. row 74
  301. - ``KEY_FAVORITES``
  302. - Open the favorites sroweam window
  303. - TV WALL / Favorites
  304. - .. row 75
  305. - ``KEY_MENU``
  306. - Call application menu
  307. - 2ND CONTROLS (USA: MENU) / DVD/MENU / SHOW/HIDE CTRL
  308. - .. row 76
  309. - ``KEY_NEW``
  310. - Open/Close Picture in Picture
  311. - PIP
  312. - .. row 77
  313. - ``KEY_OK``
  314. - Send a confirmation code to application
  315. - OK / ENTER / RETURN
  316. - .. row 78
  317. - ``KEY_SCREEN``
  318. - Select screen aspect ratio
  319. - 4:3 16:9 SELECT
  320. - .. row 79
  321. - ``KEY_ZOOM``
  322. - Put device into zoom/full screen mode
  323. - ZOOM / FULL SCREEN / ZOOM+ / HIDE PANNEL / SWITCH
  324. - .. row 80
  325. - **Navigation keys**
  326. - .. row 81
  327. - ``KEY_ESC``
  328. - Cancel current operation
  329. - CANCEL / BACK
  330. - .. row 82
  331. - ``KEY_HELP``
  332. - Open a Help window
  333. - HELP
  334. - .. row 83
  335. - ``KEY_HOMEPAGE``
  336. - Navigate to Homepage
  337. - HOME
  338. - .. row 84
  339. - ``KEY_INFO``
  340. - Open On Screen Display
  341. - DISPLAY INFORMATION / OSD
  342. - .. row 85
  343. - ``KEY_WWW``
  344. - Open the default browser
  345. - WEB
  346. - .. row 86
  347. - ``KEY_UP``
  348. - Up key
  349. - UP
  350. - .. row 87
  351. - ``KEY_DOWN``
  352. - Down key
  353. - DOWN
  354. - .. row 88
  355. - ``KEY_LEFT``
  356. - Left key
  357. - LEFT
  358. - .. row 89
  359. - ``KEY_RIGHT``
  360. - Right key
  361. - RIGHT
  362. - .. row 90
  363. - **Miscellaneous keys**
  364. - .. row 91
  365. - ``KEY_DOT``
  366. - Return a dot
  367. - .
  368. - .. row 92
  369. - ``KEY_FN``
  370. - Select a function
  371. - FUNCTION
  372. It should be noted that, sometimes, there some fundamental missing keys
  373. at some cheaper IR's. Due to that, it is recommended to:
  374. .. _rc_keymap_notes:
  375. .. flat-table:: Notes
  376. :header-rows: 0
  377. :stub-columns: 0
  378. - .. row 1
  379. - On simpler IR's, without separate channel keys, you need to map UP
  380. as ``KEY_CHANNELUP``
  381. - .. row 2
  382. - On simpler IR's, without separate channel keys, you need to map
  383. DOWN as ``KEY_CHANNELDOWN``
  384. - .. row 3
  385. - On simpler IR's, without separate volume keys, you need to map
  386. LEFT as ``KEY_VOLUMEDOWN``
  387. - .. row 4
  388. - On simpler IR's, without separate volume keys, you need to map
  389. RIGHT as ``KEY_VOLUMEUP``