flyvideo.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* flyvideo.h - Keytable for flyvideo 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 flyvideo[] = {
  12. { 0x0f, KEY_0 },
  13. { 0x03, KEY_1 },
  14. { 0x04, KEY_2 },
  15. { 0x05, KEY_3 },
  16. { 0x07, KEY_4 },
  17. { 0x08, KEY_5 },
  18. { 0x09, KEY_6 },
  19. { 0x0b, KEY_7 },
  20. { 0x0c, KEY_8 },
  21. { 0x0d, KEY_9 },
  22. { 0x0e, KEY_MODE }, /* Air/Cable */
  23. { 0x11, KEY_VIDEO }, /* Video */
  24. { 0x15, KEY_AUDIO }, /* Audio */
  25. { 0x00, KEY_POWER }, /* Power */
  26. { 0x18, KEY_TUNER }, /* AV Source */
  27. { 0x02, KEY_ZOOM }, /* Fullscreen */
  28. { 0x1a, KEY_LANGUAGE }, /* Stereo */
  29. { 0x1b, KEY_MUTE }, /* Mute */
  30. { 0x14, KEY_VOLUMEUP }, /* Volume + */
  31. { 0x17, KEY_VOLUMEDOWN },/* Volume - */
  32. { 0x12, KEY_CHANNELUP },/* Channel + */
  33. { 0x13, KEY_CHANNELDOWN },/* Channel - */
  34. { 0x06, KEY_AGAIN }, /* Recall */
  35. { 0x10, KEY_ENTER }, /* Enter */
  36. { 0x19, KEY_BACK }, /* Rewind ( <<< ) */
  37. { 0x1f, KEY_FORWARD }, /* Forward ( >>> ) */
  38. { 0x0a, KEY_ANGLE }, /* no label, may be used as the PAUSE button */
  39. };
  40. DEFINE_LEGACY_IR_KEYTABLE(flyvideo);
  41. #else
  42. DECLARE_IR_KEYTABLE(flyvideo);
  43. #endif