proteus-2309.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* proteus-2309.h - Keytable for proteus_2309 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. /* Michal Majchrowicz <mmajchrowicz@gmail.com> */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode proteus_2309[] = {
  13. /* numeric */
  14. { 0x00, KEY_0 },
  15. { 0x01, KEY_1 },
  16. { 0x02, KEY_2 },
  17. { 0x03, KEY_3 },
  18. { 0x04, KEY_4 },
  19. { 0x05, KEY_5 },
  20. { 0x06, KEY_6 },
  21. { 0x07, KEY_7 },
  22. { 0x08, KEY_8 },
  23. { 0x09, KEY_9 },
  24. { 0x5c, KEY_POWER }, /* power */
  25. { 0x20, KEY_ZOOM }, /* full screen */
  26. { 0x0f, KEY_BACKSPACE }, /* recall */
  27. { 0x1b, KEY_ENTER }, /* mute */
  28. { 0x41, KEY_RECORD }, /* record */
  29. { 0x43, KEY_STOP }, /* stop */
  30. { 0x16, KEY_S },
  31. { 0x1a, KEY_POWER2 }, /* off */
  32. { 0x2e, KEY_RED },
  33. { 0x1f, KEY_CHANNELDOWN }, /* channel - */
  34. { 0x1c, KEY_CHANNELUP }, /* channel + */
  35. { 0x10, KEY_VOLUMEDOWN }, /* volume - */
  36. { 0x1e, KEY_VOLUMEUP }, /* volume + */
  37. { 0x14, KEY_F1 },
  38. };
  39. DEFINE_LEGACY_IR_KEYTABLE(proteus_2309);
  40. #else
  41. DECLARE_IR_KEYTABLE(proteus_2309);
  42. #endif