purpletv.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* purpletv.h - Keytable for purpletv 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. #ifdef IR_KEYMAPS
  11. static struct ir_scancode purpletv[] = {
  12. { 0x03, KEY_POWER },
  13. { 0x6f, KEY_MUTE },
  14. { 0x10, KEY_BACKSPACE }, /* Recall */
  15. { 0x11, KEY_0 },
  16. { 0x04, KEY_1 },
  17. { 0x05, KEY_2 },
  18. { 0x06, KEY_3 },
  19. { 0x08, KEY_4 },
  20. { 0x09, KEY_5 },
  21. { 0x0a, KEY_6 },
  22. { 0x0c, KEY_7 },
  23. { 0x0d, KEY_8 },
  24. { 0x0e, KEY_9 },
  25. { 0x12, KEY_DOT }, /* 100+ */
  26. { 0x07, KEY_VOLUMEUP },
  27. { 0x0b, KEY_VOLUMEDOWN },
  28. { 0x1a, KEY_KPPLUS },
  29. { 0x18, KEY_KPMINUS },
  30. { 0x15, KEY_UP },
  31. { 0x1d, KEY_DOWN },
  32. { 0x0f, KEY_CHANNELUP },
  33. { 0x13, KEY_CHANNELDOWN },
  34. { 0x48, KEY_ZOOM },
  35. { 0x1b, KEY_VIDEO }, /* Video source */
  36. { 0x1f, KEY_CAMERA }, /* Snapshot */
  37. { 0x49, KEY_LANGUAGE }, /* MTS Select */
  38. { 0x19, KEY_SEARCH }, /* Auto Scan */
  39. { 0x4b, KEY_RECORD },
  40. { 0x46, KEY_PLAY },
  41. { 0x45, KEY_PAUSE }, /* Pause */
  42. { 0x44, KEY_STOP },
  43. { 0x43, KEY_TIME }, /* Time Shift */
  44. { 0x17, KEY_CHANNEL }, /* SURF CH */
  45. { 0x40, KEY_FORWARD }, /* Forward ? */
  46. { 0x42, KEY_REWIND }, /* Backward ? */
  47. };
  48. DEFINE_LEGACY_IR_KEYTABLE(purpletv);
  49. #else
  50. DECLARE_IR_KEYTABLE(purpletv);
  51. #endif