powercolor-real-angel.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* powercolor-real-angel.h - Keytable for powercolor_real_angel 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. /*
  11. * Remote control for Powercolor Real Angel 330
  12. * Daniel Fraga <fragabr@gmail.com>
  13. */
  14. #ifdef IR_KEYMAPS
  15. static struct ir_scancode powercolor_real_angel[] = {
  16. { 0x38, KEY_SWITCHVIDEOMODE }, /* switch inputs */
  17. { 0x0c, KEY_MEDIA }, /* Turn ON/OFF App */
  18. { 0x00, KEY_0 },
  19. { 0x01, KEY_1 },
  20. { 0x02, KEY_2 },
  21. { 0x03, KEY_3 },
  22. { 0x04, KEY_4 },
  23. { 0x05, KEY_5 },
  24. { 0x06, KEY_6 },
  25. { 0x07, KEY_7 },
  26. { 0x08, KEY_8 },
  27. { 0x09, KEY_9 },
  28. { 0x0a, KEY_DIGITS }, /* single, double, tripple digit */
  29. { 0x29, KEY_PREVIOUS }, /* previous channel */
  30. { 0x12, KEY_BRIGHTNESSUP },
  31. { 0x13, KEY_BRIGHTNESSDOWN },
  32. { 0x2b, KEY_MODE }, /* stereo/mono */
  33. { 0x2c, KEY_TEXT }, /* teletext */
  34. { 0x20, KEY_CHANNELUP }, /* channel up */
  35. { 0x21, KEY_CHANNELDOWN }, /* channel down */
  36. { 0x10, KEY_VOLUMEUP }, /* volume up */
  37. { 0x11, KEY_VOLUMEDOWN }, /* volume down */
  38. { 0x0d, KEY_MUTE },
  39. { 0x1f, KEY_RECORD },
  40. { 0x17, KEY_PLAY },
  41. { 0x16, KEY_PAUSE },
  42. { 0x0b, KEY_STOP },
  43. { 0x27, KEY_FASTFORWARD },
  44. { 0x26, KEY_REWIND },
  45. { 0x1e, KEY_SEARCH }, /* autoscan */
  46. { 0x0e, KEY_CAMERA }, /* snapshot */
  47. { 0x2d, KEY_SETUP },
  48. { 0x0f, KEY_SCREEN }, /* full screen */
  49. { 0x14, KEY_RADIO }, /* FM radio */
  50. { 0x25, KEY_POWER }, /* power */
  51. };
  52. DEFINE_LEGACY_IR_KEYTABLE(powercolor_real_angel);
  53. #else
  54. DECLARE_IR_KEYTABLE(powercolor_real_angel);
  55. #endif