Joystick configuration/mapping for pc-engine-game?
-
Hi,
my bartop is finally finished, but I have some software-problems.
My joystick has the following configuration:<inputConfig type="joystick" deviceName="DragonRise Inc. Generic USB Joystick " deviceGUID="03000000790000000600000010010000">
<input name="a" type="button" id="3" value="1"/>
<input name="b" type="button" id="5" value="1"/>
<input name="down" type="axis" id="1" value="1"/>
<input name="hotkeyenable" type="button" id="0" value="1"/>
<input name="left" type="axis" id="0" value="-1"/>
<input name="leftshoulder" type="button" id="7" value="1"/>
<input name="lefttrigger" type="button" id="8" value="1"/>
<input name="right" type="axis" id="0" value="1"/>
<input name="rightshoulder" type="button" id="9" value="1"/>
<input name="select" type="button" id="0" value="1"/>
<input name="start" type="button" id="1" value="1"/>
<input name="up" type="axis" id="1" value="-1"/>
<input name="x" type="button" id="2" value="1"/>
<input name="y" type="button" id="4" value="1"/>
<input name="pageup" type="button" id="9" value="1"/>
<input name="pagedown" type="button" id="8" value="1"/>
</inputConfig>I want to use the lefttrigger and rightschoulder for some pinball-games. The psx-emulation works well, just out of the box.
Here is the config for for devil crash pinball inside devilcrashpinball.cfg who has the same name as the rom +.cfg and is inside the roms/pcengine-directory.
input_player1_l2_btn = +1
input_player1_r2_btn = 1I want want to map the joypad (left trigger for the game, doesnt matter if left, right, up or down) and the right button to my joystick. I have read the keyboard-faq here in the forum, but I do something wrong here.
Could anyone help me?
-
Try leaving the configuration file aside and use the Core Input Remapping menu in RetroArch to map the L2/R2 (or other buttongs) to the PC-Engine's gamepad buttons, test it in-game, then save it as a game remap.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.