pinnacle-pctv-hd.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* pinnacle-pctv-hd.h - Keytable for pinnacle_pctv_hd 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. /* Pinnacle PCTV HD 800i mini remote */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode pinnacle_pctv_hd[] = {
  13. { 0x0f, KEY_1 },
  14. { 0x15, KEY_2 },
  15. { 0x10, KEY_3 },
  16. { 0x18, KEY_4 },
  17. { 0x1b, KEY_5 },
  18. { 0x1e, KEY_6 },
  19. { 0x11, KEY_7 },
  20. { 0x21, KEY_8 },
  21. { 0x12, KEY_9 },
  22. { 0x27, KEY_0 },
  23. { 0x24, KEY_ZOOM },
  24. { 0x2a, KEY_SUBTITLE },
  25. { 0x00, KEY_MUTE },
  26. { 0x01, KEY_ENTER }, /* Pinnacle Logo */
  27. { 0x39, KEY_POWER },
  28. { 0x03, KEY_VOLUMEUP },
  29. { 0x09, KEY_VOLUMEDOWN },
  30. { 0x06, KEY_CHANNELUP },
  31. { 0x0c, KEY_CHANNELDOWN },
  32. { 0x2d, KEY_REWIND },
  33. { 0x30, KEY_PLAYPAUSE },
  34. { 0x33, KEY_FASTFORWARD },
  35. { 0x3c, KEY_STOP },
  36. { 0x36, KEY_RECORD },
  37. { 0x3f, KEY_EPG }, /* Labeled "?" */
  38. };
  39. DEFINE_LEGACY_IR_KEYTABLE(pinnacle_pctv_hd);
  40. #else
  41. DECLARE_IR_KEYTABLE(pinnacle_pctv_hd);
  42. #endif