Skip to content

Instantly share code, notes, and snippets.

@rdlu
Last active February 18, 2017 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdlu/5b7d00442e93fa9a328e9730dc120d9f to your computer and use it in GitHub Desktop.
Save rdlu/5b7d00442e93fa9a328e9730dc120d9f to your computer and use it in GitHub Desktop.
For my PS3 and ipega pg9021
<?xml version="1.0"?>
<inputList>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
<input name="a" type="key" id="120" value="1" />
<input name="b" type="key" id="122" value="1" />
<input name="down" type="key" id="1073741905" value="1" />
<input name="left" type="key" id="1073741904" value="1" />
<input name="leftanalogdown" type="key" id="1073741917" value="1" />
<input name="leftanalogleft" type="key" id="1073741916" value="1" />
<input name="leftanalogright" type="key" id="1073741918" value="1" />
<input name="leftanalogup" type="key" id="1073741920" value="1" />
<input name="leftbottom" type="key" id="113" value="1" />
<input name="leftthumb" type="key" id="107" value="1" />
<input name="lefttop" type="key" id="100" value="1" />
<input name="right" type="key" id="1073741903" value="1" />
<input name="rightanalogdown" type="key" id="106" value="1" />
<input name="rightanalogleft" type="key" id="109" value="1" />
<input name="rightanalogright" type="key" id="110" value="1" />
<input name="rightanalogup" type="key" id="105" value="1" />
<input name="rightbottom" type="key" id="119" value="1" />
<input name="rightthumb" type="key" id="108" value="1" />
<input name="righttop" type="key" id="99" 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" />
<input name="x" type="key" id="115" value="1" />
<input name="y" type="key" id="97" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="PLAYSTATION(R)3 Controller" deviceGUID="050000004c0500006802000000010000">
<input name="a" type="button" id="13" value="1" />
<input name="b" type="button" id="14" value="1" />
<input name="down" type="button" id="6" value="1" />
<input name="left" type="button" id="7" value="1" />
<input name="menu" type="button" id="3" value="1" />
<input name="right" type="button" id="5" value="1" />
<input name="up" type="button" id="4" value="1" />
<input name="select" type="button" id="0" value="1" />
<input name="pagedown" type="button" id="9" value="1" />
<input name="pageup" type="button" id="8" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="ipega classic gamepad" deviceGUID="0500000049190000020400001b010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="down" type="axis" id="1" value="1" />
<input name="left" type="axis" id="0" value="-1" />
<input name="leftanalogdown" type="hat" id="0" value="4" />
<input name="leftanalogleft" type="hat" id="0" value="8" />
<input name="leftanalogright" type="hat" id="0" value="2" />
<input name="leftanalogup" type="hat" id="0" value="1" />
<input name="leftbottom" type="button" id="8" value="1" />
<input name="leftthumb" type="button" id="13" value="1" />
<input name="lefttop" type="button" id="6" value="1" />
<input name="right" type="axis" id="0" value="1" />
<input name="rightanalogdown" type="axis" id="3" value="1" />
<input name="rightanalogleft" type="axis" id="2" value="-1" />
<input name="rightanalogright" type="axis" id="2" value="1" />
<input name="rightanalogup" type="axis" id="3" value="-1" />
<input name="rightbottom" type="button" id="9" value="1" />
<input name="rightthumb" type="button" id="14" value="1" />
<input name="select" type="button" id="10" value="1" />
<input name="start" type="button" id="11" value="1" />
<input name="up" type="axis" id="1" value="-1" />
<input name="x" type="button" id="4" value="1" />
<input name="y" type="button" id="3" value="1" />
<input name="pagedown" type="button" id="9" value="1" />
<input name="pageup" type="button" id="8" value="1" />
</inputConfig>
</inputList>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment