em-terratec.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* em-terratec.h - Keytable for em_terratec 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 em_terratec[] = {
  12. { 0x01, KEY_CHANNEL },
  13. { 0x02, KEY_SELECT },
  14. { 0x03, KEY_MUTE },
  15. { 0x04, KEY_POWER },
  16. { 0x05, KEY_1 },
  17. { 0x06, KEY_2 },
  18. { 0x07, KEY_3 },
  19. { 0x08, KEY_CHANNELUP },
  20. { 0x09, KEY_4 },
  21. { 0x0a, KEY_5 },
  22. { 0x0b, KEY_6 },
  23. { 0x0c, KEY_CHANNELDOWN },
  24. { 0x0d, KEY_7 },
  25. { 0x0e, KEY_8 },
  26. { 0x0f, KEY_9 },
  27. { 0x10, KEY_VOLUMEUP },
  28. { 0x11, KEY_0 },
  29. { 0x12, KEY_MENU },
  30. { 0x13, KEY_PRINT },
  31. { 0x14, KEY_VOLUMEDOWN },
  32. { 0x16, KEY_PAUSE },
  33. { 0x18, KEY_RECORD },
  34. { 0x19, KEY_REWIND },
  35. { 0x1a, KEY_PLAY },
  36. { 0x1b, KEY_FORWARD },
  37. { 0x1c, KEY_BACKSPACE },
  38. { 0x1e, KEY_STOP },
  39. { 0x40, KEY_ZOOM },
  40. };
  41. DEFINE_LEGACY_IR_KEYTABLE(em_terratec);
  42. #else
  43. DECLARE_IR_KEYTABLE(em_terratec);
  44. #endif