pctv-sedna.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* pctv-sedna.h - Keytable for pctv_sedna 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. /* Mapping for the 28 key remote control as seen at
  11. http://www.sednacomputer.com/photo/cardbus-tv.jpg
  12. Pavel Mihaylov <bin@bash.info>
  13. Also for the remote bundled with Kozumi KTV-01C card */
  14. #ifdef IR_KEYMAPS
  15. static struct ir_scancode pctv_sedna[] = {
  16. { 0x00, KEY_0 },
  17. { 0x01, KEY_1 },
  18. { 0x02, KEY_2 },
  19. { 0x03, KEY_3 },
  20. { 0x04, KEY_4 },
  21. { 0x05, KEY_5 },
  22. { 0x06, KEY_6 },
  23. { 0x07, KEY_7 },
  24. { 0x08, KEY_8 },
  25. { 0x09, KEY_9 },
  26. { 0x0a, KEY_AGAIN }, /* Recall */
  27. { 0x0b, KEY_CHANNELUP },
  28. { 0x0c, KEY_VOLUMEUP },
  29. { 0x0d, KEY_MODE }, /* Stereo */
  30. { 0x0e, KEY_STOP },
  31. { 0x0f, KEY_PREVIOUSSONG },
  32. { 0x10, KEY_ZOOM },
  33. { 0x11, KEY_TUNER }, /* Source */
  34. { 0x12, KEY_POWER },
  35. { 0x13, KEY_MUTE },
  36. { 0x15, KEY_CHANNELDOWN },
  37. { 0x18, KEY_VOLUMEDOWN },
  38. { 0x19, KEY_CAMERA }, /* Snapshot */
  39. { 0x1a, KEY_NEXTSONG },
  40. { 0x1b, KEY_TIME }, /* Time Shift */
  41. { 0x1c, KEY_RADIO }, /* FM Radio */
  42. { 0x1d, KEY_RECORD },
  43. { 0x1e, KEY_PAUSE },
  44. /* additional codes for Kozumi's remote */
  45. { 0x14, KEY_INFO }, /* OSD */
  46. { 0x16, KEY_OK }, /* OK */
  47. { 0x17, KEY_DIGITS }, /* Plus */
  48. { 0x1f, KEY_PLAY }, /* Play */
  49. };
  50. DEFINE_LEGACY_IR_KEYTABLE(pctv_sedna);
  51. #else
  52. DECLARE_IR_KEYTABLE(pctv_sedna);
  53. #endif