gadmei-rm008z.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* gadmei-rm008z.h - Keytable for gadmei_rm008z 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. /* GADMEI UTV330+ RM008Z remote
  11. Shine Liu <shinel@foxmail.com>
  12. */
  13. #ifdef IR_KEYMAPS
  14. static struct ir_scancode gadmei_rm008z[] = {
  15. { 0x14, KEY_POWER2}, /* POWER OFF */
  16. { 0x0c, KEY_MUTE}, /* MUTE */
  17. { 0x18, KEY_TV}, /* TV */
  18. { 0x0e, KEY_VIDEO}, /* AV */
  19. { 0x0b, KEY_AUDIO}, /* SV */
  20. { 0x0f, KEY_RADIO}, /* FM */
  21. { 0x00, KEY_1},
  22. { 0x01, KEY_2},
  23. { 0x02, KEY_3},
  24. { 0x03, KEY_4},
  25. { 0x04, KEY_5},
  26. { 0x05, KEY_6},
  27. { 0x06, KEY_7},
  28. { 0x07, KEY_8},
  29. { 0x08, KEY_9},
  30. { 0x09, KEY_0},
  31. { 0x0a, KEY_INFO}, /* OSD */
  32. { 0x1c, KEY_BACKSPACE}, /* LAST */
  33. { 0x0d, KEY_PLAY}, /* PLAY */
  34. { 0x1e, KEY_CAMERA}, /* SNAPSHOT */
  35. { 0x1a, KEY_RECORD}, /* RECORD */
  36. { 0x17, KEY_STOP}, /* STOP */
  37. { 0x1f, KEY_UP}, /* UP */
  38. { 0x44, KEY_DOWN}, /* DOWN */
  39. { 0x46, KEY_TAB}, /* BACK */
  40. { 0x4a, KEY_ZOOM}, /* FULLSECREEN */
  41. { 0x10, KEY_VOLUMEUP}, /* VOLUMEUP */
  42. { 0x11, KEY_VOLUMEDOWN}, /* VOLUMEDOWN */
  43. { 0x12, KEY_CHANNELUP}, /* CHANNELUP */
  44. { 0x13, KEY_CHANNELDOWN}, /* CHANNELDOWN */
  45. { 0x15, KEY_ENTER}, /* OK */
  46. };
  47. DEFINE_LEGACY_IR_KEYTABLE(gadmei_rm008z);
  48. #else
  49. DECLARE_IR_KEYTABLE(gadmei_rm008z);
  50. #endif