encore-enltv2.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* encore-enltv2.h - Keytable for encore_enltv2 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 ENLTV2-FM - silver plastic - "Wand Media" written at the botton
  11. Mauro Carvalho Chehab <mchehab@infradead.org> */
  12. #ifdef IR_KEYMAPS
  13. static struct ir_scancode encore_enltv2[] = {
  14. { 0x4c, KEY_POWER2 },
  15. { 0x4a, KEY_TUNER },
  16. { 0x40, KEY_1 },
  17. { 0x60, KEY_2 },
  18. { 0x50, KEY_3 },
  19. { 0x70, KEY_4 },
  20. { 0x48, KEY_5 },
  21. { 0x68, KEY_6 },
  22. { 0x58, KEY_7 },
  23. { 0x78, KEY_8 },
  24. { 0x44, KEY_9 },
  25. { 0x54, KEY_0 },
  26. { 0x64, KEY_LAST }, /* +100 */
  27. { 0x4e, KEY_AGAIN }, /* Recall */
  28. { 0x6c, KEY_SWITCHVIDEOMODE }, /* Video Source */
  29. { 0x5e, KEY_MENU },
  30. { 0x56, KEY_SCREEN },
  31. { 0x7a, KEY_SETUP },
  32. { 0x46, KEY_MUTE },
  33. { 0x5c, KEY_MODE }, /* Stereo */
  34. { 0x74, KEY_INFO },
  35. { 0x7c, KEY_CLEAR },
  36. { 0x55, KEY_UP },
  37. { 0x49, KEY_DOWN },
  38. { 0x7e, KEY_LEFT },
  39. { 0x59, KEY_RIGHT },
  40. { 0x6a, KEY_ENTER },
  41. { 0x42, KEY_VOLUMEUP },
  42. { 0x62, KEY_VOLUMEDOWN },
  43. { 0x52, KEY_CHANNELUP },
  44. { 0x72, KEY_CHANNELDOWN },
  45. { 0x41, KEY_RECORD },
  46. { 0x51, KEY_CAMERA }, /* Snapshot */
  47. { 0x75, KEY_TIME }, /* Timeshift */
  48. { 0x71, KEY_TV2 }, /* PIP */
  49. { 0x45, KEY_REWIND },
  50. { 0x6f, KEY_PAUSE },
  51. { 0x7d, KEY_FORWARD },
  52. { 0x79, KEY_STOP },
  53. };
  54. DEFINE_LEGACY_IR_KEYTABLE(encore_enltv2);
  55. #else
  56. DECLARE_IR_KEYTABLE(encore_enltv2);
  57. #endif