npgtech.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* npgtech.h - Keytable for npgtech 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 npgtech[] = {
  12. { 0x1d, KEY_SWITCHVIDEOMODE }, /* switch inputs */
  13. { 0x2a, KEY_FRONT },
  14. { 0x3e, KEY_1 },
  15. { 0x02, KEY_2 },
  16. { 0x06, KEY_3 },
  17. { 0x0a, KEY_4 },
  18. { 0x0e, KEY_5 },
  19. { 0x12, KEY_6 },
  20. { 0x16, KEY_7 },
  21. { 0x1a, KEY_8 },
  22. { 0x1e, KEY_9 },
  23. { 0x3a, KEY_0 },
  24. { 0x22, KEY_NUMLOCK }, /* -/-- */
  25. { 0x20, KEY_REFRESH },
  26. { 0x03, KEY_BRIGHTNESSDOWN },
  27. { 0x28, KEY_AUDIO },
  28. { 0x3c, KEY_CHANNELUP },
  29. { 0x3f, KEY_VOLUMEDOWN },
  30. { 0x2e, KEY_MUTE },
  31. { 0x3b, KEY_VOLUMEUP },
  32. { 0x00, KEY_CHANNELDOWN },
  33. { 0x07, KEY_BRIGHTNESSUP },
  34. { 0x2c, KEY_TEXT },
  35. { 0x37, KEY_RECORD },
  36. { 0x17, KEY_PLAY },
  37. { 0x13, KEY_PAUSE },
  38. { 0x26, KEY_STOP },
  39. { 0x18, KEY_FASTFORWARD },
  40. { 0x14, KEY_REWIND },
  41. { 0x33, KEY_ZOOM },
  42. { 0x32, KEY_KEYBOARD },
  43. { 0x30, KEY_GOTO }, /* Pointing arrow */
  44. { 0x36, KEY_MACRO }, /* Maximize/Minimize (yellow) */
  45. { 0x0b, KEY_RADIO },
  46. { 0x10, KEY_POWER },
  47. };
  48. DEFINE_LEGACY_IR_KEYTABLE(npgtech);
  49. #else
  50. DECLARE_IR_KEYTABLE(npgtech);
  51. #endif