kaiomy.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* kaiomy.h - Keytable for kaiomy 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. /* Kaiomy TVnPC U2
  11. Mauro Carvalho Chehab <mchehab@infradead.org>
  12. */
  13. #ifdef IR_KEYMAPS
  14. static struct ir_scancode kaiomy[] = {
  15. { 0x43, KEY_POWER2},
  16. { 0x01, KEY_LIST},
  17. { 0x0b, KEY_ZOOM},
  18. { 0x03, KEY_POWER},
  19. { 0x04, KEY_1},
  20. { 0x08, KEY_2},
  21. { 0x02, KEY_3},
  22. { 0x0f, KEY_4},
  23. { 0x05, KEY_5},
  24. { 0x06, KEY_6},
  25. { 0x0c, KEY_7},
  26. { 0x0d, KEY_8},
  27. { 0x0a, KEY_9},
  28. { 0x11, KEY_0},
  29. { 0x09, KEY_CHANNELUP},
  30. { 0x07, KEY_CHANNELDOWN},
  31. { 0x0e, KEY_VOLUMEUP},
  32. { 0x13, KEY_VOLUMEDOWN},
  33. { 0x10, KEY_HOME},
  34. { 0x12, KEY_ENTER},
  35. { 0x14, KEY_RECORD},
  36. { 0x15, KEY_STOP},
  37. { 0x16, KEY_PLAY},
  38. { 0x17, KEY_MUTE},
  39. { 0x18, KEY_UP},
  40. { 0x19, KEY_DOWN},
  41. { 0x1a, KEY_LEFT},
  42. { 0x1b, KEY_RIGHT},
  43. { 0x1c, KEY_RED},
  44. { 0x1d, KEY_GREEN},
  45. { 0x1e, KEY_YELLOW},
  46. { 0x1f, KEY_BLUE},
  47. };
  48. DEFINE_LEGACY_IR_KEYTABLE(kaiomy);
  49. #else
  50. DECLARE_IR_KEYTABLE(kaiomy);
  51. #endif