dntv-live-dvb-t.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* dntv-live-dvb-t.h - Keytable for dntv_live_dvb_t 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. /* DigitalNow DNTV Live DVB-T Remote */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode dntv_live_dvb_t[] = {
  13. { 0x00, KEY_ESC }, /* 'go up a level?' */
  14. /* Keys 0 to 9 */
  15. { 0x0a, KEY_0 },
  16. { 0x01, KEY_1 },
  17. { 0x02, KEY_2 },
  18. { 0x03, KEY_3 },
  19. { 0x04, KEY_4 },
  20. { 0x05, KEY_5 },
  21. { 0x06, KEY_6 },
  22. { 0x07, KEY_7 },
  23. { 0x08, KEY_8 },
  24. { 0x09, KEY_9 },
  25. { 0x0b, KEY_TUNER }, /* tv/fm */
  26. { 0x0c, KEY_SEARCH }, /* scan */
  27. { 0x0d, KEY_STOP },
  28. { 0x0e, KEY_PAUSE },
  29. { 0x0f, KEY_LIST }, /* source */
  30. { 0x10, KEY_MUTE },
  31. { 0x11, KEY_REWIND }, /* backward << */
  32. { 0x12, KEY_POWER },
  33. { 0x13, KEY_CAMERA }, /* snap */
  34. { 0x14, KEY_AUDIO }, /* stereo */
  35. { 0x15, KEY_CLEAR }, /* reset */
  36. { 0x16, KEY_PLAY },
  37. { 0x17, KEY_ENTER },
  38. { 0x18, KEY_ZOOM }, /* full screen */
  39. { 0x19, KEY_FASTFORWARD }, /* forward >> */
  40. { 0x1a, KEY_CHANNELUP },
  41. { 0x1b, KEY_VOLUMEUP },
  42. { 0x1c, KEY_INFO }, /* preview */
  43. { 0x1d, KEY_RECORD }, /* record */
  44. { 0x1e, KEY_CHANNELDOWN },
  45. { 0x1f, KEY_VOLUMEDOWN },
  46. };
  47. DEFINE_LEGACY_IR_KEYTABLE(dntv_live_dvb_t);
  48. #else
  49. DECLARE_IR_KEYTABLE(dntv_live_dvb_t);
  50. #endif