pixelview-new.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* pixelview-new.h - Keytable for pixelview_new 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. /*
  11. Mauro Carvalho Chehab <mchehab@infradead.org>
  12. present on PV MPEG 8000GT
  13. */
  14. #ifdef IR_KEYMAPS
  15. static struct ir_scancode pixelview_new[] = {
  16. { 0x3c, KEY_TIME }, /* Timeshift */
  17. { 0x12, KEY_POWER },
  18. { 0x3d, KEY_1 },
  19. { 0x38, KEY_2 },
  20. { 0x18, KEY_3 },
  21. { 0x35, KEY_4 },
  22. { 0x39, KEY_5 },
  23. { 0x15, KEY_6 },
  24. { 0x36, KEY_7 },
  25. { 0x3a, KEY_8 },
  26. { 0x1e, KEY_9 },
  27. { 0x3e, KEY_0 },
  28. { 0x1c, KEY_AGAIN }, /* LOOP */
  29. { 0x3f, KEY_MEDIA }, /* Source */
  30. { 0x1f, KEY_LAST }, /* +100 */
  31. { 0x1b, KEY_MUTE },
  32. { 0x17, KEY_CHANNELDOWN },
  33. { 0x16, KEY_CHANNELUP },
  34. { 0x10, KEY_VOLUMEUP },
  35. { 0x14, KEY_VOLUMEDOWN },
  36. { 0x13, KEY_ZOOM },
  37. { 0x19, KEY_CAMERA }, /* SNAPSHOT */
  38. { 0x1a, KEY_SEARCH }, /* scan */
  39. { 0x37, KEY_REWIND }, /* << */
  40. { 0x32, KEY_RECORD }, /* o (red) */
  41. { 0x33, KEY_FORWARD }, /* >> */
  42. { 0x11, KEY_STOP }, /* square */
  43. { 0x3b, KEY_PLAY }, /* > */
  44. { 0x30, KEY_PLAYPAUSE }, /* || */
  45. { 0x31, KEY_TV },
  46. { 0x34, KEY_RADIO },
  47. };
  48. DEFINE_LEGACY_IR_KEYTABLE(pixelview_new);
  49. #else
  50. DECLARE_IR_KEYTABLE(pixelview_new);
  51. #endif