← Documents Documentation/userspace-api/media/rc/rc-tables.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API / Media / Remote Controller

Remote Controller 기본 keymap 표

V4L2 IR remote에서 사용하는 80개 Linux key code의 표준 의미와 remote label 예시를 기능군별로 정의합니다.

Source pathDocumentation/userspace-api/media/rc/rc-tables.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

rc-tables.rst:1-759

Driver와 userspace가 같은 IR button을 동일한 Linux input key code로 해석하도록 하는 기본 mapping 표입니다. 80개 key를 숫자, 재생, 영상, audio, channel, 색상, media source, power, window, navigation, 기타 기능으로 나누며, 전용 channel·volume key가 없는 간단한 remote의 방향 key fallback도 규정합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
2
3 .. _Remote_controllers_tables:
4
5 ************************
6 Remote controller tables
7 ************************
8
9 Unfortunately, for several years, there was no effort to create uniform
10 IR keycodes for different devices. This caused the same IR keyname to be
11 mapped completely differently on different IR devices. This resulted
12 that the same IR keyname to be mapped completely different on different
13 IR's. Due to that, V4L2 API now specifies a standard for mapping Media
14 keys on IR.
15
16 This standard should be used by both V4L/DVB drivers and userspace
17 applications
18
19 The modules register the remote as keyboard within the linux input
20 layer. This means that the IR key strokes will look like normal keyboard
21 key strokes (if CONFIG_INPUT_KEYBOARD is enabled). Using the event
22 devices (CONFIG_INPUT_EVDEV) it is possible for applications to access
23 the remote via /dev/input/event devices.
24
25
26 .. _rc_standard_keymap:
27
28 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
29
30 .. flat-table:: IR default keymapping
31 :header-rows: 0
32 :stub-columns: 0
33 :widths: 1 1 2
34
35
36 - .. row 1
37
38 - Key code
39
40 - Meaning
41
42 - Key examples on IR
43
44 - .. row 2
45
46 - **Numeric keys**
47
48 - .. row 3
49
50 - ``KEY_NUMERIC_0``
51
52 - Keyboard digit 0
53
54 - 0
55
56 - .. row 4
57
58 - ``KEY_NUMERIC_1``
59
60 - Keyboard digit 1
61
62 - 1
63
64 - .. row 5
65
66 - ``KEY_NUMERIC_2``
67
68 - Keyboard digit 2
69
70 - 2
71
72 - .. row 6
73
74 - ``KEY_NUMERIC_3``
75
76 - Keyboard digit 3
77
78 - 3
79
80 - .. row 7
81
82 - ``KEY_NUMERIC_4``
83
84 - Keyboard digit 4
85
86 - 4
87
88 - .. row 8
89
90 - ``KEY_NUMERIC_5``
91
92 - Keyboard digit 5
93
94 - 5
95
96 - .. row 9
97
98 - ``KEY_NUMERIC_6``
99
100 - Keyboard digit 6
101
102 - 6
103
104 - .. row 10
105
106 - ``KEY_NUMERIC_7``
107
108 - Keyboard digit 7
109
110 - 7
111
112 - .. row 11
113
114 - ``KEY_NUMERIC_8``
115
116 - Keyboard digit 8
117
118 - 8
119
120 - .. row 12
121
122 - ``KEY_NUMERIC_9``
123
124 - Keyboard digit 9
125
126 - 9
127
128 - .. row 13
129
130 - **Movie play control**
131
132 - .. row 14
133
134 - ``KEY_FORWARD``
135
136 - Instantly advance in time
137
138 - >> / FORWARD
139
140 - .. row 15
141
142 - ``KEY_BACK``
143
144 - Instantly go back in time
145
146 - <<< / BACK
147
148 - .. row 16
149
150 - ``KEY_FASTFORWARD``
151
152 - Play movie faster
153
154 - >>> / FORWARD
155
156 - .. row 17
157
158 - ``KEY_REWIND``
159
160 - Play movie back
161
162 - REWIND / BACKWARD
163
164 - .. row 18
165
166 - ``KEY_NEXT``
167
168 - Select next chapter / sub-chapter / interval
169
170 - NEXT / SKIP
171
172 - .. row 19
173
174 - ``KEY_PREVIOUS``
175
176 - Select previous chapter / sub-chapter / interval
177
178 - << / PREV / PREVIOUS
179
180 - .. row 20
181
182 - ``KEY_AGAIN``
183
184 - Repeat the video or a video interval
185
186 - REPEAT / LOOP / RECALL
187
188 - .. row 21
189
190 - ``KEY_PAUSE``
191
192 - Pause stream
193
194 - PAUSE / FREEZE
195
196 - .. row 22
197
198 - ``KEY_PLAY``
199
200 - Play movie at the normal timeshift
201
202 - NORMAL TIMESHIFT / LIVE / >
203
204 - .. row 23
205
206 - ``KEY_PLAYPAUSE``
207
208 - Alternate between play and pause
209
210 - PLAY / PAUSE
211
212 - .. row 24
213
214 - ``KEY_STOP``
215
216 - Stop stream
217
218 - STOP
219
220 - .. row 25
221
222 - ``KEY_RECORD``
223
224 - Start/stop recording stream
225
226 - CAPTURE / REC / RECORD/PAUSE
227
228 - .. row 26
229
230 - ``KEY_CAMERA``
231
232 - Take a picture of the image
233
234 - CAMERA ICON / CAPTURE / SNAPSHOT
235
236 - .. row 27
237
238 - ``KEY_SHUFFLE``
239
240 - Enable shuffle mode
241
242 - SHUFFLE
243
244 - .. row 28
245
246 - ``KEY_TIME``
247
248 - Activate time shift mode
249
250 - TIME SHIFT
251
252 - .. row 29
253
254 - ``KEY_TITLE``
255
256 - Allow changing the chapter
257
258 - CHAPTER
259
260 - .. row 30
261
262 - ``KEY_SUBTITLE``
263
264 - Allow changing the subtitle
265
266 - SUBTITLE
267
268 - .. row 31
269
270 - **Image control**
271
272 - .. row 32
273
274 - ``KEY_BRIGHTNESSDOWN``
275
276 - Decrease Brightness
277
278 - BRIGHTNESS DECREASE
279
280 - .. row 33
281
282 - ``KEY_BRIGHTNESSUP``
283
284 - Increase Brightness
285
286 - BRIGHTNESS INCREASE
287
288 - .. row 34
289
290 - ``KEY_ANGLE``
291
292 - Switch video camera angle (on videos with more than one angle
293 stored)
294
295 - ANGLE / SWAP
296
297 - .. row 35
298
299 - ``KEY_EPG``
300
301 - Open the Elecrowonic Play Guide (EPG)
302
303 - EPG / GUIDE
304
305 - .. row 36
306
307 - ``KEY_TEXT``
308
309 - Activate/change closed caption mode
310
311 - CLOSED CAPTION/TELETEXT / DVD TEXT / TELETEXT / TTX
312
313 - .. row 37
314
315 - **Audio control**
316
317 - .. row 38
318
319 - ``KEY_AUDIO``
320
321 - Change audio source
322
323 - AUDIO SOURCE / AUDIO / MUSIC
324
325 - .. row 39
326
327 - ``KEY_MUTE``
328
329 - Mute/unmute audio
330
331 - MUTE / DEMUTE / UNMUTE
332
333 - .. row 40
334
335 - ``KEY_VOLUMEDOWN``
336
337 - Decrease volume
338
339 - VOLUME- / VOLUME DOWN
340
341 - .. row 41
342
343 - ``KEY_VOLUMEUP``
344
345 - Increase volume
346
347 - VOLUME+ / VOLUME UP
348
349 - .. row 42
350
351 - ``KEY_MODE``
352
353 - Change sound mode
354
355 - MONO/STEREO
356
357 - .. row 43
358
359 - ``KEY_LANGUAGE``
360
361 - Select Language
362
363 - 1ST / 2ND LANGUAGE / DVD LANG / MTS/SAP / MTS SEL
364
365 - .. row 44
366
367 - **Channel control**
368
369 - .. row 45
370
371 - ``KEY_CHANNEL``
372
373 - Go to the next favorite channel
374
375 - ALT / CHANNEL / CH SURFING / SURF / FAV
376
377 - .. row 46
378
379 - ``KEY_CHANNELDOWN``
380
381 - Decrease channel sequentially
382
383 - CHANNEL - / CHANNEL DOWN / DOWN
384
385 - .. row 47
386
387 - ``KEY_CHANNELUP``
388
389 - Increase channel sequentially
390
391 - CHANNEL + / CHANNEL UP / UP
392
393 - .. row 48
394
395 - ``KEY_DIGITS``
396
397 - Use more than one digit for channel
398
399 - PLUS / 100/ 1xx / xxx / -/-- / Single Double Triple Digit
400
401 - .. row 49
402
403 - ``KEY_SEARCH``
404
405 - Start channel autoscan
406
407 - SCAN / AUTOSCAN
408
409 - .. row 50
410
411 - **Colored keys**
412
413 - .. row 51
414
415 - ``KEY_BLUE``
416
417 - IR Blue key
418
419 - BLUE
420
421 - .. row 52
422
423 - ``KEY_GREEN``
424
425 - IR Green Key
426
427 - GREEN
428
429 - .. row 53
430
431 - ``KEY_RED``
432
433 - IR Red key
434
435 - RED
436
437 - .. row 54
438
439 - ``KEY_YELLOW``
440
441 - IR Yellow key
442
443 - YELLOW
444
445 - .. row 55
446
447 - **Media selection**
448
449 - .. row 56
450
451 - ``KEY_CD``
452
453 - Change input source to Compact Disc
454
455 - CD
456
457 - .. row 57
458
459 - ``KEY_DVD``
460
461 - Change input to DVD
462
463 - DVD / DVD MENU
464
465 - .. row 58
466
467 - ``KEY_EJECTCLOSECD``
468
469 - Open/close the CD/DVD player
470
471 - -> ) / CLOSE / OPEN
472
473 - .. row 59
474
475 - ``KEY_MEDIA``
476
477 - Turn on/off Media application
478
479 - PC/TV / TURN ON/OFF APP
480
481 - .. row 60
482
483 - ``KEY_PC``
484
485 - Selects from TV to PC
486
487 - PC
488
489 - .. row 61
490
491 - ``KEY_RADIO``
492
493 - Put into AM/FM radio mode
494
495 - RADIO / TV/FM / TV/RADIO / FM / FM/RADIO
496
497 - .. row 62
498
499 - ``KEY_TV``
500
501 - Select tv mode
502
503 - TV / LIVE TV
504
505 - .. row 63
506
507 - ``KEY_TV2``
508
509 - Select Cable mode
510
511 - AIR/CBL
512
513 - .. row 64
514
515 - ``KEY_VCR``
516
517 - Select VCR mode
518
519 - VCR MODE / DTR
520
521 - .. row 65
522
523 - ``KEY_VIDEO``
524
525 - Alternate between input modes
526
527 - SOURCE / SELECT / DISPLAY / SWITCH INPUTS / VIDEO
528
529 - .. row 66
530
531 - **Power control**
532
533 - .. row 67
534
535 - ``KEY_POWER``
536
537 - Turn on/off computer
538
539 - SYSTEM POWER / COMPUTER POWER
540
541 - .. row 68
542
543 - ``KEY_POWER2``
544
545 - Turn on/off application
546
547 - TV ON/OFF / POWER
548
549 - .. row 69
550
551 - ``KEY_SLEEP``
552
553 - Activate sleep timer
554
555 - SLEEP / SLEEP TIMER
556
557 - .. row 70
558
559 - ``KEY_SUSPEND``
560
561 - Put computer into suspend mode
562
563 - STANDBY / SUSPEND
564
565 - .. row 71
566
567 - **Window control**
568
569 - .. row 72
570
571 - ``KEY_CLEAR``
572
573 - Stop stream and return to default input video/audio
574
575 - CLEAR / RESET / BOSS KEY
576
577 - .. row 73
578
579 - ``KEY_CYCLEWINDOWS``
580
581 - Minimize windows and move to the next one
582
583 - ALT-TAB / MINIMIZE / DESKTOP
584
585 - .. row 74
586
587 - ``KEY_FAVORITES``
588
589 - Open the favorites stream window
590
591 - TV WALL / Favorites
592
593 - .. row 75
594
595 - ``KEY_MENU``
596
597 - Call application menu
598
599 - 2ND CONTROLS (USA: MENU) / DVD/MENU / SHOW/HIDE CTRL
600
601 - .. row 76
602
603 - ``KEY_NEW``
604
605 - Open/Close Picture in Picture
606
607 - PIP
608
609 - .. row 77
610
611 - ``KEY_OK``
612
613 - Send a confirmation code to application
614
615 - OK / ENTER / RETURN
616
617 - .. row 78
618
619 - ``KEY_ASPECT_RATIO``
620
621 - Select screen aspect ratio
622
623 - 4:3 16:9 SELECT
624
625 - .. row 79
626
627 - ``KEY_FULL_SCREEN``
628
629 - Put device into zoom/full screen mode
630
631 - ZOOM / FULL SCREEN / ZOOM+ / HIDE PANEL / SWITCH
632
633 - .. row 80
634
635 - **Navigation keys**
636
637 - .. row 81
638
639 - ``KEY_ESC``
640
641 - Cancel current operation
642
643 - CANCEL / BACK
644
645 - .. row 82
646
647 - ``KEY_HELP``
648
649 - Open a Help window
650
651 - HELP
652
653 - .. row 83
654
655 - ``KEY_HOMEPAGE``
656
657 - Navigate to Homepage
658
659 - HOME
660
661 - .. row 84
662
663 - ``KEY_INFO``
664
665 - Open On Screen Display
666
667 - DISPLAY INFORMATION / OSD
668
669 - .. row 85
670
671 - ``KEY_WWW``
672
673 - Open the default browser
674
675 - WEB
676
677 - .. row 86
678
679 - ``KEY_UP``
680
681 - Up key
682
683 - UP
684
685 - .. row 87
686
687 - ``KEY_DOWN``
688
689 - Down key
690
691 - DOWN
692
693 - .. row 88
694
695 - ``KEY_LEFT``
696
697 - Left key
698
699 - LEFT
700
701 - .. row 89
702
703 - ``KEY_RIGHT``
704
705 - Right key
706
707 - RIGHT
708
709 - .. row 90
710
711 - **Miscellaneous keys**
712
713 - .. row 91
714
715 - ``KEY_DOT``
716
717 - Return a dot
718
719 - .
720
721 - .. row 92
722
723 - ``KEY_FN``
724
725 - Select a function
726
727 - FUNCTION
728
729
730 It should be noted that, sometimes, there some fundamental missing keys
731 at some cheaper IR's. Due to that, it is recommended to:
732
733
734 .. _rc_keymap_notes:
735
736 .. flat-table:: Notes
737 :header-rows: 0
738 :stub-columns: 0
739
740
741 - .. row 1
742
743 - On simpler IR's, without separate channel keys, you need to map UP
744 as ``KEY_CHANNELUP``
745
746 - .. row 2
747
748 - On simpler IR's, without separate channel keys, you need to map
749 DOWN as ``KEY_CHANNELDOWN``
750
751 - .. row 3
752
753 - On simpler IR's, without separate volume keys, you need to map
754 LEFT as ``KEY_VOLUMEDOWN``
755
756 - .. row 4
757
758 - On simpler IR's, without separate volume keys, you need to map
759 RIGHT as ``KEY_VOLUMEUP``
760

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

IR media key mapping 표준

1-25

오랫동안 서로 다른 장치에 통일된 IR key code를 만들려는 노력이 없었기 때문에, 동일한 IR key 이름이 장치마다 완전히 다른 code에 mapping되었습니다. 이 불일치를 줄이기 위해 V4L2 API는 IR media key mapping 표준을 정의합니다.

V4L/DVB driver와 userspace application은 모두 이 표준을 사용해야 합니다.

Module은 remote를 Linux input layer의 keyboard로 등록합니다. `CONFIG_INPUT_KEYBOARD`가 활성화되어 있으면 IR key stroke는 일반 keyboard key stroke처럼 보입니다. `CONFIG_INPUT_EVDEV`의 event device를 사용하면 application이 `/dev/input/event` device를 통해 remote에 접근할 수 있습니다.

IR key에서 userspace event까지
Remote가 IR key stroke 전송V4L/DVB driver가 표준 key code로 mappingLinux input layer가 keyboard event로 등록/dev/input/event를 통해 userspace application에 전달

표준 key code가 driver와 application 사이의 공통 계약이 됩니다.

.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later

.. _Remote_controllers_tables:

************************
Remote controller tables
************************

Unfortunately, for several years, there was no effort to create uniform
IR keycodes for different devices. This caused the same IR keyname to be
mapped completely differently on different IR devices. This resulted
that the same IR keyname to be mapped completely different on different
IR's. Due to that, V4L2 API now specifies a standard for mapping Media
keys on IR.

This standard should be used by both V4L/DVB drivers and userspace
applications

The modules register the remote as keyboard within the linux input
layer. This means that the IR key strokes will look like normal keyboard
key strokes (if CONFIG_INPUT_KEYBOARD is enabled). Using the event
devices (CONFIG_INPUT_EVDEV) it is possible for applications to access
the remote via /dev/input/event devices.

숫자 key

26-127

IR 기본 keymap 표의 숫자 key입니다. Key code symbol과 remote에 인쇄될 수 있는 숫자를 그대로 대응시킵니다.

숫자 key mapping
Key code의미IR key 예시
KEY_NUMERIC_0Keyboard 숫자 00
KEY_NUMERIC_1Keyboard 숫자 11
KEY_NUMERIC_2Keyboard 숫자 22
KEY_NUMERIC_3Keyboard 숫자 33
KEY_NUMERIC_4Keyboard 숫자 44
KEY_NUMERIC_5Keyboard 숫자 55
KEY_NUMERIC_6Keyboard 숫자 66
KEY_NUMERIC_7Keyboard 숫자 77
KEY_NUMERIC_8Keyboard 숫자 88
KEY_NUMERIC_9Keyboard 숫자 99

Keyboard 숫자 0부터 9까지의 표준 mapping입니다.

.. _rc_standard_keymap:

.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|

.. flat-table:: IR default keymapping
    :header-rows:  0
    :stub-columns: 0
    :widths:       1 1 2


    -  .. row 1

       -  Key code

       -  Meaning

       -  Key examples on IR

    -  .. row 2

       -  **Numeric keys**

    -  .. row 3

       -  ``KEY_NUMERIC_0``

       -  Keyboard digit 0

       -  0

    -  .. row 4

       -  ``KEY_NUMERIC_1``

       -  Keyboard digit 1

       -  1

    -  .. row 5

       -  ``KEY_NUMERIC_2``

       -  Keyboard digit 2

       -  2

    -  .. row 6

       -  ``KEY_NUMERIC_3``

       -  Keyboard digit 3

       -  3

    -  .. row 7

       -  ``KEY_NUMERIC_4``

       -  Keyboard digit 4

       -  4

    -  .. row 8

       -  ``KEY_NUMERIC_5``

       -  Keyboard digit 5

       -  5

    -  .. row 9

       -  ``KEY_NUMERIC_6``

       -  Keyboard digit 6

       -  6

    -  .. row 10

       -  ``KEY_NUMERIC_7``

       -  Keyboard digit 7

       -  7

    -  .. row 11

       -  ``KEY_NUMERIC_8``

       -  Keyboard digit 8

       -  8

    -  .. row 12

       -  ``KEY_NUMERIC_9``

       -  Keyboard digit 9

       -  9

영상 재생 제어 key

128-267

시간 이동, 재생 속도, chapter 이동, 반복, 녹화와 자막을 제어하는 key code입니다. 비슷해 보이는 `KEY_FORWARD`와 `KEY_FASTFORWARD`, `KEY_PLAY`와 `KEY_PLAYPAUSE`는 의미가 다르므로 표의 동작을 기준으로 mapping합니다.

영상 재생 제어 mapping
Key code의미IR key 예시
KEY_FORWARD시간상 즉시 앞으로 이동>> / FORWARD
KEY_BACK시간상 즉시 뒤로 이동<<< / BACK
KEY_FASTFORWARD영상을 더 빠르게 재생>>> / FORWARD
KEY_REWIND영상을 뒤로 재생REWIND / BACKWARD
KEY_NEXT다음 chapter, sub-chapter 또는 interval 선택NEXT / SKIP
KEY_PREVIOUS이전 chapter, sub-chapter 또는 interval 선택<< / PREV / PREVIOUS
KEY_AGAIN영상 또는 영상 interval 반복REPEAT / LOOP / RECALL
KEY_PAUSEStream 일시 정지PAUSE / FREEZE
KEY_PLAY정상 timeshift 속도로 영상 재생NORMAL TIMESHIFT / LIVE / >
KEY_PLAYPAUSE재생과 일시 정지를 번갈아 전환PLAY / PAUSE
KEY_STOPStream 정지STOP
KEY_RECORDStream 녹화 시작 또는 중지CAPTURE / REC / RECORD/PAUSE
KEY_CAMERA영상의 picture 촬영CAMERA ICON / CAPTURE / SNAPSHOT
KEY_SHUFFLEShuffle mode 활성화SHUFFLE
KEY_TIMETime shift mode 활성화TIME SHIFT
KEY_TITLEChapter 변경 허용CHAPTER
KEY_SUBTITLESubtitle 변경 허용SUBTITLE

Remote 표면의 여러 표기 예를 하나의 Linux key code로 정규화합니다.

    -  .. row 13

       -  **Movie play control**

    -  .. row 14

       -  ``KEY_FORWARD``

       -  Instantly advance in time

       -  >> / FORWARD

    -  .. row 15

       -  ``KEY_BACK``

       -  Instantly go back in time

       -  <<< / BACK

    -  .. row 16

       -  ``KEY_FASTFORWARD``

       -  Play movie faster

       -  >>> / FORWARD

    -  .. row 17

       -  ``KEY_REWIND``

       -  Play movie back

       -  REWIND / BACKWARD

    -  .. row 18

       -  ``KEY_NEXT``

       -  Select next chapter / sub-chapter / interval

       -  NEXT / SKIP

    -  .. row 19

       -  ``KEY_PREVIOUS``

       -  Select previous chapter / sub-chapter / interval

       -  << / PREV / PREVIOUS

    -  .. row 20

       -  ``KEY_AGAIN``

       -  Repeat the video or a video interval

       -  REPEAT / LOOP / RECALL

    -  .. row 21

       -  ``KEY_PAUSE``

       -  Pause stream

       -  PAUSE / FREEZE

    -  .. row 22

       -  ``KEY_PLAY``

       -  Play movie at the normal timeshift

       -  NORMAL TIMESHIFT / LIVE / >

    -  .. row 23

       -  ``KEY_PLAYPAUSE``

       -  Alternate between play and pause

       -  PLAY / PAUSE

    -  .. row 24

       -  ``KEY_STOP``

       -  Stop stream

       -  STOP

    -  .. row 25

       -  ``KEY_RECORD``

       -  Start/stop recording stream

       -  CAPTURE / REC / RECORD/PAUSE

    -  .. row 26

       -  ``KEY_CAMERA``

       -  Take a picture of the image

       -  CAMERA ICON / CAPTURE / SNAPSHOT

    -  .. row 27

       -  ``KEY_SHUFFLE``

       -  Enable shuffle mode

       -  SHUFFLE

    -  .. row 28

       -  ``KEY_TIME``

       -  Activate time shift mode

       -  TIME SHIFT

    -  .. row 29

       -  ``KEY_TITLE``

       -  Allow changing the chapter

       -  CHAPTER

    -  .. row 30

       -  ``KEY_SUBTITLE``

       -  Allow changing the subtitle

       -  SUBTITLE

영상 표시 제어 key

268-312

밝기, camera angle, EPG와 closed caption 같은 영상 표시 기능을 제어합니다. 원문은 `KEY_EPG`의 의미를 `Elecrowonic Play Guide (EPG)`로 적고 있으며, 이는 apparent typo이지만 영어 원문에는 그대로 보존됩니다.

영상 표시 제어 mapping
Key code의미IR key 예시
KEY_BRIGHTNESSDOWN밝기 감소BRIGHTNESS DECREASE
KEY_BRIGHTNESSUP밝기 증가BRIGHTNESS INCREASE
KEY_ANGLE여러 angle이 저장된 영상에서 camera angle 전환ANGLE / SWAP
KEY_EPG원문 표기의 Elecrowonic Play Guide(EPG) 열기EPG / GUIDE
KEY_TEXTClosed caption mode 활성화 또는 변경CLOSED CAPTION/TELETEXT / DVD TEXT / TELETEXT / TTX

화면 밝기와 표시 mode에 대응하는 key입니다.

    -  .. row 31

       -  **Image control**

    -  .. row 32

       -  ``KEY_BRIGHTNESSDOWN``

       -  Decrease Brightness

       -  BRIGHTNESS DECREASE

    -  .. row 33

       -  ``KEY_BRIGHTNESSUP``

       -  Increase Brightness

       -  BRIGHTNESS INCREASE

    -  .. row 34

       -  ``KEY_ANGLE``

       -  Switch video camera angle (on videos with more than one angle
	  stored)

       -  ANGLE / SWAP

    -  .. row 35

       -  ``KEY_EPG``

       -  Open the Elecrowonic Play Guide (EPG)

       -  EPG / GUIDE

    -  .. row 36

       -  ``KEY_TEXT``

       -  Activate/change closed caption mode

       -  CLOSED CAPTION/TELETEXT / DVD TEXT / TELETEXT / TTX

Audio 제어 key

313-364

Audio source, mute, volume, sound mode와 language를 제어하는 표준 mapping입니다.

Audio 제어 mapping
Key code의미IR key 예시
KEY_AUDIOAudio source 변경AUDIO SOURCE / AUDIO / MUSIC
KEY_MUTEAudio mute 또는 unmuteMUTE / DEMUTE / UNMUTE
KEY_VOLUMEDOWNVolume 감소VOLUME- / VOLUME DOWN
KEY_VOLUMEUPVolume 증가VOLUME+ / VOLUME UP
KEY_MODESound mode 변경MONO/STEREO
KEY_LANGUAGELanguage 선택1ST / 2ND LANGUAGE / DVD LANG / MTS/SAP / MTS SEL

Remote의 audio 관련 label을 Linux key code에 연결합니다.

    -  .. row 37

       -  **Audio control**

    -  .. row 38

       -  ``KEY_AUDIO``

       -  Change audio source

       -  AUDIO SOURCE / AUDIO / MUSIC

    -  .. row 39

       -  ``KEY_MUTE``

       -  Mute/unmute audio

       -  MUTE / DEMUTE / UNMUTE

    -  .. row 40

       -  ``KEY_VOLUMEDOWN``

       -  Decrease volume

       -  VOLUME- / VOLUME DOWN

    -  .. row 41

       -  ``KEY_VOLUMEUP``

       -  Increase volume

       -  VOLUME+ / VOLUME UP

    -  .. row 42

       -  ``KEY_MODE``

       -  Change sound mode

       -  MONO/STEREO

    -  .. row 43

       -  ``KEY_LANGUAGE``

       -  Select Language

       -  1ST / 2ND LANGUAGE / DVD LANG / MTS/SAP / MTS SEL

Channel 제어 key

365-408

즐겨찾기 channel, 순차 channel 이동, 여러 자리 channel 입력과 자동 검색에 쓰는 key code입니다.

Channel 제어 mapping
Key code의미IR key 예시
KEY_CHANNEL다음 favorite channel로 이동ALT / CHANNEL / CH SURFING / SURF / FAV
KEY_CHANNELDOWNChannel을 순차적으로 감소CHANNEL - / CHANNEL DOWN / DOWN
KEY_CHANNELUPChannel을 순차적으로 증가CHANNEL + / CHANNEL UP / UP
KEY_DIGITS두 자리 이상 숫자로 channel 입력PLUS / 100/ 1xx / xxx / -/-- / Single Double Triple Digit
KEY_SEARCHChannel 자동 scan 시작SCAN / AUTOSCAN

Channel 선택 방식에 맞는 표준 key를 사용합니다.

    -  .. row 44

       -  **Channel control**

    -  .. row 45

       -  ``KEY_CHANNEL``

       -  Go to the next favorite channel

       -  ALT / CHANNEL / CH SURFING / SURF / FAV

    -  .. row 46

       -  ``KEY_CHANNELDOWN``

       -  Decrease channel sequentially

       -  CHANNEL - / CHANNEL DOWN / DOWN

    -  .. row 47

       -  ``KEY_CHANNELUP``

       -  Increase channel sequentially

       -  CHANNEL + / CHANNEL UP / UP

    -  .. row 48

       -  ``KEY_DIGITS``

       -  Use more than one digit for channel

       -  PLUS / 100/ 1xx / xxx / -/-- / Single Double Triple Digit

    -  .. row 49

       -  ``KEY_SEARCH``

       -  Start channel autoscan

       -  SCAN / AUTOSCAN

색상 key

409-444

Blue, green, red, yellow IR button은 이름이 같은 Linux color key code에 직접 mapping합니다.

색상 key mapping
Key code의미IR key 예시
KEY_BLUEIR blue keyBLUE
KEY_GREENIR green keyGREEN
KEY_REDIR red keyRED
KEY_YELLOWIR yellow keyYELLOW

색상 button의 표준 mapping입니다.

    -  .. row 50

       -  **Colored keys**

    -  .. row 51

       -  ``KEY_BLUE``

       -  IR Blue key

       -  BLUE

    -  .. row 52

       -  ``KEY_GREEN``

       -  IR Green Key

       -  GREEN

    -  .. row 53

       -  ``KEY_RED``

       -  IR Red key

       -  RED

    -  .. row 54

       -  ``KEY_YELLOW``

       -  IR Yellow key

       -  YELLOW

Media source 선택 key

445-528

CD, DVD, radio, TV, cable, VCR와 PC 같은 source를 선택하거나 media application 및 input mode를 전환하는 key입니다.

Media source 선택 mapping
Key code의미IR key 예시
KEY_CDInput source를 Compact Disc로 변경CD
KEY_DVDInput을 DVD로 변경DVD / DVD MENU
KEY_EJECTCLOSECDCD/DVD player 열기 또는 닫기-> ) / CLOSE / OPEN
KEY_MEDIAMedia application 켜기 또는 끄기PC/TV / TURN ON/OFF APP
KEY_PCTV에서 PC로 선택 전환PC
KEY_RADIOAM/FM radio mode로 전환RADIO / TV/FM / TV/RADIO / FM / FM/RADIO
KEY_TVTV mode 선택TV / LIVE TV
KEY_TV2Cable mode 선택AIR/CBL
KEY_VCRVCR mode 선택VCR MODE / DTR
KEY_VIDEOInput mode를 번갈아 전환SOURCE / SELECT / DISPLAY / SWITCH INPUTS / VIDEO

Remote에 표시된 source 이름과 동작을 표준 key code로 정규화합니다.

    -  .. row 55

       -  **Media selection**

    -  .. row 56

       -  ``KEY_CD``

       -  Change input source to Compact Disc

       -  CD

    -  .. row 57

       -  ``KEY_DVD``

       -  Change input to DVD

       -  DVD / DVD MENU

    -  .. row 58

       -  ``KEY_EJECTCLOSECD``

       -  Open/close the CD/DVD player

       -  -> ) / CLOSE / OPEN

    -  .. row 59

       -  ``KEY_MEDIA``

       -  Turn on/off Media application

       -  PC/TV / TURN ON/OFF APP

    -  .. row 60

       -  ``KEY_PC``

       -  Selects from TV to PC

       -  PC

    -  .. row 61

       -  ``KEY_RADIO``

       -  Put into AM/FM radio mode

       -  RADIO / TV/FM / TV/RADIO / FM / FM/RADIO

    -  .. row 62

       -  ``KEY_TV``

       -  Select tv mode

       -  TV / LIVE TV

    -  .. row 63

       -  ``KEY_TV2``

       -  Select Cable mode

       -  AIR/CBL

    -  .. row 64

       -  ``KEY_VCR``

       -  Select VCR mode

       -  VCR MODE / DTR

    -  .. row 65

       -  ``KEY_VIDEO``

       -  Alternate between input modes

       -  SOURCE / SELECT / DISPLAY / SWITCH INPUTS / VIDEO

전원 제어 key

529-564

Computer와 application의 power, sleep timer, suspend mode를 구분해 mapping합니다.

전원 제어 mapping
Key code의미IR key 예시
KEY_POWERComputer 켜기 또는 끄기SYSTEM POWER / COMPUTER POWER
KEY_POWER2Application 켜기 또는 끄기TV ON/OFF / POWER
KEY_SLEEPSleep timer 활성화SLEEP / SLEEP TIMER
KEY_SUSPENDComputer를 suspend mode로 전환STANDBY / SUSPEND

Power 관련 button이 겨냥하는 범위와 저전력 동작을 구분합니다.

    -  .. row 66

       -  **Power control**

    -  .. row 67

       -  ``KEY_POWER``

       -  Turn on/off computer

       -  SYSTEM POWER / COMPUTER POWER

    -  .. row 68

       -  ``KEY_POWER2``

       -  Turn on/off application

       -  TV ON/OFF / POWER

    -  .. row 69

       -  ``KEY_SLEEP``

       -  Activate sleep timer

       -  SLEEP / SLEEP TIMER

    -  .. row 70

       -  ``KEY_SUSPEND``

       -  Put computer into suspend mode

       -  STANDBY / SUSPEND

Window와 application 제어 key

565-632

기본 input 복귀, window 순환, favorites, menu, picture-in-picture, 확인, aspect ratio와 full screen을 제어합니다.

Window와 application 제어 mapping
Key code의미IR key 예시
KEY_CLEARStream을 멈추고 기본 video/audio input으로 복귀CLEAR / RESET / BOSS KEY
KEY_CYCLEWINDOWSWindow를 최소화하고 다음 window로 이동ALT-TAB / MINIMIZE / DESKTOP
KEY_FAVORITESFavorite stream window 열기TV WALL / Favorites
KEY_MENUApplication menu 호출2ND CONTROLS (USA: MENU) / DVD/MENU / SHOW/HIDE CTRL
KEY_NEWPicture-in-Picture 열기 또는 닫기PIP
KEY_OKApplication에 confirmation code 전송OK / ENTER / RETURN
KEY_ASPECT_RATIO화면 aspect ratio 선택4:3 16:9 SELECT
KEY_FULL_SCREENDevice를 zoom 또는 full-screen mode로 전환ZOOM / FULL SCREEN / ZOOM+ / HIDE PANEL / SWITCH

Application UI와 display mode를 조작하는 표준 key입니다.

    -  .. row 71

       -  **Window control**

    -  .. row 72

       -  ``KEY_CLEAR``

       -  Stop stream and return to default input video/audio

       -  CLEAR / RESET / BOSS KEY

    -  .. row 73

       -  ``KEY_CYCLEWINDOWS``

       -  Minimize windows and move to the next one

       -  ALT-TAB / MINIMIZE / DESKTOP

    -  .. row 74

       -  ``KEY_FAVORITES``

       -  Open the favorites stream window

       -  TV WALL / Favorites

    -  .. row 75

       -  ``KEY_MENU``

       -  Call application menu

       -  2ND CONTROLS (USA: MENU) / DVD/MENU / SHOW/HIDE CTRL

    -  .. row 76

       -  ``KEY_NEW``

       -  Open/Close Picture in Picture

       -  PIP

    -  .. row 77

       -  ``KEY_OK``

       -  Send a confirmation code to application

       -  OK / ENTER / RETURN

    -  .. row 78

       -  ``KEY_ASPECT_RATIO``

       -  Select screen aspect ratio

       -  4:3 16:9 SELECT

    -  .. row 79

       -  ``KEY_FULL_SCREEN``

       -  Put device into zoom/full screen mode

       -  ZOOM / FULL SCREEN / ZOOM+ / HIDE PANEL / SWITCH

Navigation key

633-708

현재 작업 취소, help와 home 이동, OSD 정보, browser 실행 및 네 방향 이동에 쓰는 key입니다.

Navigation mapping
Key code의미IR key 예시
KEY_ESC현재 작업 취소CANCEL / BACK
KEY_HELPHelp window 열기HELP
KEY_HOMEPAGEHomepage로 이동HOME
KEY_INFOOn-Screen Display 열기DISPLAY INFORMATION / OSD
KEY_WWW기본 browser 열기WEB
KEY_UP위 방향 keyUP
KEY_DOWN아래 방향 keyDOWN
KEY_LEFT왼쪽 방향 keyLEFT
KEY_RIGHT오른쪽 방향 keyRIGHT

Application navigation과 방향 이동을 위한 표준 key입니다.

    -  .. row 80

       -  **Navigation keys**

    -  .. row 81

       -  ``KEY_ESC``

       -  Cancel current operation

       -  CANCEL / BACK

    -  .. row 82

       -  ``KEY_HELP``

       -  Open a Help window

       -  HELP

    -  .. row 83

       -  ``KEY_HOMEPAGE``

       -  Navigate to Homepage

       -  HOME

    -  .. row 84

       -  ``KEY_INFO``

       -  Open On Screen Display

       -  DISPLAY INFORMATION / OSD

    -  .. row 85

       -  ``KEY_WWW``

       -  Open the default browser

       -  WEB

    -  .. row 86

       -  ``KEY_UP``

       -  Up key

       -  UP

    -  .. row 87

       -  ``KEY_DOWN``

       -  Down key

       -  DOWN

    -  .. row 88

       -  ``KEY_LEFT``

       -  Left key

       -  LEFT

    -  .. row 89

       -  ``KEY_RIGHT``

       -  Right key

       -  RIGHT

기타 key

709-729

Dot 입력과 일반 function 선택에 쓰는 두 key입니다.

기타 key mapping
Key code의미IR key 예시
KEY_DOTDot 반환.
KEY_FNFunction 선택FUNCTION

다른 기능군에 속하지 않는 기본 key입니다.

    -  .. row 90

       -  **Miscellaneous keys**

    -  .. row 91

       -  ``KEY_DOT``

       -  Return a dot

       -  .

    -  .. row 92

       -  ``KEY_FN``

       -  Select a function

       -  FUNCTION

전용 key가 없는 간단한 remote의 fallback

730-759

일부 저가형 IR remote에는 channel이나 volume 전용 key가 근본적으로 빠져 있습니다. 이 경우 방향 key를 해당 기능에 다시 mapping하는 것이 권장됩니다.

간단한 IR remote용 대체 mapping
Remote keyMapping할 key code조건
UPKEY_CHANNELUP별도 channel key가 없는 경우
DOWNKEY_CHANNELDOWN별도 channel key가 없는 경우
LEFTKEY_VOLUMEDOWN별도 volume key가 없는 경우
RIGHTKEY_VOLUMEUP별도 volume key가 없는 경우

전용 channel 또는 volume key가 없을 때의 권장 mapping입니다.

It should be noted that, sometimes, there some fundamental missing keys
at some cheaper IR's. Due to that, it is recommended to:


.. _rc_keymap_notes:

.. flat-table:: Notes
    :header-rows:  0
    :stub-columns: 0


    -  .. row 1

       -  On simpler IR's, without separate channel keys, you need to map UP
	  as ``KEY_CHANNELUP``

    -  .. row 2

       -  On simpler IR's, without separate channel keys, you need to map
	  DOWN as ``KEY_CHANNELDOWN``

    -  .. row 3

       -  On simpler IR's, without separate volume keys, you need to map
	  LEFT as ``KEY_VOLUMEDOWN``

    -  .. row 4

       -  On simpler IR's, without separate volume keys, you need to map
	  RIGHT as ``KEY_VOLUMEUP``