encore-enltv-fm53.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* encore-enltv-fm53.h - Keytable for encore_enltv_fm53 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 v5.3
  11. Mauro Carvalho Chehab <mchehab@infradead.org>
  12. */
  13. #ifdef IR_KEYMAPS
  14. static struct ir_scancode encore_enltv_fm53[] = {
  15. { 0x10, KEY_POWER2},
  16. { 0x06, KEY_MUTE},
  17. { 0x09, KEY_1},
  18. { 0x1d, KEY_2},
  19. { 0x1f, KEY_3},
  20. { 0x19, KEY_4},
  21. { 0x1b, KEY_5},
  22. { 0x11, KEY_6},
  23. { 0x17, KEY_7},
  24. { 0x12, KEY_8},
  25. { 0x16, KEY_9},
  26. { 0x48, KEY_0},
  27. { 0x04, KEY_LIST}, /* -/-- */
  28. { 0x40, KEY_LAST}, /* recall */
  29. { 0x02, KEY_MODE}, /* TV/AV */
  30. { 0x05, KEY_CAMERA}, /* SNAPSHOT */
  31. { 0x4c, KEY_CHANNELUP}, /* UP */
  32. { 0x00, KEY_CHANNELDOWN}, /* DOWN */
  33. { 0x0d, KEY_VOLUMEUP}, /* RIGHT */
  34. { 0x15, KEY_VOLUMEDOWN}, /* LEFT */
  35. { 0x49, KEY_ENTER}, /* OK */
  36. { 0x54, KEY_RECORD},
  37. { 0x4d, KEY_PLAY}, /* pause */
  38. { 0x1e, KEY_MENU}, /* video setting */
  39. { 0x0e, KEY_RIGHT}, /* <- */
  40. { 0x1a, KEY_LEFT}, /* -> */
  41. { 0x0a, KEY_CLEAR}, /* video default */
  42. { 0x0c, KEY_ZOOM}, /* hide pannel */
  43. { 0x47, KEY_SLEEP}, /* shutdown */
  44. };
  45. DEFINE_LEGACY_IR_KEYTABLE(encore_enltv_fm53);
  46. #else
  47. DECLARE_IR_KEYTABLE(encore_enltv_fm53);
  48. #endif