nec-terratec-cinergy-xs.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* nec-terratec-cinergy-xs.h - Keytable for nec_terratec_cinergy_xs Remote Controller
  2. *
  3. * Imported from ir-keymaps.c
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. */
  10. /* Terratec Cinergy Hybrid T USB XS FM
  11. Mauro Carvalho Chehab <mchehab@redhat.com>
  12. */
  13. #ifdef IR_KEYMAPS
  14. static struct ir_scancode nec_terratec_cinergy_xs[] = {
  15. { 0x1441, KEY_HOME},
  16. { 0x1401, KEY_POWER2},
  17. { 0x1442, KEY_MENU}, /* DVD menu */
  18. { 0x1443, KEY_SUBTITLE},
  19. { 0x1444, KEY_TEXT}, /* Teletext */
  20. { 0x1445, KEY_DELETE},
  21. { 0x1402, KEY_1},
  22. { 0x1403, KEY_2},
  23. { 0x1404, KEY_3},
  24. { 0x1405, KEY_4},
  25. { 0x1406, KEY_5},
  26. { 0x1407, KEY_6},
  27. { 0x1408, KEY_7},
  28. { 0x1409, KEY_8},
  29. { 0x140a, KEY_9},
  30. { 0x140c, KEY_0},
  31. { 0x140b, KEY_TUNER}, /* AV */
  32. { 0x140d, KEY_MODE}, /* A.B */
  33. { 0x1446, KEY_TV},
  34. { 0x1447, KEY_DVD},
  35. { 0x1449, KEY_VIDEO},
  36. { 0x144a, KEY_RADIO}, /* Music */
  37. { 0x144b, KEY_CAMERA}, /* PIC */
  38. { 0x1410, KEY_UP},
  39. { 0x1411, KEY_LEFT},
  40. { 0x1412, KEY_OK},
  41. { 0x1413, KEY_RIGHT},
  42. { 0x1414, KEY_DOWN},
  43. { 0x140f, KEY_EPG},
  44. { 0x1416, KEY_INFO},
  45. { 0x144d, KEY_BACKSPACE},
  46. { 0x141c, KEY_VOLUMEUP},
  47. { 0x141e, KEY_VOLUMEDOWN},
  48. { 0x144c, KEY_PLAY},
  49. { 0x141d, KEY_MUTE},
  50. { 0x141b, KEY_CHANNELUP},
  51. { 0x141f, KEY_CHANNELDOWN},
  52. { 0x1417, KEY_RED},
  53. { 0x1418, KEY_GREEN},
  54. { 0x1419, KEY_YELLOW},
  55. { 0x141a, KEY_BLUE},
  56. { 0x1458, KEY_RECORD},
  57. { 0x1448, KEY_STOP},
  58. { 0x1440, KEY_PAUSE},
  59. { 0x1454, KEY_LAST},
  60. { 0x144e, KEY_REWIND},
  61. { 0x144f, KEY_FASTFORWARD},
  62. { 0x145c, KEY_NEXT},
  63. };
  64. DEFINE_IR_KEYTABLE(nec_terratec_cinergy_xs, IR_TYPE_NEC);
  65. #else
  66. DECLARE_IR_KEYTABLE(nec_terratec_cinergy_xs);
  67. #endif