iodata-bctv7e.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* iodata-bctv7e.h - Keytable for iodata_bctv7e 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. /* IO-DATA BCTV7E Remote */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode iodata_bctv7e[] = {
  13. { 0x40, KEY_TV },
  14. { 0x20, KEY_RADIO }, /* FM */
  15. { 0x60, KEY_EPG },
  16. { 0x00, KEY_POWER },
  17. /* Keys 0 to 9 */
  18. { 0x44, KEY_0 }, /* 10 */
  19. { 0x50, KEY_1 },
  20. { 0x30, KEY_2 },
  21. { 0x70, KEY_3 },
  22. { 0x48, KEY_4 },
  23. { 0x28, KEY_5 },
  24. { 0x68, KEY_6 },
  25. { 0x58, KEY_7 },
  26. { 0x38, KEY_8 },
  27. { 0x78, KEY_9 },
  28. { 0x10, KEY_L }, /* Live */
  29. { 0x08, KEY_TIME }, /* Time Shift */
  30. { 0x18, KEY_PLAYPAUSE }, /* Play */
  31. { 0x24, KEY_ENTER }, /* 11 */
  32. { 0x64, KEY_ESC }, /* 12 */
  33. { 0x04, KEY_M }, /* Multi */
  34. { 0x54, KEY_VIDEO },
  35. { 0x34, KEY_CHANNELUP },
  36. { 0x74, KEY_VOLUMEUP },
  37. { 0x14, KEY_MUTE },
  38. { 0x4c, KEY_VCR }, /* SVIDEO */
  39. { 0x2c, KEY_CHANNELDOWN },
  40. { 0x6c, KEY_VOLUMEDOWN },
  41. { 0x0c, KEY_ZOOM },
  42. { 0x5c, KEY_PAUSE },
  43. { 0x3c, KEY_RED }, /* || (red) */
  44. { 0x7c, KEY_RECORD }, /* recording */
  45. { 0x1c, KEY_STOP },
  46. { 0x41, KEY_REWIND }, /* backward << */
  47. { 0x21, KEY_PLAY },
  48. { 0x61, KEY_FASTFORWARD }, /* forward >> */
  49. { 0x01, KEY_NEXT }, /* skip >| */
  50. };
  51. DEFINE_LEGACY_IR_KEYTABLE(iodata_bctv7e);
  52. #else
  53. DECLARE_IR_KEYTABLE(iodata_bctv7e);
  54. #endif