Viewing 1 post (of 1 total)
  • Author
    Posts
  • geauxwave
    Participant
    Post count: 36

    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>`

Viewing 1 post (of 1 total)
  • The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.