fusionhdtv-mce.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* fusionhdtv-mce.h - Keytable for fusionhdtv_mce 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. /* DViCO FUSION HDTV MCE remote */
  11. #ifdef IR_KEYMAPS
  12. static struct ir_scancode fusionhdtv_mce[] = {
  13. { 0x0b, KEY_1 },
  14. { 0x17, KEY_2 },
  15. { 0x1b, KEY_3 },
  16. { 0x07, KEY_4 },
  17. { 0x50, KEY_5 },
  18. { 0x54, KEY_6 },
  19. { 0x48, KEY_7 },
  20. { 0x4c, KEY_8 },
  21. { 0x58, KEY_9 },
  22. { 0x03, KEY_0 },
  23. { 0x5e, KEY_OK },
  24. { 0x51, KEY_UP },
  25. { 0x53, KEY_DOWN },
  26. { 0x5b, KEY_LEFT },
  27. { 0x5f, KEY_RIGHT },
  28. { 0x02, KEY_TV }, /* Labeled DTV on remote */
  29. { 0x0e, KEY_MP3 },
  30. { 0x1a, KEY_DVD },
  31. { 0x1e, KEY_FAVORITES }, /* Labeled CPF on remote */
  32. { 0x16, KEY_SETUP },
  33. { 0x46, KEY_POWER2 }, /* TV On/Off button on remote */
  34. { 0x0a, KEY_EPG }, /* Labeled Guide on remote */
  35. { 0x49, KEY_BACK },
  36. { 0x59, KEY_INFO }, /* Labeled MORE on remote */
  37. { 0x4d, KEY_MENU }, /* Labeled DVDMENU on remote */
  38. { 0x55, KEY_CYCLEWINDOWS }, /* Labeled ALT-TAB on remote */
  39. { 0x0f, KEY_PREVIOUSSONG }, /* Labeled |<< REPLAY on remote */
  40. { 0x12, KEY_NEXTSONG }, /* Labeled >>| SKIP on remote */
  41. { 0x42, KEY_ENTER }, /* Labeled START with a green
  42. MS windows logo on remote */
  43. { 0x15, KEY_VOLUMEUP },
  44. { 0x05, KEY_VOLUMEDOWN },
  45. { 0x11, KEY_CHANNELUP },
  46. { 0x09, KEY_CHANNELDOWN },
  47. { 0x52, KEY_CAMERA },
  48. { 0x5a, KEY_TUNER },
  49. { 0x19, KEY_OPEN },
  50. { 0x13, KEY_MODE }, /* 4:3 16:9 select */
  51. { 0x1f, KEY_ZOOM },
  52. { 0x43, KEY_REWIND },
  53. { 0x47, KEY_PLAYPAUSE },
  54. { 0x4f, KEY_FASTFORWARD },
  55. { 0x57, KEY_MUTE },
  56. { 0x0d, KEY_STOP },
  57. { 0x01, KEY_RECORD },
  58. { 0x4e, KEY_POWER },
  59. };
  60. DEFINE_LEGACY_IR_KEYTABLE(fusionhdtv_mce);
  61. #else
  62. DECLARE_IR_KEYTABLE(fusionhdtv_mce);
  63. #endif