tevii-nec.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* tevii-nec.h - Keytable for tevii_nec 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 tevii_nec[] = {
  12. { 0x0a, KEY_POWER2},
  13. { 0x0c, KEY_MUTE},
  14. { 0x11, KEY_1},
  15. { 0x12, KEY_2},
  16. { 0x13, KEY_3},
  17. { 0x14, KEY_4},
  18. { 0x15, KEY_5},
  19. { 0x16, KEY_6},
  20. { 0x17, KEY_7},
  21. { 0x18, KEY_8},
  22. { 0x19, KEY_9},
  23. { 0x10, KEY_0},
  24. { 0x1c, KEY_MENU},
  25. { 0x0f, KEY_VOLUMEDOWN},
  26. { 0x1a, KEY_LAST},
  27. { 0x0e, KEY_OPEN},
  28. { 0x04, KEY_RECORD},
  29. { 0x09, KEY_VOLUMEUP},
  30. { 0x08, KEY_CHANNELUP},
  31. { 0x07, KEY_PVR},
  32. { 0x0b, KEY_TIME},
  33. { 0x02, KEY_RIGHT},
  34. { 0x03, KEY_LEFT},
  35. { 0x00, KEY_UP},
  36. { 0x1f, KEY_OK},
  37. { 0x01, KEY_DOWN},
  38. { 0x05, KEY_TUNER},
  39. { 0x06, KEY_CHANNELDOWN},
  40. { 0x40, KEY_PLAYPAUSE},
  41. { 0x1e, KEY_REWIND},
  42. { 0x1b, KEY_FAVORITES},
  43. { 0x1d, KEY_BACK},
  44. { 0x4d, KEY_FASTFORWARD},
  45. { 0x44, KEY_EPG},
  46. { 0x4c, KEY_INFO},
  47. { 0x41, KEY_AB},
  48. { 0x43, KEY_AUDIO},
  49. { 0x45, KEY_SUBTITLE},
  50. { 0x4a, KEY_LIST},
  51. { 0x46, KEY_F1},
  52. { 0x47, KEY_F2},
  53. { 0x5e, KEY_F3},
  54. { 0x5c, KEY_F4},
  55. { 0x52, KEY_F5},
  56. { 0x5a, KEY_F6},
  57. { 0x56, KEY_MODE},
  58. { 0x58, KEY_SWITCHVIDEOMODE},
  59. };
  60. DEFINE_LEGACY_IR_KEYTABLE(tevii_nec);
  61. #else
  62. DECLARE_IR_KEYTABLE(tevii_nec);
  63. #endif