avertv-303.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* avertv-303.h - Keytable for avertv_303 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. /* AVERTV STUDIO 303 Remote */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode avertv_303[] = {
  13. { 0x2a, KEY_1 },
  14. { 0x32, KEY_2 },
  15. { 0x3a, KEY_3 },
  16. { 0x4a, KEY_4 },
  17. { 0x52, KEY_5 },
  18. { 0x5a, KEY_6 },
  19. { 0x6a, KEY_7 },
  20. { 0x72, KEY_8 },
  21. { 0x7a, KEY_9 },
  22. { 0x0e, KEY_0 },
  23. { 0x02, KEY_POWER },
  24. { 0x22, KEY_VIDEO },
  25. { 0x42, KEY_AUDIO },
  26. { 0x62, KEY_ZOOM },
  27. { 0x0a, KEY_TV },
  28. { 0x12, KEY_CD },
  29. { 0x1a, KEY_TEXT },
  30. { 0x16, KEY_SUBTITLE },
  31. { 0x1e, KEY_REWIND },
  32. { 0x06, KEY_PRINT },
  33. { 0x2e, KEY_SEARCH },
  34. { 0x36, KEY_SLEEP },
  35. { 0x3e, KEY_SHUFFLE },
  36. { 0x26, KEY_MUTE },
  37. { 0x4e, KEY_RECORD },
  38. { 0x56, KEY_PAUSE },
  39. { 0x5e, KEY_STOP },
  40. { 0x46, KEY_PLAY },
  41. { 0x6e, KEY_RED },
  42. { 0x0b, KEY_GREEN },
  43. { 0x66, KEY_YELLOW },
  44. { 0x03, KEY_BLUE },
  45. { 0x76, KEY_LEFT },
  46. { 0x7e, KEY_RIGHT },
  47. { 0x13, KEY_DOWN },
  48. { 0x1b, KEY_UP },
  49. };
  50. DEFINE_LEGACY_IR_KEYTABLE(avertv_303);
  51. #else
  52. DECLARE_IR_KEYTABLE(avertv_303);
  53. #endif