encore-enltv.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /* encore-enltv.h - Keytable for encore_enltv 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. /* Encore ENLTV-FM - black plastic, white front cover with white glowing buttons
  11. Juan Pablo Sormani <sorman@gmail.com> */
  12. #ifdef IR_KEYMAPS
  13. static struct ir_scancode encore_enltv[] = {
  14. /* Power button does nothing, neither in Windows app,
  15. although it sends data (used for BIOS wakeup?) */
  16. { 0x0d, KEY_MUTE },
  17. { 0x1e, KEY_TV },
  18. { 0x00, KEY_VIDEO },
  19. { 0x01, KEY_AUDIO }, /* music */
  20. { 0x02, KEY_MHP }, /* picture */
  21. { 0x1f, KEY_1 },
  22. { 0x03, KEY_2 },
  23. { 0x04, KEY_3 },
  24. { 0x05, KEY_4 },
  25. { 0x1c, KEY_5 },
  26. { 0x06, KEY_6 },
  27. { 0x07, KEY_7 },
  28. { 0x08, KEY_8 },
  29. { 0x1d, KEY_9 },
  30. { 0x0a, KEY_0 },
  31. { 0x09, KEY_LIST }, /* -/-- */
  32. { 0x0b, KEY_LAST }, /* recall */
  33. { 0x14, KEY_HOME }, /* win start menu */
  34. { 0x15, KEY_EXIT }, /* exit */
  35. { 0x16, KEY_CHANNELUP }, /* UP */
  36. { 0x12, KEY_CHANNELDOWN }, /* DOWN */
  37. { 0x0c, KEY_VOLUMEUP }, /* RIGHT */
  38. { 0x17, KEY_VOLUMEDOWN }, /* LEFT */
  39. { 0x18, KEY_ENTER }, /* OK */
  40. { 0x0e, KEY_ESC },
  41. { 0x13, KEY_CYCLEWINDOWS }, /* desktop */
  42. { 0x11, KEY_TAB },
  43. { 0x19, KEY_SWITCHVIDEOMODE }, /* switch */
  44. { 0x1a, KEY_MENU },
  45. { 0x1b, KEY_ZOOM }, /* fullscreen */
  46. { 0x44, KEY_TIME }, /* time shift */
  47. { 0x40, KEY_MODE }, /* source */
  48. { 0x5a, KEY_RECORD },
  49. { 0x42, KEY_PLAY }, /* play/pause */
  50. { 0x45, KEY_STOP },
  51. { 0x43, KEY_CAMERA }, /* camera icon */
  52. { 0x48, KEY_REWIND },
  53. { 0x4a, KEY_FASTFORWARD },
  54. { 0x49, KEY_PREVIOUS },
  55. { 0x4b, KEY_NEXT },
  56. { 0x4c, KEY_FAVORITES }, /* tv wall */
  57. { 0x4d, KEY_SOUND }, /* DVD sound */
  58. { 0x4e, KEY_LANGUAGE }, /* DVD lang */
  59. { 0x4f, KEY_TEXT }, /* DVD text */
  60. { 0x50, KEY_SLEEP }, /* shutdown */
  61. { 0x51, KEY_MODE }, /* stereo > main */
  62. { 0x52, KEY_SELECT }, /* stereo > sap */
  63. { 0x53, KEY_PROG1 }, /* teletext */
  64. { 0x59, KEY_RED }, /* AP1 */
  65. { 0x41, KEY_GREEN }, /* AP2 */
  66. { 0x47, KEY_YELLOW }, /* AP3 */
  67. { 0x57, KEY_BLUE }, /* AP4 */
  68. };
  69. DEFINE_LEGACY_IR_KEYTABLE(encore_enltv);
  70. #else
  71. DECLARE_IR_KEYTABLE(encore_enltv);
  72. #endif