Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
EmulationStation + Retroach + Kodi on Ubuntu Minimal
<?xml version="1.0"?>
<inputList>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
<input name="a" type="key" id="115" value="1" />
<input name="b" type="key" id="97" value="1" />
<input name="down" type="key" id="1073741905" value="1" />
<input name="left" type="key" id="1073741904" value="1" />
<input name="pagedown" type="key" id="1073741902" value="1" />
<input name="pageup" type="key" id="1073741899" value="1" />
<input name="right" type="key" id="1073741903" value="1" />
<input name="select" type="key" id="32" value="1" />
<input name="start" type="key" id="13" value="1" />
<input name="up" type="key" id="1073741906" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="GPIO Controller 1" deviceGUID="15000000010000000100000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="hotkey" type="button" id="6" value="1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
<input name="down" type="axis" id="1" value="1" />
<input name="left" type="axis" id="0" value="-1" />
<input name="right" type="axis" id="0" value="1" />
<input name="up" type="axis" id="1" value="-1" />
</inputConfig>
<inputConfig type="joystick" deviceName="GPIO Controller 2" deviceGUID="15000000010000000200000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="hotkey" type="button" id="6" value="1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
<input name="down" type="axis" id="1" value="1" />
<input name="left" type="axis" id="0" value="-1" />
<input name="right" type="axis" id="0" value="1" />
<input name="up" type="axis" id="1" value="-1" />
</inputConfig>
<inputConfig type="joystick" deviceName="Broadcom Bluetooth Wireless Joystick " deviceGUID="0500000042726f6164636f6d20426c00">
<input name="a" type="button" id="2" value="1" code="290" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="298" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="6" value="1" code="294" />
<input name="l3" type="button" id="10" value="1" code="298" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="r2" type="button" id="7" value="1" code="295" />
<input name="r3" type="button" id="11" value="1" code="299" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="296" />
<input name="start" type="button" id="9" value="1" code="297" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="291" />
<input name="y" type="button" id="0" value="1" code="288" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver)" deviceGUID="0000000058626f782047616d65706100">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="3" />
<input name="joystick2up" type="axis" id="3" value="-1" code="4" />
<input name="l2" type="button" id="6" value="1" code="312" />
<input name="l3" type="button" id="11" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="311" />
<input name="pageup" type="button" id="4" value="1" code="310" />
<input name="r2" type="button" id="7" value="1" code="313" />
<input name="r3" type="button" id="12" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="314" />
<input name="start" type="button" id="9" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="308" />
<input name="y" type="button" id="2" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xbox 360 Wireless Receiver (XBOX)" deviceGUID="030000005e040000a102000007010000">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="button" id="16" value="1" code="707" />
<input name="hotkey" type="button" id="10" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="3" />
<input name="joystick2up" type="axis" id="3" value="-1" code="4" />
<input name="l2" type="button" id="6" value="1" code="312" />
<input name="l3" type="button" id="11" value="1" code="317" />
<input name="left" type="button" id="13" value="1" code="704" />
<input name="pagedown" type="button" id="5" value="1" code="311" />
<input name="pageup" type="button" id="4" value="1" code="310" />
<input name="r2" type="button" id="7" value="1" code="313" />
<input name="r3" type="button" id="12" value="1" code="318" />
<input name="right" type="button" id="14" value="1" code="705" />
<input name="select" type="button" id="8" value="1" code="314" />
<input name="start" type="button" id="9" value="1" code="315" />
<input name="up" type="button" id="15" value="1" code="706" />
<input name="x" type="button" id="3" value="1" code="308" />
<input name="y" type="button" id="2" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="PLAYSTATION(R)3 Controller" deviceGUID="060000004c0500006802000000010000">
<input name="a" type="button" id="13" value="1" code="301" />
<input name="b" type="button" id="14" value="1" code="302" />
<input name="down" type="button" id="6" value="1" code="294" />
<input name="hotkey" type="button" id="16" value="1" code="304" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="3" />
<input name="l2" type="button" id="8" value="1" code="296" />
<input name="l3" type="button" id="1" value="1" code="289" />
<input name="left" type="button" id="7" value="1" code="295" />
<input name="pagedown" type="button" id="11" value="1" code="299" />
<input name="pageup" type="button" id="10" value="1" code="298" />
<input name="r2" type="button" id="9" value="1" code="297" />
<input name="r3" type="button" id="2" value="1" code="290" />
<input name="right" type="button" id="5" value="1" code="293" />
<input name="select" type="button" id="0" value="1" code="288" />
<input name="start" type="button" id="3" value="1" code="291" />
<input name="up" type="button" id="4" value="1" code="292" />
<input name="x" type="button" id="12" value="1" code="300" />
<input name="y" type="button" id="15" value="1" code="303" />
</inputConfig>
<inputConfig type="joystick" deviceName="Mega World" deviceGUID="03000000b50700000399000000010000">
<input name="a" type="button" id="4" value="1" code="308" />
<input name="b" type="button" id="2" value="1" code="306" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="10" value="1" code="314" />
<input name="l2" type="button" id="7" value="1" code="311" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="8" value="1" code="312" />
<input name="pageup" type="button" id="6" value="1" code="310" />
<input name="r2" type="button" id="9" value="1" code="313" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="11" value="1" code="315" />
<input name="start" type="button" id="1" value="1" code="305" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="5" value="1" code="309" />
<input name="y" type="button" id="3" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000014010000">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="8" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="3" value="-1" code="3" />
<input name="joystick2up" type="axis" id="4" value="-1" code="4" />
<input name="l2" type="axis" id="2" value="1" code="2" />
<input name="l3" type="button" id="9" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="311" />
<input name="pageup" type="button" id="4" value="1" code="310" />
<input name="r3" type="button" id="10" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="6" value="1" code="314" />
<input name="start" type="button" id="7" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="308" />
<input name="y" type="button" id="2" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver)" deviceGUID="0000000058626f782047616d65706100">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="3" />
<input name="joystick2up" type="axis" id="3" value="-1" code="4" />
<input name="l2" type="button" id="6" value="1" code="312" />
<input name="l3" type="button" id="11" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="311" />
<input name="pageup" type="button" id="4" value="1" code="310" />
<input name="r2" type="button" id="7" value="1" code="313" />
<input name="r3" type="button" id="12" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="314" />
<input name="start" type="button" id="9" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="308" />
<input name="y" type="button" id="2" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Sony Computer Entertainment Wireless Controller" deviceGUID="030000004c050000c405000011010000">
<input name="a" type="button" id="2" value="1" code="306" />
<input name="b" type="button" id="1" value="1" code="305" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="13" value="1" code="317" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="5" value="-1" code="5" />
<input name="l2" type="button" id="6" value="1" code="310" />
<input name="l3" type="button" id="10" value="1" code="314" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="309" />
<input name="pageup" type="button" id="4" value="1" code="308" />
<input name="r2" type="button" id="7" value="1" code="311" />
<input name="r3" type="button" id="11" value="1" code="315" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="312" />
<input name="start" type="button" id="9" value="1" code="313" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="0" value="1" code="304" />
</inputConfig>
<inputConfig type="joystick" deviceName="Virtual gamepad" deviceGUID="03000000030000000300000002000000">
<input name="a" type="button" id="0" value="1" code="304" />
<input name="b" type="button" id="1" value="1" code="305" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="6" value="1" code="314" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="5" value="1" code="311" />
<input name="pageup" type="button" id="4" value="1" code="310" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="6" value="1" code="314" />
<input name="start" type="button" id="7" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="2" value="1" code="307" />
<input name="y" type="button" id="3" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="XiaoMi Bluetooth Wireless GameController" deviceGUID="05000000172700004431000029010000">
<input name="a" type="button" id="7" value="1" code="305" />
<input name="b" type="button" id="6" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="16" value="1" code="314" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="5" value="-1" code="5" />
<input name="l2" type="button" id="14" value="1" code="312" />
<input name="l3" type="button" id="19" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="13" value="1" code="311" />
<input name="pageup" type="button" id="12" value="1" code="310" />
<input name="r2" type="button" id="15" value="1" code="313" />
<input name="r3" type="button" id="20" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="16" value="1" code="314" />
<input name="start" type="button" id="17" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="10" value="1" code="308" />
<input name="y" type="button" id="9" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xbox 360 Wireless Receiver" deviceGUID="030000005e0400001907000000010000">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="button" id="14" value="1" code="707" />
<input name="hotkey" type="button" id="8" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="3" value="-1" code="3" />
<input name="joystick2up" type="axis" id="4" value="-1" code="4" />
<input name="l2" type="axis" id="2" value="1" code="2" />
<input name="l3" type="button" id="9" value="1" code="317" />
<input name="left" type="button" id="11" value="1" code="704" />
<input name="pagedown" type="button" id="5" value="1" code="311" />
<input name="pageup" type="button" id="4" value="1" code="310" />
<input name="r2" type="axis" id="5" value="1" code="5" />
<input name="r3" type="button" id="10" value="1" code="318" />
<input name="right" type="button" id="12" value="1" code="705" />
<input name="select" type="button" id="6" value="1" code="314" />
<input name="start" type="button" id="7" value="1" code="315" />
<input name="up" type="button" id="13" value="1" code="706" />
<input name="x" type="button" id="3" value="1" code="308" />
<input name="y" type="button" id="2" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Saitek P990 Dual Analog Pad" deviceGUID="03000000a30600000b04000000010000">
<input name="a" type="button" id="2" value="1" code="290" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="9" value="1" code="297" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="3" value="-1" code="5" />
<input name="joystick2up" type="axis" id="2" value="-1" code="2" />
<input name="l2" type="button" id="6" value="1" code="294" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="r2" type="button" id="7" value="1" code="295" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="9" value="1" code="297" />
<input name="start" type="button" id="8" value="1" code="296" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="291" />
<input name="y" type="button" id="0" value="1" code="288" />
</inputConfig>
<inputConfig type="joystick" deviceName="Saitek PLC Cyborg Force Rumble Pad" deviceGUID="03000000a30600000cff000010010000">
<input name="a" type="button" id="3" value="1" code="291" />
<input name="b" type="button" id="2" value="1" code="290" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="298" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="3" value="-1" code="7" />
<input name="joystick2up" type="axis" id="2" value="-1" code="6" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="7" value="1" code="295" />
<input name="pageup" type="button" id="6" value="1" code="294" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="4" value="1" code="292" />
<input name="start" type="button" id="5" value="1" code="293" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="1" value="1" code="289" />
<input name="y" type="button" id="0" value="1" code="288" />
</inputConfig>
<inputConfig type="joystick" deviceName="Nintendo Wii Remote" deviceGUID="050000007e050000060300001c3a0000">
<input name="a" type="button" id="5" value="1" code="258" />
<input name="b" type="button" id="4" value="1" code="257" />
<input name="down" type="button" id="1" value="1" code="105" />
<input name="hotkey" type="button" id="8" value="1" code="316" />
<input name="left" type="button" id="0" value="1" code="103" />
<input name="right" type="button" id="3" value="1" code="108" />
<input name="select" type="button" id="10" value="1" code="412" />
<input name="start" type="button" id="9" value="1" code="407" />
<input name="up" type="button" id="2" value="1" code="106" />
<input name="x" type="button" id="7" value="1" code="305" />
<input name="y" type="button" id="6" value="1" code="304" />
</inputConfig>
<inputConfig type="joystick" deviceName="Nintendo Wii Remote Classic Controller" deviceGUID="050000007e050000060300001c3a0000">
<input name="a" type="button" id="4" value="1" code="304" />
<input name="b" type="button" id="5" value="1" code="305" />
<input name="down" type="button" id="3" value="1" code="108" />
<input name="hotkey" type="button" id="12" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="1" code="1" />
<input name="joystick2left" type="axis" id="3" value="-1" code="3" />
<input name="joystick2up" type="axis" id="4" value="1" code="4" />
<input name="l2" type="button" id="10" value="1" code="312" />
<input name="left" type="button" id="1" value="1" code="105" />
<input name="pagedown" type="axis" id="2" value="1" code="2" />
<input name="pageup" type="axis" id="5" value="1" code="5" />
<input name="r2" type="button" id="11" value="1" code="313" />
<input name="right" type="button" id="2" value="1" code="106" />
<input name="select" type="button" id="14" value="1" code="412" />
<input name="start" type="button" id="13" value="1" code="407" />
<input name="up" type="button" id="0" value="1" code="103" />
<input name="x" type="button" id="6" value="1" code="307" />
<input name="y" type="button" id="7" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="USB,2-axis 8-button gamepad " deviceGUID="03000000830500006020000010010000">
<input name="a" type="button" id="0" value="1" code="288" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="6" value="1" code="294" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="6" value="1" code="294" />
<input name="start" type="button" id="7" value="1" code="295" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="2" value="1" code="290" />
<input name="y" type="button" id="3" value="1" code="291" />
</inputConfig>
<inputConfig type="joystick" deviceName="FC30 FC30 Joystick" deviceGUID="030000003512000011ab000010010000">
<input name="a" type="button" id="1" value="1" code="289" />
<input name="b" type="button" id="2" value="1" code="290" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="6" value="1" code="294" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="6" value="1" code="294" />
<input name="start" type="button" id="7" value="1" code="295" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="0" value="1" code="288" />
<input name="y" type="button" id="3" value="1" code="291" />
</inputConfig>
<inputConfig type="joystick" deviceName="Bluetooth Wireless Controller " deviceGUID="05000000102800000900000000010000">
<input name="a" type="button" id="170" value="1" code="304" />
<input name="b" type="button" id="171" value="1" code="305" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="180" value="1" code="314" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="177" value="1" code="311" />
<input name="pageup" type="button" id="176" value="1" code="310" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="180" value="1" code="314" />
<input name="start" type="button" id="181" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="173" value="1" code="307" />
<input name="y" type="button" id="174" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="SFC30 SFC30 Joystick" deviceGUID="030000003512000021ab000010010000">
<input name="a" type="button" id="0" value="1" code="288" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="10" value="1" code="298" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="7" value="1" code="295" />
<input name="pageup" type="button" id="6" value="1" code="294" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="10" value="1" code="298" />
<input name="start" type="button" id="11" value="1" code="299" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="3" value="1" code="291" />
<input name="y" type="button" id="4" value="1" code="292" />
</inputConfig>
<inputConfig type="joystick" deviceName="Bluetooth Wireless Controller " deviceGUID="05000000102800000900000000010000">
<input name="a" type="button" id="170" value="1" code="304" />
<input name="b" type="button" id="171" value="1" code="305" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="180" value="1" code="314" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="177" value="1" code="311" />
<input name="pageup" type="button" id="176" value="1" code="310" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="180" value="1" code="314" />
<input name="start" type="button" id="181" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="173" value="1" code="307" />
<input name="y" type="button" id="174" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="8Bitdo NES30 Pro 8Bitdo NES30 Pro" deviceGUID="03000000022000000090000011010000">
<input name="a" type="button" id="0" value="1" code="304" />
<input name="b" type="button" id="1" value="1" code="305" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="314" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="8" value="1" code="312" />
<input name="l3" type="button" id="13" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="7" value="1" code="311" />
<input name="pageup" type="button" id="6" value="1" code="310" />
<input name="r2" type="button" id="9" value="1" code="313" />
<input name="r3" type="button" id="14" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="10" value="1" code="314" />
<input name="start" type="button" id="11" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="4" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="Bluetooth Wireless Controller " deviceGUID="05000000203800000900000000010000">
<input name="a" type="button" id="170" value="1" code="304" />
<input name="b" type="button" id="171" value="1" code="305" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="180" value="1" code="314" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="178" value="1" code="312" />
<input name="l3" type="button" id="183" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="177" value="1" code="311" />
<input name="pageup" type="button" id="176" value="1" code="310" />
<input name="r2" type="button" id="179" value="1" code="313" />
<input name="r3" type="button" id="184" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="180" value="1" code="314" />
<input name="start" type="button" id="181" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="173" value="1" code="307" />
<input name="y" type="button" id="174" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="8Bitdo NES30 Pro 8Bitdo NES30 Pro" deviceGUID="03000000021000000090000011010000">
<input name="a" type="button" id="0" value="1" />
<input name="b" type="button" id="1" value="1" />
<input name="down" type="hat" id="0" value="4" />
<input name="hotkey" type="button" id="10" value="1" />
<input name="joystick1left" type="axis" id="0" value="-1" />
<input name="joystick1up" type="axis" id="1" value="-1" />
<input name="joystick2left" type="axis" id="2" value="-1" />
<input name="joystick2up" type="axis" id="3" value="-1" />
<input name="l2" type="button" id="8" value="1" />
<input name="l3" type="button" id="13" value="1" />
<input name="left" type="hat" id="0" value="8" />
<input name="pagedown" type="button" id="7" value="1" />
<input name="pageup" type="button" id="6" value="1" />
<input name="r2" type="button" id="9" value="1" />
<input name="r3" type="button" id="14" value="1" />
<input name="right" type="hat" id="0" value="2" />
<input name="select" type="button" id="10" value="1" />
<input name="start" type="button" id="11" value="1" />
<input name="up" type="hat" id="0" value="1" />
<input name="x" type="button" id="3" value="1" />
<input name="y" type="button" id="4" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="Bluetooth Wireless Controller" deviceGUID="05000000a00500003232000001000000">
<input name="a" type="button" id="171" value="1" code="305" />
<input name="b" type="button" id="170" value="1" code="304" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="180" value="1" code="314" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="177" value="1" code="311" />
<input name="pageup" type="button" id="176" value="1" code="310" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="180" value="1" code="314" />
<input name="start" type="button" id="181" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="174" value="1" code="308" />
<input name="y" type="button" id="173" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="8Bitdo JoyStick 8Bitdo Joy " deviceGUID="03000000008000000210000011010000">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="10" value="1" code="314" />
<input name="l2" type="button" id="6" value="1" code="310" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="9" value="1" code="313" />
<input name="pageup" type="button" id="7" value="1" code="311" />
<input name="r2" type="button" id="8" value="1" code="312" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="10" value="1" code="314" />
<input name="start" type="button" id="11" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="4" value="1" code="308" />
<input name="y" type="button" id="3" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Bluetooth Wireless Controller " deviceGUID="05000000801000000900000000010000">
<input name="a" type="button" id="171" value="1" code="305" />
<input name="b" type="button" id="170" value="1" code="304" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="180" value="1" code="314" />
<input name="l2" type="button" id="176" value="1" code="310" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="179" value="1" code="313" />
<input name="pageup" type="button" id="177" value="1" code="311" />
<input name="r2" type="button" id="178" value="1" code="312" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="180" value="1" code="314" />
<input name="start" type="button" id="181" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="174" value="1" code="308" />
<input name="y" type="button" id="173" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Twin USB Joystick" deviceGUID="03000000100800000100000010010000">
<input name="a" type="button" id="1" value="1" code="289" />
<input name="b" type="button" id="2" value="1" code="290" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="8" value="1" code="296" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="3" value="-1" code="5" />
<input name="joystick2up" type="axis" id="2" value="-1" code="2" />
<input name="l2" type="button" id="4" value="1" code="292" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="7" value="1" code="295" />
<input name="pageup" type="button" id="6" value="1" code="294" />
<input name="r2" type="button" id="5" value="1" code="293" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="296" />
<input name="start" type="button" id="9" value="1" code="297" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="0" value="1" code="288" />
<input name="y" type="button" id="3" value="1" code="291" />
</inputConfig>
<inputConfig type="joystick" deviceName="NVIDIA Corporation NVIDIA Controller v01.03" deviceGUID="03000000550900001072000011010000">
<input name="a" type="button" id="11" value="1" code="305" />
<input name="b" type="button" id="10" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="5" value="1" code="172" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="axis" id="5" value="1" code="10" />
<input name="l3" type="button" id="18" value="1" code="317" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="15" value="1" code="311" />
<input name="pageup" type="button" id="14" value="1" code="310" />
<input name="r2" type="axis" id="4" value="1" code="9" />
<input name="r3" type="button" id="19" value="1" code="318" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="4" value="1" code="158" />
<input name="start" type="button" id="17" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="13" value="1" code="308" />
<input name="y" type="button" id="12" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Logitech Logitech RumblePad 2 USB" deviceGUID="030000006d04000018c2000010010000">
<input name="a" type="button" id="2" value="1" code="290" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="298" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="6" value="1" code="294" />
<input name="l3" type="button" id="10" value="1" code="298" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="r2" type="button" id="7" value="1" code="295" />
<input name="r3" type="button" id="11" value="1" code="299" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="296" />
<input name="start" type="button" id="9" value="1" code="297" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="291" />
<input name="y" type="button" id="0" value="1" code="288" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xarcade-to-Gamepad Device 1" deviceGUID="03000000010000000100000004000000">
<input name="a" type="button" id="2" value="1" code="305" />
<input name="b" type="button" id="1" value="1" code="304" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="9" value="1" code="316" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="6" value="1" code="311" />
<input name="pageup" type="button" id="5" value="1" code="310" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="7" value="1" code="314" />
<input name="start" type="button" id="8" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="4" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xarcade-to-Gamepad Device 2" deviceGUID="03000000010000000100000004000000">
<input name="a" type="button" id="2" value="1" code="305" />
<input name="b" type="button" id="1" value="1" code="304" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="9" value="1" code="316" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="6" value="1" code="311" />
<input name="pageup" type="button" id="5" value="1" code="310" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="7" value="1" code="314" />
<input name="start" type="button" id="8" value="1" code="315" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="4" value="1" code="308" />
</inputConfig>
<inputConfig type="joystick" deviceName="USB gamepad " deviceGUID="030000001f08000001e4000010010000">
<input name="a" type="button" id="1" value="1" code="289" />
<input name="b" type="button" id="2" value="1" code="290" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="8" value="1" code="296" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="right" type="axis" id="0" value="1" code="0" />
<input name="select" type="button" id="8" value="1" code="296" />
<input name="start" type="button" id="9" value="1" code="297" />
<input name="up" type="axis" id="1" value="-1" code="1" />
<input name="x" type="button" id="0" value="1" code="288" />
<input name="y" type="button" id="3" value="1" code="291" />
</inputConfig>
<inputConfig type="joystick" deviceName="ipega Bluetooth Gamepad " deviceGUID="0500000049190000020400001b010000">
<input name="a" type="button" id="174" value="1" code="305" />
<input name="b" type="button" id="173" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="183" value="1" code="314" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="181" value="1" code="312" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="180" value="1" code="311" />
<input name="pageup" type="button" id="179" value="1" code="310" />
<input name="r2" type="button" id="182" value="1" code="313" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="183" value="1" code="314" />
<input name="start" type="button" id="184" value="1" code="315" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="177" value="1" code="308" />
<input name="y" type="button" id="176" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="Usb Gamepad" deviceGUID="03000000c01100000055000011010000">
<input name="a" type="button" id="1" value="1" code="305" />
<input name="b" type="button" id="0" value="1" code="304" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="12" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="6" value="1" code="310" />
<input name="l3" type="button" id="10" value="1" code="314" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="309" />
<input name="pageup" type="button" id="4" value="1" code="308" />
<input name="r2" type="button" id="7" value="1" code="311" />
<input name="r3" type="button" id="11" value="1" code="315" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="312" />
<input name="start" type="button" id="9" value="1" code="313" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="2" value="1" code="306" />
</inputConfig>
<inputConfig type="joystick" deviceName="Ultimarc IPAC 2 Ultimarc IPAC 2" deviceGUID="0300000009d200002004000011010000">
<input name="a" type="button" id="2" value="1" code="306" />
<input name="b" type="button" id="1" value="1" code="305" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="10" value="1" code="314" />
<input name="l2" type="button" id="6" value="1" code="310" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="309" />
<input name="pageup" type="button" id="4" value="1" code="308" />
<input name="r2" type="button" id="7" value="1" code="311" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="9" value="1" code="313" />
<input name="start" type="button" id="8" value="1" code="312" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="0" value="1" code="304" />
<input name="y" type="button" id="3" value="1" code="307" />
</inputConfig>
<inputConfig type="joystick" deviceName="USB Downlo01.80 PS3/USB Corded Gamepad" deviceGUID="030000004c0500006802000011010000">
<input name="a" type="button" id="13" value="1" code="301" />
<input name="b" type="button" id="14" value="1" code="302" />
<input name="down" type="button" id="6" value="1" code="294" />
<input name="hotkey" type="button" id="16" value="1" code="704" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="8" value="1" code="296" />
<input name="l3" type="button" id="1" value="1" code="289" />
<input name="left" type="button" id="7" value="1" code="295" />
<input name="pagedown" type="button" id="11" value="1" code="299" />
<input name="pageup" type="button" id="10" value="1" code="298" />
<input name="r2" type="button" id="9" value="1" code="297" />
<input name="r3" type="button" id="2" value="1" code="290" />
<input name="right" type="button" id="5" value="1" code="293" />
<input name="select" type="button" id="0" value="1" code="288" />
<input name="start" type="button" id="3" value="1" code="291" />
<input name="up" type="button" id="4" value="1" code="292" />
<input name="x" type="button" id="12" value="1" code="300" />
<input name="y" type="button" id="15" value="1" code="303" />
</inputConfig>
<inputConfig type="joystick" deviceName="ELAN TURBO PAD" deviceGUID="03000000341a00000302000010010000">
<input name="a" type="button" id="2" value="1" code="306" />
<input name="b" type="button" id="1" value="1" code="305" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="12" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="6" value="1" code="310" />
<input name="l3" type="button" id="10" value="1" code="314" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="309" />
<input name="pageup" type="button" id="4" value="1" code="308" />
<input name="r2" type="button" id="7" value="1" code="311" />
<input name="r3" type="button" id="11" value="1" code="315" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="312" />
<input name="start" type="button" id="9" value="1" code="313" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="0" value="1" code="304" />
</inputConfig>
<inputConfig type="joystick" deviceName="Bigben Interactive Bigben Game Pad" deviceGUID="030000006b1400000209000011010000">
<input name="a" type="button" id="2" value="1" code="306" />
<input name="b" type="button" id="1" value="1" code="305" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="12" value="1" code="316" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="6" value="1" code="310" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="309" />
<input name="pageup" type="button" id="4" value="1" code="308" />
<input name="r2" type="button" id="7" value="1" code="311" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="312" />
<input name="start" type="button" id="9" value="1" code="313" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="307" />
<input name="y" type="button" id="0" value="1" code="304" />
</inputConfig>
<inputConfig type="joystick" deviceName="PLAYSTATION(R)3Conteroller-PANHAI" deviceGUID="05000000504c415953544154494f4e00">
<input name="a" type="button" id="13" value="1" code="301" />
<input name="b" type="button" id="14" value="1" code="302" />
<input name="down" type="button" id="6" value="1" code="294" />
<input name="hotkey" type="button" id="16" value="1" code="704" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="1" value="-1" code="1" />
<input name="joystick2left" type="axis" id="2" value="-1" code="2" />
<input name="joystick2up" type="axis" id="3" value="-1" code="5" />
<input name="l2" type="button" id="8" value="1" code="296" />
<input name="l3" type="button" id="1" value="1" code="289" />
<input name="left" type="button" id="7" value="1" code="295" />
<input name="pagedown" type="button" id="11" value="1" code="299" />
<input name="pageup" type="button" id="10" value="1" code="298" />
<input name="r2" type="button" id="9" value="1" code="297" />
<input name="r3" type="button" id="2" value="1" code="290" />
<input name="right" type="button" id="5" value="1" code="293" />
<input name="select" type="button" id="0" value="1" code="288" />
<input name="start" type="button" id="3" value="1" code="291" />
<input name="up" type="button" id="4" value="1" code="292" />
<input name="x" type="button" id="12" value="1" code="300" />
<input name="y" type="button" id="15" value="1" code="303" />
</inputConfig>
<inputConfig type="joystick" deviceName="DragonRise Inc. Generic USB Joystick " deviceGUID="03000000790000000600000010010000">
<input name="a" type="button" id="2" value="1" code="290" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="hat" id="0" value="4" code="16" />
<input name="hotkey" type="button" id="8" value="1" code="296" />
<input name="joystick1left" type="axis" id="0" value="-1" code="0" />
<input name="joystick1up" type="axis" id="3" value="-1" code="3" />
<input name="joystick2left" type="axis" id="1" value="-1" code="1" />
<input name="joystick2up" type="axis" id="4" value="-1" code="4" />
<input name="l2" type="button" id="6" value="1" code="294" />
<input name="l3" type="button" id="10" value="1" code="298" />
<input name="left" type="hat" id="0" value="8" code="16" />
<input name="pagedown" type="button" id="5" value="1" code="293" />
<input name="pageup" type="button" id="4" value="1" code="292" />
<input name="r2" type="button" id="7" value="1" code="295" />
<input name="r3" type="button" id="11" value="1" code="299" />
<input name="right" type="hat" id="0" value="2" code="16" />
<input name="select" type="button" id="8" value="1" code="296" />
<input name="start" type="button" id="9" value="1" code="297" />
<input name="up" type="hat" id="0" value="1" code="16" />
<input name="x" type="button" id="3" value="1" code="291" />
<input name="y" type="button" id="0" value="1" code="288" />
</inputConfig>
</inputList>
<?xml version="1.0"?>
<systemList>
<system>
<name>3do</name>
<fullname>3DO</fullname>
<path>~/roms/3do</path>
<extension>.iso .ISO</extension>
<command>retroarch -v -L /usr/lib/libretro/4do_libretro.so %ROM%</command>
<platform>3do</platform>
<theme>3do</theme>
</system><!--
<system>
<name>amiga</name>
<fullname>Amiga</fullname>
<path>~/roms/amiga</path>
<extension>.sh .SH</extension>
<command>retroarch -v -L /usr/lib/libretro/amiga %ROM%</command>
<platform>amiga</platform>
<theme>amiga</theme>
</system>--><!--
<system>
<name>amstradcpc</name>
<fullname>Amstrad CPC</fullname>
<path>~/roms/amstradcpc</path>
<extension>.cpc .dsk .CPC .DSK</extension>
<command>retroarch -v -L /usr/lib/libretro/amstradcpc %ROM%</command>
<platform>amstradcpc</platform>
<theme>amstradcpc</theme>
</system>--><!--
<system>
<name>apple2</name>
<fullname>Apple II</fullname>
<path>~/roms/apple2</path>
<extension>.sh .SH</extension>
<command>retroarch -v -L /usr/lib/libretro/apple2 %ROM%</command>
<platform>apple2</platform>
<theme>apple2</theme>
</system>-->
<system>
<name>atari2600</name>
<fullname>Atari 2600</fullname>
<path>~/roms/atari2600</path>
<extension>.a26 .bin .rom .zip .gz .A26 .BIN .ROM .ZIP .GZ</extension>
<command>retroarch -v -L /usr/lib/libretro/stella_libretro.so %ROM%</command>
<platform>atari2600</platform>
<theme>atari2600</theme>
</system><!--
<system>
<name>atari5200</name>
<fullname>Atari 5200</fullname>
<path>~/roms/atari5200</path>
<extension>.a52 .bin .A52 .BIN</extension>
<command>retroarch -v -L /usr/lib/libretro/atari5200 %ROM%</command>
<platform>atari5200</platform>
<theme>atari5200</theme>
</system>-->
<system>
<name>atari7800</name>
<fullname>Atari 800</fullname>
<path>~/roms/atari800</path>
<extension>.a78 .bin .zip</extension>
<command>retroarch -v -L /usr/lib/libretro/prosystem_libretro.so %ROM%</command>
<platform>atari7800</platform>
<theme>atari7800</theme>
</system><!--
<system>
<name>atarijaguar</name>
<fullname>Atari Jaguar</fullname>
<path>~/roms/atarijaguar</path>
<extension>.j64 .jag</extension>
<command>retroarch -v -L /usr/lib/libretro/jaguar %ROM%</command>
<platform>atari7800</platform>
<theme>atari7800</theme>
</system>-->
<system>
<name>atarilynx</name>
<fullname>Atari Lynx</fullname>
<path>~/roms/atarilynx</path>
<extension>.lnx .zip .LNX .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_lynx_libretro.so %ROM%</command>
<platform>atarilynx</platform>
<theme>atarilynx</theme>
</system><!--
<system>
<name>atarist</name>
<fullname>Atari ST/STE/TT/Falcon</fullname>
<path>~/roms/atarist</path>
<extension>.st .stx .img .rom .raw .ipf .ctr</extension>
<command>retroarch -v -L /usr/lib/libretro/atarist %ROM%</command>
<platform>atarist</platform>
<theme>atarist</theme>
</system>--><!--
<system>
<name>coco</name>
<fullname>Tandy Colour Computer</fullname>
<path>~/roms/coco</path>
<extension>.cas .wav .bas .asc .dmk .jvc .os9 .dsk .vdk .rom .ccc .sna</extension>
<command>retroarch -v -L /usr/lib/libretro/coco %ROM%</command>
<platform>coco</platform>
<theme>coco</theme>
</system>--><!--
<system>
<name>coleco</name>
<fullname>Colecovision</fullname>
<path>~/roms/coco</path>
<extension>.bin .col .rom .zip</extension>
<command>retroarch -v -L /usr/lib/libretro/coleco %ROM%</command>
<platform>coleco</platform>
<theme>coleco</theme>
</system>--><!--
<system>
<name>c64</name>
<fullname>Commodore 64</fullname>
<path>~/roms/c64</path>
<extension>.crt .d64 .g64 .t64 .tap .x64 .zip .CRT .D64 .G64 .T64 .TAP .X64 .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/c64 %ROM%</command>
<platform>c64</platform>
<theme>c64</theme>
</system>-->
<system>
<name>fds</name>
<fullname>Famicom Disk System</fullname>
<path>~/roms/fds</path>
<extension>.fds</extension>
<command>retroarch -v -L /usr/lib/libretro/fceumm_libretro.so %ROM%</command>
<platform>fds</platform>
<theme>fds</theme>
</system>
<system>
<name>fba</name>
<fullname>Final Burn Alpha</fullname>
<path>~/roms/fba</path>
<extension>.fba .zip .FBA .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/fbalpha_libretro.so %ROM%</command>
<platform>arcade</platform>
<theme>fba</theme>
</system>
<system>
<name>gamegear</name>
<fullname>Sega Gamegear</fullname>
<path>~/roms/gamegear</path>
<extension>.gg .zip .GG .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/genesis_plus_gx_libretro.so %ROM%</command>
<platform>gamegear</platform>
<theme>gamegear</theme>
</system>
<system>
<name>gb</name>
<fullname>Game Boy</fullname>
<path>~/roms/gb</path>
<extension>.gb .zip .GB .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/gambatte_libretro.so %ROM%</command>
<platform>gb</platform>
<theme>gb</theme>
</system>
<system>
<name>gba</name>
<fullname>Game Boy Advance</fullname>
<path>~/roms/gba</path>
<extension>.gba .zip .GBA .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/mgba_libretro.so %ROM%</command>
<platform>gba</platform>
<theme>gba</theme>
</system>
<system>
<name>gbc</name>
<fullname>Game Boy Color</fullname>
<path>~/roms/gbc</path>
<extension>.gbc .zip .GBC .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/gambatte_libretro.so %ROM%</command>
<platform>gbc</platform>
<theme>gbc</theme>
</system><!--
<system>
<name>intellivision</name>
<fullname>Intellivision</fullname>
<path>~/roms/intellivision</path>
<extension>.int .bin .INT .BIN</extension>
<command>retroarch -v -L /usr/lib/libretro/intellivision %ROM%</command>
<platform>intellivision</platform>
<theme>intellivision</theme>
</system>--><!--
<system>
<name>macintosh</name>
<fullname>Apple Macintosh</fullname>
<path>~/roms/macintosh</path>
<extension>.txt .TXT</extension>
<command>retroarch -v -L /usr/lib/libretro/macintosh %ROM%</command>
<platform>macintosh</platform>
<theme>macintosh</theme>
</system>--><!--
<system>
<name>mame-advmame</name>
<fullname>Multiple Arcade Machine Emulator</fullname>
<path>~/roms/mame-advmame</path>
<extension>.zip .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/mame-advmame %ROM%</command>
<platform>arcade</platform>
<theme>mame</theme>
</system>-->
<system>
<name>mame</name>
<fullname>Multiple Arcade Machine Emulator</fullname>
<path>~/roms/mame</path>
<extension>.zip .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/mame2016_libretro.so %ROM%</command>
<platform>arcade</platform>
<theme>mame</theme>
</system>
<system>
<name>mastersystem</name>
<fullname>Sega Master System</fullname>
<path>~/roms/mastersystem</path>
<extension>.sms .zip .SMS .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/picodrive_libretro.so %ROM%</command>
<platform>mastersystem</platform>
<theme>mastersystem</theme>
</system>
<system>
<name>megadrive</name>
<fullname>Sega Mega Drive / Genesis</fullname>
<path>~/roms/megadrive</path>
<extension>.smd .bin .gen .md .zip .SMD .BIN .GEN .MD .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/genesis_plus_gx_libretro.so %ROM%</command>
<platform>megadrive</platform>
<theme>megadrive</theme>
</system>
<system>
<name>msx</name>
<fullname>MSX / MSX2</fullname>
<path>~/roms/msx</path>
<extension>.rom .mx1 .mx2 .col .dsk .zip .ROM .MX1 .MX2 .COL .DSK .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/bluemsx_libretro.so %ROM%</command>
<platform>msx</platform>
<theme>msx</theme>
</system>
<system>
<name>n64</name>
<fullname>Nintendo 64</fullname>
<path>~/roms/n64</path>
<extension>.z64 .n64 .v64 .zip .Z64 .N64 .V64 .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/mupen64plus_libretro.so %ROM%</command>
<platform>n64</platform>
<theme>n64</theme>
</system>
<system>
<name>nes</name>
<fullname>Nintendo Entertainment System</fullname>
<path>~/roms/nes</path>
<extension>.nes .zip .NES .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/fceumm_libretro.so %ROM%</command>
<platform>nes</platform>
<theme>nes</theme>
</system>
<system>
<name>neogeo</name>
<fullname>NeoGeo</fullname>
<path>~/roms/neogeo</path>
<extension>.zip .fba .ZIP .FBA</extension>
<command>retroarch -v -L /usr/lib/libretro/fbalpha_libretro.so %ROM%</command>
<platform>neogeo</platform>
<theme>neogeo</theme>
</system>
<system>
<name>ngp</name>
<fullname>NeoGeo Pocket</fullname>
<path>~/roms/ngp</path>
<extension>.ngp .zip</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_ngp_libretro.so %ROM%</command>
<platform>ngp</platform>
<theme>ngp</theme>
</system>
<system>
<name>ngpc</name>
<fullname>NeoGeo Pocket</fullname>
<path>~/roms/ngpc</path>
<extension>.ngc .zip</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_ngp_libretro.so %ROM%</command>
<platform>ngpc</platform>
<theme>ngpc</theme>
</system><!--
<system>
<name>pc</name>
<fullname>PC (x86)</fullname>
<path>~/roms/pc</path>
<extension>.sh .bat .com .exe .SH .BAT .COM .EXE</extension>
<command>retroarch -v -L /usr/lib/libretro/pc %ROM%</command>
<platform>pc</platform>
<theme>pc</theme>
</system>-->
<system>
<name>pcengine</name>
<fullname>TurboGrafx 16 (PC Engine)</fullname>
<path>~/roms/pcengine</path>
<extension>.pce .zip .cue .PCE .ZIP .CUE</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_pce_fast_libretro.so %ROM%</command>
<platform>pcengine</platform>
<theme>pcengine</theme>
</system>
<system>
<name>pcfx</name>
<fullname>PC-FX</fullname>
<path>~/roms/pcfx</path>
<extension>.img .iso .ccd .cue</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_pce_fast_libretro.so %ROM%</command>
<platform>pcfx</platform>
<theme>pcfx</theme>
</system>
<system>
<name>psp</name>
<fullname>PSP</fullname>
<path>~/roms/psp</path>
<extension>.img .iso .ccd .cue</extension>
<command>retroarch -v -L /usr/lib/libretro/ppsspp_libretro.so %ROM%</command>
<platform>psp</platform>
<theme>psp</theme>
</system>
<system>
<name>psx</name>
<fullname>PlayStation</fullname>
<path>~/roms/psx</path>
<extension>.img .iso .ccd .cue</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_pcfx_libretro.so %ROM%</command>
<platform>psx</platform>
<theme>psx</theme>
</system>
<system>
<name>saturn</name>
<fullname>Sega Saturn</fullname>
<path>~/roms/saturn</path>
<extension>.bin .cue .iso .mdf</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_saturn_libretro.so %ROM%</command>
<platform>saturn</platform>
<theme>saturn</theme>
</system>
<system>
<name>ports</name>
<fullname>Ports</fullname>
<path>~/roms/ports</path>
<extension>.sh .SH</extension>
<command>%ROM%</command>
<platform>pc</platform>
<theme>ports</theme>
</system><!--
<system>
<name>scummvm</name>
<fullname>ScummVM</fullname>
<path>~/roms/scummvm</path>
<extension>.sh .svm .SH .SVM</extension>
<command>retroarch -v -L /usr/lib/libretro/scummvm %ROM%</command>
<platform>scummvm</platform>
<theme>scummvm</theme>
</system>-->
<system>
<name>sega32x</name>
<fullname>Sega 32X</fullname>
<path>~/roms/sega32x</path>
<extension>.32x .smd .bin .md .zip .32X .SMD .BIN .MD .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/picodrive_libretro.so %ROM%</command>
<platform>sega32x</platform>
<theme>sega32x</theme>
</system>
<system>
<name>segacd</name>
<fullname>Sega Mega Drive / Genesis</fullname>
<path>~/roms/segacd</path>
<extension>.smd .bin .md .zip .iso .SMD .BIN .MD .ZIP .ISO</extension>
<command>retroarch -v -L /usr/lib/libretro/genesis_plus_gx_libretro.so %ROM%</command>
<platform>segacd</platform>
<theme>segacd</theme>
</system>
<system>
<name>sg-1000</name>
<fullname>Sega SG-1000</fullname>
<path>~/roms/sg-1000</path>
<extension>.sg .zip .SG .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/genesis_plus_gx_libretro.so %ROM%</command>
<platform>sg-1000</platform>
<theme>sg-1000</theme>
</system>
<system>
<name>snes</name>
<fullname>Super Nintendo</fullname>
<path>~/roms/snes</path>
<extension>.smc .sfc .fig .swc .mgd .zip .SMC .SFC .FIG .SWC .MGD .ZIP</extension>
<command>retroarch -v -L /usr/lib/libretro/snes9x2010_libretro.so %ROM%</command>
<platform>snes</platform>
<theme>snes</theme>
</system><!--
<system>
<name>vectrex</name>
<fullname>Vectrex</fullname>
<path>~/roms/vectrex</path>
<extension>.vec .gam .bin .VEC .GAM .BIN</extension>
<command>retroarch -v -L /usr/lib/libretro/vectrex %ROM%</command>
<platform>vectrex</platform>
<theme>vectrex</theme>
</system>-->
<system>
<name>virtualboy</name>
<fullname>Virtual Boy</fullname>
<path>~/roms/virtualboy</path>
<extension>.vb .VB</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_vb_libretro.so %ROM%</command>
<platform>virtualboy</platform>
<theme>virtualboy</theme>
</system>
<system>
<name>wonderswan</name>
<fullname>WonderSwan</fullname>
<path>~/roms/wonderswan</path>
<extension>.ws .WS</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_wswan_libretro.so %ROM%</command>
<platform>wonderswan</platform>
<theme>wonderswan</theme>
</system>
<system>
<name>wonderswancolor</name>
<fullname>WonderSwan Color</fullname>
<path>~/roms/wonderswancolor</path>
<extension>.wsc .WSC</extension>
<command>retroarch -v -L /usr/lib/libretro/mednafen_wswan_libretro.so %ROM%</command>
<platform>wonderswancolor</platform>
<theme>wonderswancolor</theme>
</system>
<system>
<name>zmachine</name>
<fullname>Z-machine</fullname>
<path>~/roms/zmachine</path>
<extension>.dat .DAT</extension>
<command>retroarch -v -L /usr/lib/libretro/zmachine %ROM%</command>
<platform>zmachine</platform>
<theme>zmachine</theme>
</system><!--
<system>
<name>zxspectrum</name>
<fullname>ZX Spectrum</fullname>
<path>~/roms/zxspectrum</path>
<extension>.sna .szx .z80 .tap .tzx .gz .udi .mgt .img .trd .scl .dsk .SNA .SZX .Z80 .TAP .TZX .GZ .UDI .MGT .IMG .TRD .SCL .DSK</extension>
<command>retroarch -v -L /usr/lib/libretro/zxspectrum %ROM%</command>
<platform>zxspectrum</platform>
<theme>zxspectrum</theme>
</system>-->
</systemList>
#! /bin/bash
printf "DO NOT ENCRYPT YOUR HOME FOLDER WHILE INSTALLING UBUNTU, OR THE AUTO LOGIN FEATURE WILL NOT WORK!!!\n";
read -p "This script is intended to be executed only in Ubuntu mininal installations. Do you wish to continue? (yes/no)" -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
printf "Adding required PPAs\n";
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:emulationstation/ppa
sudo add-apt-repository -y ppa:libretro/stable
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo apt-get update
printf "Installing EmulationStation, RetroArch, audio libraries, Kodi, codecs (audio and video), Openbox (window manager), SLiM (login manager), initramfs-tools (splash screen) and feh (to set wallpapers)\n";
sudo apt-get install -y emulationstation emulationstation-theme* libretro-* retroarch retroarch-* pulseaudio speech-dispatcher alsa-base alsa-utils alsa-tools libasound2 libasound2-plugins slim openbox xfe xfce4-terminal xorg kodi feh ubuntu-restricted-extras plymouth-themes
printf "Setting auto login for current user\n";
sudo sed -i "s/simone/$(logname)/g" /etc/slim.conf
sudo sed -i 's/#default_user/default_user/g' /etc/slim.conf
sudo sed -i 's/#auto_login/auto_login/g' /etc/slim.conf
sudo sed -i 's/auto_login no/auto_login yes/g' /etc/slim.conf
printf "Creating wallpapers directories and downloading default wallpapers to ~/.wallpapers\n";
mkdir ~/.wallpapers
cd ~/.wallpapers
wget -c -O tetris.jpg http://i.imgur.com/exAsAln.jpg
wget -c -O mario.jpg http://i.imgur.com/IjnxFjK.jpg
wget -c -O mario-and-luigi.jpg http://i.imgur.com/KGVdjqD.png
wget -c -O bombs.jpg http://i.imgur.com/HT5WBQd.jpg
wget -c -O square-world.jpg http://i.imgur.com/tDCF3CB.jpg
cd ~
printf "Setting Openbox to start EmulationStation and set wallpaper on initialization\n";
mkdir -p ~/.config/openbox/
echo 'emulationstation' >> ~/.config/openbox/autostart
echo 'feh --randomize --bg-fill ~/.wallpapers/*' >> ~/.config/openbox/autostart
printf "Downloading default es_systems.cfg\n";
mkdir .emulationstation
wget -c https://gist.github.com/DouglasdeMoura/bb667b9d5ff9bdf4c8c2c00816c3f2e4/raw/4693b4f76120281578f0367269d629b5e69ca225/es_systems.cfg
mv es_*.cfg .emulationstation/
printf "Creating roms directories\n";
mkdir ~/roms
cd ~/roms
mkdir -p 3do atari2600 atari7800 atarilynx fds fba gamegear gb gba gbc mame mastersystem megadrive msx n64 nes neogeo ngp ngpc pcengine pcfx psp psx saturn ports sega32x segacd sg-1000 snes virtualboy wonderswan wonderswancolor zmachine saves system
printf "Downloading NES homebrew roms\n";
cd ~/roms/nes
wget -c http://www.dpadhero.com/releases/20090204/dpadhero.zip
wget -c http://www.dpadhero.com/releases/20100516/dpadhero2.zip
#wget -c http://www.retrosouls.net/files/aepack.zip
wget -c https://www.fauxgame.com/downloads/streemerz-v02.zip
wget -c http://www.mojontwins.com/juegos/Mojon-Twins--Sir-Ababol-NES.rar
wget -c https://dl.dropboxusercontent.com/u/18341918/web/Armed%20For%20Battle%20Demo%20v2.zip
unzip '*.zip'
unrar -e *.rar
rm -rf *.zip
rm -rf *.rar
cd ~
printf "Creating 'videos' and 'music' directories for Kodi\n";
mkdir ~/videos
mkdir ~/music
printf "The system will reboot in 10 seconds. Enjoy! \n";
sudo reboot now
else
echo "Installation aborted";
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment