cinergy-1400.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* cinergy-1400.h - Keytable for cinergy_1400 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. /* Cinergy 1400 DVB-T */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode cinergy_1400[] = {
  13. { 0x01, KEY_POWER },
  14. { 0x02, KEY_1 },
  15. { 0x03, KEY_2 },
  16. { 0x04, KEY_3 },
  17. { 0x05, KEY_4 },
  18. { 0x06, KEY_5 },
  19. { 0x07, KEY_6 },
  20. { 0x08, KEY_7 },
  21. { 0x09, KEY_8 },
  22. { 0x0a, KEY_9 },
  23. { 0x0c, KEY_0 },
  24. { 0x0b, KEY_VIDEO },
  25. { 0x0d, KEY_REFRESH },
  26. { 0x0e, KEY_SELECT },
  27. { 0x0f, KEY_EPG },
  28. { 0x10, KEY_UP },
  29. { 0x11, KEY_LEFT },
  30. { 0x12, KEY_OK },
  31. { 0x13, KEY_RIGHT },
  32. { 0x14, KEY_DOWN },
  33. { 0x15, KEY_TEXT },
  34. { 0x16, KEY_INFO },
  35. { 0x17, KEY_RED },
  36. { 0x18, KEY_GREEN },
  37. { 0x19, KEY_YELLOW },
  38. { 0x1a, KEY_BLUE },
  39. { 0x1b, KEY_CHANNELUP },
  40. { 0x1c, KEY_VOLUMEUP },
  41. { 0x1d, KEY_MUTE },
  42. { 0x1e, KEY_VOLUMEDOWN },
  43. { 0x1f, KEY_CHANNELDOWN },
  44. { 0x40, KEY_PAUSE },
  45. { 0x4c, KEY_PLAY },
  46. { 0x58, KEY_RECORD },
  47. { 0x54, KEY_PREVIOUS },
  48. { 0x48, KEY_STOP },
  49. { 0x5c, KEY_NEXT },
  50. };
  51. DEFINE_LEGACY_IR_KEYTABLE(cinergy_1400);
  52. #else
  53. DECLARE_IR_KEYTABLE(cinergy_1400);
  54. #endif