msi-tvanywhere.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* msi-tvanywhere.h - Keytable for msi_tvanywhere 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 msi_tvanywhere[] = {
  12. /* Keys 0 to 9 */
  13. { 0x00, KEY_0 },
  14. { 0x01, KEY_1 },
  15. { 0x02, KEY_2 },
  16. { 0x03, KEY_3 },
  17. { 0x04, KEY_4 },
  18. { 0x05, KEY_5 },
  19. { 0x06, KEY_6 },
  20. { 0x07, KEY_7 },
  21. { 0x08, KEY_8 },
  22. { 0x09, KEY_9 },
  23. { 0x0c, KEY_MUTE },
  24. { 0x0f, KEY_SCREEN }, /* Full Screen */
  25. { 0x10, KEY_FN }, /* Funtion */
  26. { 0x11, KEY_TIME }, /* Time shift */
  27. { 0x12, KEY_POWER },
  28. { 0x13, KEY_MEDIA }, /* MTS */
  29. { 0x14, KEY_SLOW },
  30. { 0x16, KEY_REWIND }, /* backward << */
  31. { 0x17, KEY_ENTER }, /* Return */
  32. { 0x18, KEY_FASTFORWARD }, /* forward >> */
  33. { 0x1a, KEY_CHANNELUP },
  34. { 0x1b, KEY_VOLUMEUP },
  35. { 0x1e, KEY_CHANNELDOWN },
  36. { 0x1f, KEY_VOLUMEDOWN },
  37. };
  38. DEFINE_LEGACY_IR_KEYTABLE(msi_tvanywhere);
  39. #else
  40. DECLARE_IR_KEYTABLE(msi_tvanywhere);
  41. #endif