budget-ci-old.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* budget-ci-old.h - Keytable for budget_ci_old 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. /* From reading the following remotes:
  11. * Zenith Universal 7 / TV Mode 807 / VCR Mode 837
  12. * Hauppauge (from NOVA-CI-s box product)
  13. * This is a "middle of the road" approach, differences are noted
  14. */
  15. #ifdef IR_KEYMAPS
  16. static struct ir_scancode budget_ci_old[] = {
  17. { 0x00, KEY_0 },
  18. { 0x01, KEY_1 },
  19. { 0x02, KEY_2 },
  20. { 0x03, KEY_3 },
  21. { 0x04, KEY_4 },
  22. { 0x05, KEY_5 },
  23. { 0x06, KEY_6 },
  24. { 0x07, KEY_7 },
  25. { 0x08, KEY_8 },
  26. { 0x09, KEY_9 },
  27. { 0x0a, KEY_ENTER },
  28. { 0x0b, KEY_RED },
  29. { 0x0c, KEY_POWER }, /* RADIO on Hauppauge */
  30. { 0x0d, KEY_MUTE },
  31. { 0x0f, KEY_A }, /* TV on Hauppauge */
  32. { 0x10, KEY_VOLUMEUP },
  33. { 0x11, KEY_VOLUMEDOWN },
  34. { 0x14, KEY_B },
  35. { 0x1c, KEY_UP },
  36. { 0x1d, KEY_DOWN },
  37. { 0x1e, KEY_OPTION }, /* RESERVED on Hauppauge */
  38. { 0x1f, KEY_BREAK },
  39. { 0x20, KEY_CHANNELUP },
  40. { 0x21, KEY_CHANNELDOWN },
  41. { 0x22, KEY_PREVIOUS }, /* Prev Ch on Zenith, SOURCE on Hauppauge */
  42. { 0x24, KEY_RESTART },
  43. { 0x25, KEY_OK },
  44. { 0x26, KEY_CYCLEWINDOWS }, /* MINIMIZE on Hauppauge */
  45. { 0x28, KEY_ENTER }, /* VCR mode on Zenith */
  46. { 0x29, KEY_PAUSE },
  47. { 0x2b, KEY_RIGHT },
  48. { 0x2c, KEY_LEFT },
  49. { 0x2e, KEY_MENU }, /* FULL SCREEN on Hauppauge */
  50. { 0x30, KEY_SLOW },
  51. { 0x31, KEY_PREVIOUS }, /* VCR mode on Zenith */
  52. { 0x32, KEY_REWIND },
  53. { 0x34, KEY_FASTFORWARD },
  54. { 0x35, KEY_PLAY },
  55. { 0x36, KEY_STOP },
  56. { 0x37, KEY_RECORD },
  57. { 0x38, KEY_TUNER }, /* TV/VCR on Zenith */
  58. { 0x3a, KEY_C },
  59. { 0x3c, KEY_EXIT },
  60. { 0x3d, KEY_POWER2 },
  61. { 0x3e, KEY_TUNER },
  62. };
  63. DEFINE_LEGACY_IR_KEYTABLE(budget_ci_old);
  64. #else
  65. DECLARE_IR_KEYTABLE(budget_ci_old);
  66. #endif