adstech-dvb-t-pci.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* adstech-dvb-t-pci.h - Keytable for adstech_dvb_t_pci 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. /* ADS Tech Instant TV DVB-T PCI Remote */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode adstech_dvb_t_pci[] = {
  13. /* Keys 0 to 9 */
  14. { 0x4d, KEY_0 },
  15. { 0x57, KEY_1 },
  16. { 0x4f, KEY_2 },
  17. { 0x53, KEY_3 },
  18. { 0x56, KEY_4 },
  19. { 0x4e, KEY_5 },
  20. { 0x5e, KEY_6 },
  21. { 0x54, KEY_7 },
  22. { 0x4c, KEY_8 },
  23. { 0x5c, KEY_9 },
  24. { 0x5b, KEY_POWER },
  25. { 0x5f, KEY_MUTE },
  26. { 0x55, KEY_GOTO },
  27. { 0x5d, KEY_SEARCH },
  28. { 0x17, KEY_EPG }, /* Guide */
  29. { 0x1f, KEY_MENU },
  30. { 0x0f, KEY_UP },
  31. { 0x46, KEY_DOWN },
  32. { 0x16, KEY_LEFT },
  33. { 0x1e, KEY_RIGHT },
  34. { 0x0e, KEY_SELECT }, /* Enter */
  35. { 0x5a, KEY_INFO },
  36. { 0x52, KEY_EXIT },
  37. { 0x59, KEY_PREVIOUS },
  38. { 0x51, KEY_NEXT },
  39. { 0x58, KEY_REWIND },
  40. { 0x50, KEY_FORWARD },
  41. { 0x44, KEY_PLAYPAUSE },
  42. { 0x07, KEY_STOP },
  43. { 0x1b, KEY_RECORD },
  44. { 0x13, KEY_TUNER }, /* Live */
  45. { 0x0a, KEY_A },
  46. { 0x12, KEY_B },
  47. { 0x03, KEY_PROG1 }, /* 1 */
  48. { 0x01, KEY_PROG2 }, /* 2 */
  49. { 0x00, KEY_PROG3 }, /* 3 */
  50. { 0x06, KEY_DVD },
  51. { 0x48, KEY_AUX }, /* Photo */
  52. { 0x40, KEY_VIDEO },
  53. { 0x19, KEY_AUDIO }, /* Music */
  54. { 0x0b, KEY_CHANNELUP },
  55. { 0x08, KEY_CHANNELDOWN },
  56. { 0x15, KEY_VOLUMEUP },
  57. { 0x1c, KEY_VOLUMEDOWN },
  58. };
  59. DEFINE_LEGACY_IR_KEYTABLE(adstech_dvb_t_pci);
  60. #else
  61. DECLARE_IR_KEYTABLE(adstech_dvb_t_pci);
  62. #endif