Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Patch Hauppauge WinTV MiniStick IR remote for linux kernel 2.26.36

By: a guest on Dec 2nd, 2010  |  syntax: None  |  size: 1.69 KB  |  views: 164  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- linux-2.6.36/drivers/media/IR/keymaps/rc-rc5-hauppauge-new.c.rz     2010-11-27 00:43:33.000000000 +0100
  2. +++ linux-2.6.36/drivers/media/IR/keymaps/rc-rc5-hauppauge-new.c        2010-11-28 01:54:22.000000000 +0100
  3. @@ -75,6 +75,57 @@
  4.         { 0x1e3b, KEY_SELECT },         /* top right button */
  5.         { 0x1e3c, KEY_ZOOM },           /* full */
  6.         { 0x1e3d, KEY_POWER },          /* system power (green button) */
  7. +
  8. +       /* Key codes for DSR-0112 remote that came bundled with Haupauge MiniStick */
  9. +       { 0x1d00, KEY_0 },
  10. +       { 0x1d01, KEY_1 },
  11. +       { 0x1d02, KEY_2 },
  12. +       { 0x1d03, KEY_3 },
  13. +       { 0x1d04, KEY_4 },
  14. +       { 0x1d05, KEY_5 },
  15. +       { 0x1d06, KEY_6 },
  16. +       { 0x1d07, KEY_7 },
  17. +       { 0x1d08, KEY_8 },
  18. +       { 0x1d09, KEY_9 },
  19. +       { 0x1d0a, KEY_TEXT },
  20. +
  21. +       { 0x1d0d, KEY_MENU },
  22. +
  23. +       { 0x1d0f, KEY_MUTE },
  24. +       { 0x1d10, KEY_VOLUMEUP },
  25. +       { 0x1d11, KEY_VOLUMEDOWN },
  26. +       { 0x1d12, KEY_CHANNEL },        /* Prev.Ch .. ??? */
  27. +
  28. +       { 0x1d14, KEY_UP },
  29. +       { 0x1d15, KEY_DOWN },
  30. +       { 0x1d16, KEY_LEFT },
  31. +       { 0x1d17, KEY_RIGHT },
  32. +
  33. +       { 0x1d1c, KEY_TV },
  34. +
  35. +       { 0x1d1e, KEY_NEXT },           /* >|             */
  36. +       { 0x1d1f, KEY_BACK },
  37. +       { 0x1d20, KEY_CHANNELUP },
  38. +       { 0x1d21, KEY_CHANNELDOWN },
  39. +
  40. +       { 0x1d24, KEY_LAST },           /* <|             */
  41. +
  42. +       { 0x1d25, KEY_OK },
  43. +
  44. +       { 0x1d30, KEY_PAUSE },
  45. +
  46. +       { 0x1d32, KEY_REWIND },
  47. +
  48. +       { 0x1d34, KEY_FASTFORWARD },
  49. +       { 0x1d35, KEY_PLAY },
  50. +       { 0x1d36, KEY_STOP },
  51. +       { 0x1d37, KEY_RECORD },
  52. +
  53. +       { 0x1d3b, KEY_GOTO },
  54. +
  55. +       { 0x1d3d, KEY_POWER },
  56. +
  57. +       { 0x1d3f, KEY_HOME },
  58.  };