Guest User

lircrc e Lircmap.xml

a guest
Dec 12th, 2010
886
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ cat .lircrc
  2. begin
  3.         remote = devinput
  4.         prog = irexec
  5.         button = KEY_POWER
  6.         repeat = 99999999999999999999999999999
  7.         config = popo xbmc
  8. end
  9.  
  10. begin
  11.         remote = devinput
  12.         prog = irexec
  13.         button = KEY_TV
  14.         repeat = 99999999999999999999999999999
  15.         config = popo xine
  16. end
  17.  
  18. begin
  19.         remote = devinput
  20.         prog = irxevent
  21.         button = KEY_RECORD
  22.         repeat = 0
  23.         config = Key F1 xine
  24. end
  25.  
  26. #XINE==========================
  27. # quit the program
  28. begin
  29.     remote = devinput
  30.     button = KEY_TV
  31.     prog   = xine
  32.     repeat = 0
  33.     config = Quit
  34. end
  35.  
  36. # increment audio volume
  37. begin
  38.     remote = devinput
  39.     button = KEY_VOLUMEUP
  40.     prog   = xine
  41.     repeat = 0
  42.     config = Volume+
  43. end
  44.  
  45. # decrement audio volume
  46. begin
  47.     remote = devinput
  48.     button = KEY_VOLUMEDOWN
  49.     prog   = xine
  50.     repeat = 0
  51.     config = Volume-
  52. end
  53.  
  54. # audio muting toggle
  55. begin
  56.     remote = devinput
  57.     button = KEY_MUTE
  58.     prog   = xine
  59.     repeat = 0
  60.     config = Mute
  61. end
  62.  
  63. # fullscreen toggle
  64. begin
  65.     remote = devinput
  66.     button = KEY_ZOOM
  67.     prog   = xine
  68.     repeat = 0
  69.     config = ToggleFullscreen
  70. end
  71.  
  72. # menu navigate up
  73. begin
  74.     remote = devinput
  75.     button = KEY_UP
  76.     prog   = xine
  77.     repeat = 0
  78.     config = EventUp
  79. end
  80.  
  81. # menu navigate down
  82. begin
  83.     remote = devinput
  84.     button = KEY_DOWN
  85.     prog   = xine
  86.     repeat = 0
  87.     config = EventDown
  88. end
  89.  
  90. # menu select
  91. begin
  92.     remote = devinput
  93.     button = KEY_OK
  94.     prog   = xine
  95.     repeat = 0
  96.     config = EventSelect
  97. end
  98.  
  99. #===========================
  100. $ cat .xbmc/userdata/Lircmap.xml
  101. <lircmap>
  102.     <remote device="devinput">
  103.         <left>KEY_LEFT</left>
  104.         <right>KEY_RIGHT</right>
  105.         <up>KEY_UP</up>
  106.         <down>KEY_DOWN</down>
  107.         <select>KEY_ENTER</select>
  108.         <select>KEY_OK</select>
  109.         <start>KEY_SELECT</start>
  110.         <start>KEY_GOTO</start>
  111.         <back>KEY_EXIT</back>
  112.         <record>KEY_RECORD</record>
  113.         <play>KEY_PLAY</play>
  114.         <pause>KEY_PAUSE</pause>
  115.         <stop>KEY_STOP</stop>
  116.         <forward>KEY_FASTFORWARD</forward>
  117.         <reverse>KEY_REWIND</reverse>
  118.         <volumeplus>KEY_VOLUMEUP</volumeplus>
  119.         <volumeminus>KEY_VOLUMEDOWN</volumeminus>
  120.         <channelplus>KEY_CHANNELUP</channelplus>
  121.         <channelminus>KEY_CHANNELDOWN</channelminus>
  122.         <skipplus>KEY_NEXTSONG</skipplus>
  123.         <skipplus>KEY_NEXT</skipplus>
  124.         <skipminus>KEY_PREVIOUSSONG</skipminus>
  125.         <skipminus>KEY_LAST</skipminus>
  126.         <title>KEY_TEXT</title>
  127.         <subtitle>KEY_SUBTITLE</subtitle>
  128.         <mute>KEY_MUTE</mute>
  129.         <power>KEY_POWER</power>
  130.         <myvideo>KEY_VIDEO</myvideo>
  131.         <mymusic>KEY_AUDIO</mymusic>
  132.         <mypictures>KEY_MHP</mypictures>
  133.         <NOmytv>KEY_TV</NOmytv>
  134.         <one>KEY_1</one>
  135.         <two>KEY_2</two>
  136.         <three>KEY_3</three>
  137.         <four>KEY_4</four>
  138.         <five>KEY_5</five>
  139.         <six>KEY_6</six>
  140.         <seven>KEY_7</seven>
  141.         <eight>KEY_8</eight>
  142.         <nine>KEY_9</nine>
  143.         <zero>KEY_0</zero>
  144.         <red>KEY_RED</red>
  145.         <green>KEY_GREEN</green>
  146.         <yellow>KEY_YELLOW</yellow>
  147.         <blue>KEY_BLUE</blue>
  148.         <info>KEY_PREVIOUS</info>
  149.         <menu>KEY_MENU</menu>
  150.     </remote>
  151. </lircmap>
RAW Paste Data