SHARE
TWEET

Untitled

a guest Nov 14th, 2009 333 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # LIRCRC
  2. # Author(s): Aaron Whitehouse
  3. # Created for use with Mythbuntu
  4. # For the Leadtek WinFast 2000XP CoolCommand Y0400046 remote
  5.  
  6. # Power button - don't have a use for this
  7. # so set it to delete a recording
  8. begin
  9.     remote = linux-input-layer
  10.     prog = mythtv
  11.     button = POWER
  12.     config = d
  13.     repeat = 0
  14.     delay = 0
  15. end
  16.  
  17.  
  18. # MTS button
  19. begin
  20.     remote = linux-input-layer
  21.     prog = mythtv
  22.     button = AUDIO
  23.     config = End
  24.     repeat = 0
  25.     delay = 0
  26. end
  27.  
  28. # TV/FM button
  29. begin
  30.     remote = linux-input-layer
  31.     prog = mythtv
  32.     button = TUNER
  33.     config = c
  34.     repeat = 0
  35.     delay = 0
  36. end
  37.  
  38. # Video button
  39. begin
  40.     remote = linux-input-layer
  41.     prog = mythtv
  42.     button = VIDEO
  43.     config = m
  44.     repeat = 0
  45.     delay = 0
  46. end
  47.  
  48. # Display button
  49. begin
  50.     remote = linux-input-layer
  51.     prog = mythtv
  52.     button = INFO
  53.     config = I
  54.     repeat = 0
  55.     delay = 0
  56. end
  57.  
  58. # Channel up button
  59. begin
  60.     remote = linux-input-layer
  61.     prog = mythtv
  62.     button = CHANNELUP
  63.     config = Up
  64.     repeat = 0
  65.     delay = 0
  66. end
  67.  
  68. # Volume Down button
  69. # Set as left as much more important to have a left
  70. # Change config to [ to use this for volume
  71. begin
  72.     remote = linux-input-layer
  73.     prog = mythtv
  74.     button = VOLUMEDOWN
  75.     config = Left
  76.     repeat = 0
  77.     delay = 0
  78. end
  79.  
  80. # Full Screen button
  81. # Not really necessary and Pause/Play is incorrectly ZOOM
  82. # so set both to p
  83. begin
  84.     remote = linux-input-layer
  85.     prog = mythtv
  86.     button = ZOOM
  87.     config = p
  88.     repeat = 0
  89.     delay = 0
  90. end
  91.  
  92. # Volume Up button
  93. # Set as right as much more important to have a right
  94. # Change config to ] to use this for volume
  95. begin
  96.     remote = linux-input-layer
  97.     prog = mythtv
  98.     button = VOLUMEUP
  99.     config = Right
  100.     repeat = 0
  101.     delay = 0
  102. end
  103.  
  104. # Channel Down button
  105. begin
  106.     remote = linux-input-layer
  107.     prog = mythtv
  108.     button = CHANNELDOWN
  109.     config = Down
  110.     repeat = 0
  111.     delay = 0
  112. end
  113.  
  114. # Teletext button
  115. begin
  116.     remote = linux-input-layer
  117.     prog = mythtv
  118.     button = TEXT
  119.     config = t
  120.     repeat = 0
  121.     delay = 0
  122. end
  123.  
  124. # Sleep button comes up as POWER at the moment, so already used
  125. # Bosskey button comes up as 4 at the moment, so already used
  126.  
  127. # Mute button
  128. begin
  129.     remote = linux-input-layer
  130.     prog = mythtv
  131.     button = MUTE
  132.     config = |
  133.     repeat = 0
  134.     delay = 0
  135. end
  136.  
  137. # Red incorrectly 6
  138. # Green incorrectly CHANNELUP
  139. # Yellow incorrectly 7
  140. # Blue incorrectly 8
  141.  
  142. # Number keys 0-9 are self-explanatory
  143. begin
  144.     remote = linux-input-layer
  145.     prog = mythtv
  146.     button = 1
  147.     config = 1
  148.     repeat = 0
  149.     delay = 0
  150. end
  151. begin
  152.     remote = linux-input-layer
  153.     prog = mythtv
  154.     button = 2
  155.     config = 2
  156.     repeat = 0
  157.     delay = 0
  158. end
  159. begin
  160.     remote = linux-input-layer
  161.     prog = mythtv
  162.     button = 3
  163.     config = 3
  164.     repeat = 0
  165.     delay = 0
  166. end
  167. begin
  168.     remote = linux-input-layer
  169.     prog = mythtv
  170.     button = 4
  171.     config = 4
  172.     repeat = 0
  173.     delay = 0
  174. end
  175. begin
  176.     remote = linux-input-layer
  177.     prog = mythtv
  178.     button = 5
  179.     config = 5
  180.     repeat = 0
  181.     delay = 0
  182. end
  183. begin
  184.     remote = linux-input-layer
  185.     prog = mythtv
  186.     button = 6
  187.     config = 6
  188.     repeat = 0
  189.     delay = 0
  190. end
  191. begin
  192.     remote = linux-input-layer
  193.     prog = mythtv
  194.     button = 7
  195.     config = 7
  196.     repeat = 0
  197.     delay = 0
  198. end
  199. begin
  200.     remote = linux-input-layer
  201.     prog = mythtv
  202.     button = 8
  203.     config = 8
  204.     repeat = 0
  205.     delay = 0
  206. end
  207. begin
  208.     remote = linux-input-layer
  209.     prog = mythtv
  210.     button = 9
  211.     config = 9
  212.     repeat = 0
  213.     delay = 0
  214. end
  215. begin
  216.     remote = linux-input-layer
  217.     prog = mythtv
  218.     button = 0
  219.     config = 0
  220.     repeat = 0
  221.     delay = 0
  222. end
  223.  
  224. # Fine Tune + key - not really needed, so
  225. # I have set as volume up and down (as the volume
  226. # keys are now our left and right
  227. begin
  228.     remote = linux-input-layer
  229.     prog = mythtv
  230.     button = KPPLUS
  231.     config = ]
  232.     repeat = 0
  233.     delay = 0
  234. end
  235.  
  236. begin
  237.     remote = linux-input-layer
  238.     prog = mythtv
  239.     button = KPMINUS
  240.     config = [
  241.     repeat = 0
  242.     delay = 0
  243. end
  244.  
  245. # PIP key comes up as 5, so can't be used
  246. # . key does not come up as anything
  247.  
  248. # Enter button
  249. begin
  250.     remote = linux-input-layer
  251.     prog = mythtv
  252.     button = ENTER
  253.     config = Enter
  254.     repeat = 0
  255.     delay = 0
  256. end
  257.  
  258. # Recall button
  259. begin
  260.     remote = linux-input-layer
  261.     prog = mythtv
  262.     button = LAST
  263.     config = ESC
  264.     repeat = 0
  265.     delay = 0
  266. end
  267.  
  268. # Back button incorrectly gives TUNER
  269. # Pause/Play button incorrectly gives ZOOM (which we have mapped to Pause/Play)
  270. # Next button incorrectly gives VOLUMEUP
  271. # TimeShifting button incorrectly gives 1
  272. # Stop button incorrectly gives 2
  273. # REC button incorrectly gives 3
  274. # SnapShot button incorrectly gives VOLUMEDOWN
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top