norwood.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* norwood.h - Keytable for norwood 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. /* Norwood Micro (non-Pro) TV Tuner
  11. By Peter Naulls <peter@chocky.org>
  12. Key comments are the functions given in the manual */
  13. #ifdef IR_KEYMAPS
  14. static struct ir_scancode norwood[] = {
  15. /* Keys 0 to 9 */
  16. { 0x20, KEY_0 },
  17. { 0x21, KEY_1 },
  18. { 0x22, KEY_2 },
  19. { 0x23, KEY_3 },
  20. { 0x24, KEY_4 },
  21. { 0x25, KEY_5 },
  22. { 0x26, KEY_6 },
  23. { 0x27, KEY_7 },
  24. { 0x28, KEY_8 },
  25. { 0x29, KEY_9 },
  26. { 0x78, KEY_TUNER }, /* Video Source */
  27. { 0x2c, KEY_EXIT }, /* Open/Close software */
  28. { 0x2a, KEY_SELECT }, /* 2 Digit Select */
  29. { 0x69, KEY_AGAIN }, /* Recall */
  30. { 0x32, KEY_BRIGHTNESSUP }, /* Brightness increase */
  31. { 0x33, KEY_BRIGHTNESSDOWN }, /* Brightness decrease */
  32. { 0x6b, KEY_KPPLUS }, /* (not named >>>>>) */
  33. { 0x6c, KEY_KPMINUS }, /* (not named <<<<<) */
  34. { 0x2d, KEY_MUTE }, /* Mute */
  35. { 0x30, KEY_VOLUMEUP }, /* Volume up */
  36. { 0x31, KEY_VOLUMEDOWN }, /* Volume down */
  37. { 0x60, KEY_CHANNELUP }, /* Channel up */
  38. { 0x61, KEY_CHANNELDOWN }, /* Channel down */
  39. { 0x3f, KEY_RECORD }, /* Record */
  40. { 0x37, KEY_PLAY }, /* Play */
  41. { 0x36, KEY_PAUSE }, /* Pause */
  42. { 0x2b, KEY_STOP }, /* Stop */
  43. { 0x67, KEY_FASTFORWARD }, /* Foward */
  44. { 0x66, KEY_REWIND }, /* Rewind */
  45. { 0x3e, KEY_SEARCH }, /* Auto Scan */
  46. { 0x2e, KEY_CAMERA }, /* Capture Video */
  47. { 0x6d, KEY_MENU }, /* Show/Hide Control */
  48. { 0x2f, KEY_ZOOM }, /* Full Screen */
  49. { 0x34, KEY_RADIO }, /* FM */
  50. { 0x65, KEY_POWER }, /* Computer power */
  51. };
  52. DEFINE_LEGACY_IR_KEYTABLE(norwood);
  53. #else
  54. DECLARE_IR_KEYTABLE(norwood);
  55. #endif