pv951.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* pv951.h - Keytable for pv951 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. /* Mark Phalan <phalanm@o2.ie> */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode pv951[] = {
  13. { 0x00, KEY_0 },
  14. { 0x01, KEY_1 },
  15. { 0x02, KEY_2 },
  16. { 0x03, KEY_3 },
  17. { 0x04, KEY_4 },
  18. { 0x05, KEY_5 },
  19. { 0x06, KEY_6 },
  20. { 0x07, KEY_7 },
  21. { 0x08, KEY_8 },
  22. { 0x09, KEY_9 },
  23. { 0x12, KEY_POWER },
  24. { 0x10, KEY_MUTE },
  25. { 0x1f, KEY_VOLUMEDOWN },
  26. { 0x1b, KEY_VOLUMEUP },
  27. { 0x1a, KEY_CHANNELUP },
  28. { 0x1e, KEY_CHANNELDOWN },
  29. { 0x0e, KEY_PAGEUP },
  30. { 0x1d, KEY_PAGEDOWN },
  31. { 0x13, KEY_SOUND },
  32. { 0x18, KEY_KPPLUSMINUS }, /* CH +/- */
  33. { 0x16, KEY_SUBTITLE }, /* CC */
  34. { 0x0d, KEY_TEXT }, /* TTX */
  35. { 0x0b, KEY_TV }, /* AIR/CBL */
  36. { 0x11, KEY_PC }, /* PC/TV */
  37. { 0x17, KEY_OK }, /* CH RTN */
  38. { 0x19, KEY_MODE }, /* FUNC */
  39. { 0x0c, KEY_SEARCH }, /* AUTOSCAN */
  40. /* Not sure what to do with these ones! */
  41. { 0x0f, KEY_SELECT }, /* SOURCE */
  42. { 0x0a, KEY_KPPLUS }, /* +100 */
  43. { 0x14, KEY_EQUAL }, /* SYNC */
  44. { 0x1c, KEY_MEDIA }, /* PC/TV */
  45. };
  46. DEFINE_LEGACY_IR_KEYTABLE(pv951);
  47. #else
  48. DECLARE_IR_KEYTABLE(pv951);
  49. #endif