cinergy.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /* cinergy.h - Keytable for cinergy 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 cinergy[] = {
  12. { 0x00, KEY_0 },
  13. { 0x01, KEY_1 },
  14. { 0x02, KEY_2 },
  15. { 0x03, KEY_3 },
  16. { 0x04, KEY_4 },
  17. { 0x05, KEY_5 },
  18. { 0x06, KEY_6 },
  19. { 0x07, KEY_7 },
  20. { 0x08, KEY_8 },
  21. { 0x09, KEY_9 },
  22. { 0x0a, KEY_POWER },
  23. { 0x0b, KEY_PROG1 }, /* app */
  24. { 0x0c, KEY_ZOOM }, /* zoom/fullscreen */
  25. { 0x0d, KEY_CHANNELUP }, /* channel */
  26. { 0x0e, KEY_CHANNELDOWN }, /* channel- */
  27. { 0x0f, KEY_VOLUMEUP },
  28. { 0x10, KEY_VOLUMEDOWN },
  29. { 0x11, KEY_TUNER }, /* AV */
  30. { 0x12, KEY_NUMLOCK }, /* -/-- */
  31. { 0x13, KEY_AUDIO }, /* audio */
  32. { 0x14, KEY_MUTE },
  33. { 0x15, KEY_UP },
  34. { 0x16, KEY_DOWN },
  35. { 0x17, KEY_LEFT },
  36. { 0x18, KEY_RIGHT },
  37. { 0x19, BTN_LEFT, },
  38. { 0x1a, BTN_RIGHT, },
  39. { 0x1b, KEY_WWW }, /* text */
  40. { 0x1c, KEY_REWIND },
  41. { 0x1d, KEY_FORWARD },
  42. { 0x1e, KEY_RECORD },
  43. { 0x1f, KEY_PLAY },
  44. { 0x20, KEY_PREVIOUSSONG },
  45. { 0x21, KEY_NEXTSONG },
  46. { 0x22, KEY_PAUSE },
  47. { 0x23, KEY_STOP },
  48. };
  49. DEFINE_LEGACY_IR_KEYTABLE(cinergy);
  50. #else
  51. DECLARE_IR_KEYTABLE(cinergy);
  52. #endif