- This topic has 0 replies, 1 voice, and was last updated 9 years, 3 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.
Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Controlling EmulationStation with two different controllers with same name
I was wondering if there was any way to specify/identify controllers in the es_input.cfg by something other than device name. I’m using USB controller adapters for SNES and Sega Saturn controllers. They are both identified as “HuiJia USB GamePad”, so I’m only able to configure one or the other for EmulationStation input. One uses “axis” for direction, and the other uses “hat”. I tried putting both of these blocks of code in es_input.cfg, but one overwrites the other. Is it possible for to specify controllers by joystick number (e.g. js0 and js1) like we do in the retroarch.cfg files?
These are the settings for the SNES controller…
`<inputConfig type=”joystick” deviceName=”HuiJia USB GamePad”>
<input name=”up” type=”axis” id=”1″ value=”-1″/>
<input name=”pagedown” type=”button” id=”7″ value=”1″/>
<input name=”start” type=”button” id=”9″ value=”1″/>
<input name=”pageup” type=”button” id=”6″ value=”1″/>
<input name=”a” type=”button” id=”1″ value=”1″/>
<input name=”b” type=”button” id=”2″ value=”1″/>
<input name=”down” type=”axis” id=”1″ value=”1″/>
<input name=”right” type=”axis” id=”0″ value=”1″/>
<input name=”select” type=”button” id=”8″ value=”1″/>
<input name=”left” type=”axis” id=”0″ value=”-1″/>
</inputConfig>`
These are the settings for the Sega Saturn controller…
`<inputConfig type=”joystick” deviceName=”HuiJia USB GamePad”>
<input name=”up” type=”hat” id=”0″ value=”1″/>
<input name=”pagedown” type=”button” id=”2″ value=”1″/>
<input name=”start” type=”button” id=”9″ value=”1″/>
<input name=”pageup” type=”button” id=”21″ value=”1″/>
<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=”right” type=”hat” id=”0″ value=”2″/>
<input name=”select” type=”button” id=”7″ value=”1″/>
<input name=”left” type=”hat” id=”0″ value=”8″/>
</inputConfig>`