kworld-315u.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* kworld-315u.h - Keytable for kworld_315u 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. /* Kworld 315U
  11. */
  12. #ifdef IR_KEYMAPS
  13. static struct ir_scancode kworld_315u[] = {
  14. { 0x6143, KEY_POWER },
  15. { 0x6101, KEY_TUNER }, /* source */
  16. { 0x610b, KEY_ZOOM },
  17. { 0x6103, KEY_POWER2 }, /* shutdown */
  18. { 0x6104, KEY_1 },
  19. { 0x6108, KEY_2 },
  20. { 0x6102, KEY_3 },
  21. { 0x6109, KEY_CHANNELUP },
  22. { 0x610f, KEY_4 },
  23. { 0x6105, KEY_5 },
  24. { 0x6106, KEY_6 },
  25. { 0x6107, KEY_CHANNELDOWN },
  26. { 0x610c, KEY_7 },
  27. { 0x610d, KEY_8 },
  28. { 0x610a, KEY_9 },
  29. { 0x610e, KEY_VOLUMEUP },
  30. { 0x6110, KEY_LAST },
  31. { 0x6111, KEY_0 },
  32. { 0x6112, KEY_ENTER },
  33. { 0x6113, KEY_VOLUMEDOWN },
  34. { 0x6114, KEY_RECORD },
  35. { 0x6115, KEY_STOP },
  36. { 0x6116, KEY_PLAY },
  37. { 0x6117, KEY_MUTE },
  38. { 0x6118, KEY_UP },
  39. { 0x6119, KEY_DOWN },
  40. { 0x611a, KEY_LEFT },
  41. { 0x611b, KEY_RIGHT },
  42. { 0x611c, KEY_RED },
  43. { 0x611d, KEY_GREEN },
  44. { 0x611e, KEY_YELLOW },
  45. { 0x611f, KEY_BLUE },
  46. };
  47. DEFINE_IR_KEYTABLE(kworld_315u, IR_TYPE_NEC);
  48. #else
  49. DECLARE_IR_KEYTABLE(kworld_315u);
  50. #endif