Skip to content

Instantly share code, notes, and snippets.

@rdlu
Created February 5, 2017 01:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
emulation station with PS3 controller + keyboard
<?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>
</inputList>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment