RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Solved: Warning, Parsing error for "controller":

    Scheduled Pinned Locked Moved Help and Support
    parsing errorcontrollersretroarch
    11 Posts 3 Posters 377 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mth75
      last edited by mth75

      Since updating RetroArch and Runcommand on my Pi4, latest and greatest (and all available core packages) I'm receiving this very annoying errors after starting a game. All controller keys are working though .

      IMG_1601 2.jpg

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        There was a recent change in Runcommand that accounts for this warning messages. Please add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first, and post one (or more) of the controller configuration files from /opt/retropie/configs/all/retroarch-joypads.

        M 1 Reply Last reply Reply Quote 0
        • M
          mth75 @mitu
          last edited by

          @mitu said in Warning, Parsing error for "controller"::

          There was a recent change in Runcommand that accounts for this warning messages. Please add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first, and post one (or more) of the controller configuration files from /opt/retropie/configs/all/retroarch-joypads.

          I'm using an RPI4, standard RPI4 power supply, RetroPie-Setup script 4.7.15 and all packages up to date.

          Do you have a github link for possible discussions about the Runcommand issue?

          dankcushionsD mituM 2 Replies Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @mth75
            last edited by

            @mth75 please post the requested info and config files.

            M 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @mth75
              last edited by

              @mth75 said in Warning, Parsing error for "controller"::

              I'm using an RPI4, standard RPI4 power supply, RetroPie-Setup script 4.7.15 and all packages up to date.

              I was actually interested in what gamepads you are using - the above info was in the first post.

              Do you have a github link for possible discussions about the Runcommand issue?

              Not sure what you mean - but a discussion here is the all the same as far as this problem is concerned. The warnings you're seeing are part of the new joy2key version (introduced here) and the most useful info would be the controller configuration files, since they're emitted when those configuration files are parsed.

              1 Reply Last reply Reply Quote 0
              • M
                mth75 @dankcushions
                last edited by mth75

                @dankcushions said in Warning, Parsing error for "controller"::

                @mth75 please post the requested info and config files.

                I'm using a 8Bitdo SF30 Pro (Pro Controller.cfg):

                input_device = "Pro Controller"
                input_driver = "udev"
                input_enable_hotkey_btn = "12"
                input_r3_btn = "11"
                input_r_y_minus_axis = "-3"
                input_l_btn = "4"
                input_load_state_btn = "4"
                input_r_y_plus_axis = "+3"
                input_up_axis = "-1"
                input_left_axis = "-0"
                input_state_slot_decrease_axis = "-0"
                input_select_btn = "8"
                input_r2_btn = "7"
                input_r_x_minus_axis = "-2"
                input_l_y_plus_btn = "h0leftanalogdown"
                input_l_x_plus_btn = "h0leftanalogright"
                input_right_axis = "+0"
                input_state_slot_increase_axis = "+0"
                input_l2_btn = "6"
                input_l_x_minus_btn = "h0leftanalogleft"
                input_r_x_plus_axis = "+2"
                input_l3_btn = "10"
                input_r_btn = "5"
                input_save_state_btn = "5"
                input_l_y_minus_btn = "h0leftanalogup"
                input_y_btn = "2"
                input_x_btn = "3"
                input_menu_toggle_btn = "3"
                input_down_axis = "+1"
                input_start_btn = "9"
                input_exit_emulator_btn = "9"
                input_b_btn = "0"
                input_reset_btn = "0"
                input_a_btn = "1"
                

                Thx!

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  I think the config file may be incorrect, though the warning can probably be avoided.
                  Can you also post the es_input.cfg file from $HOME/.emulationstation ?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mth75 @mitu
                    last edited by

                    @mitu

                    Yes I can :

                    <?xml version="1.0"?>
                    <inputList>
                      <inputAction type="onfinish">
                        <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
                      </inputAction>
                      <inputConfig type="joystick" deviceName="Sony Computer Entertainment Wireless Controller" deviceGUID="030000004c050000c405000011810000">
                        <input name="pageup" type="button" id="4" value="1"/>
                        <input name="start" type="button" id="9" value="1"/>
                        <input name="down" type="hat" id="0" value="4"/>
                        <input name="pagedown" type="button" id="5" value="1"/>
                        <input name="right" type="hat" id="0" value="2"/>
                        <input name="select" type="button" id="8" value="1"/>
                        <input name="left" type="hat" id="0" value="8"/>
                        <input name="up" type="hat" id="0" value="1"/>
                        <input name="a" type="button" id="1" value="1"/>
                        <input name="b" type="button" id="0" value="1"/>
                        <input name="x" type="button" id="2" value="1"/>
                        <input name="y" type="button" id="3" value="1"/>
                      </inputConfig>
                      <inputConfig type="joystick" deviceName="Wireless Controller" deviceGUID="050000004c050000c405000000810000">
                        <input name="pageup" type="button" id="4" value="1"/>
                        <input name="start" type="button" id="9" value="1"/>
                        <input name="down" type="axis" id="1" value="1"/>
                        <input name="pagedown" type="button" id="5" 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"/>
                        <input name="up" type="axis" id="1" value="-1"/>
                        <input name="a" type="button" id="1" value="1"/>
                        <input name="b" type="button" id="0" value="1"/>
                        <input name="x" type="button" id="2" value="1"/>
                        <input name="y" type="button" id="3" value="1"/>
                        <input name="rightanalogdown" type="axis" id="4" value="1"/>
                        <input name="rightanalogleft" type="axis" id="3" value="-1"/>
                        <input name="rightanalogup" type="axis" id="4" value="-1"/>
                        <input name="leftanalogright" type="hat" id="0" value="2"/>
                        <input name="leftanalogup" type="hat" id="0" value="1"/>
                        <input name="leftanalogdown" type="hat" id="0" value="4"/>
                        <input name="leftanalogleft" type="hat" id="0" value="8"/>
                        <input name="rightanalogright" type="axis" id="3" value="1"/>
                      </inputConfig>
                      <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
                        <input name="down" type="key" id="1073741905" value="1"/>
                        <input name="right" type="key" id="1073741903" value="1"/>
                        <input name="select" type="key" id="96" value="1"/>
                        <input name="left" type="key" id="1073741904" value="1"/>
                        <input name="up" type="key" id="1073741906" value="1"/>
                        <input name="start" type="key" id="9" value="1"/>
                        <input name="b" type="key" id="27" value="1"/>
                        <input name="a" type="key" id="32" value="1"/>
                      </inputConfig>
                      <inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000014010000">
                        <input name="rightanalogdown" type="axis" id="4" value="1"/>
                        <input name="rightanalogleft" type="axis" id="3" value="-1"/>
                        <input name="pageup" type="button" id="4" value="1"/>
                        <input name="start" type="button" id="7" value="1"/>
                        <input name="rightanalogup" type="axis" id="4" value="-1"/>
                        <input name="down" type="axis" id="1" value="1"/>
                        <input name="leftanalogright" type="hat" id="0" value="2"/>
                        <input name="pagedown" type="button" id="5" value="1"/>
                        <input name="right" type="axis" id="0" value="1"/>
                        <input name="select" type="button" id="6" value="1"/>
                        <input name="left" type="axis" id="0" value="-1"/>
                        <input name="leftanalogup" type="hat" id="0" value="1"/>
                        <input name="up" type="axis" id="1" value="-1"/>
                        <input name="a" type="button" id="0" value="1"/>
                        <input name="b" type="button" id="1" value="1"/>
                        <input name="leftanalogdown" type="hat" id="0" value="4"/>
                        <input name="x" type="button" id="2" value="1"/>
                        <input name="leftanalogleft" type="hat" id="0" value="8"/>
                        <input name="y" type="button" id="3" value="1"/>
                        <input name="rightanalogright" type="axis" id="3" value="1"/>
                      </inputConfig>
                      <inputConfig type="joystick" deviceName="Xbox 360 Wireless Receiver" deviceGUID="030000005e040000a102000000010000">
                        <input name="rightanalogdown" type="axis" id="4" value="1"/>
                        <input name="rightanalogleft" type="axis" id="3" value="-1"/>
                        <input name="pageup" type="button" id="4" value="1"/>
                        <input name="start" type="button" id="7" value="1"/>
                        <input name="rightanalogup" type="axis" id="4" value="-1"/>
                        <input name="down" type="axis" id="1" value="1"/>
                        <input name="leftanalogright" type="button" id="12" value="1"/>
                        <input name="pagedown" type="button" id="5" value="1"/>
                        <input name="right" type="axis" id="0" value="1"/>
                        <input name="select" type="button" id="6" value="1"/>
                        <input name="left" type="axis" id="0" value="-1"/>
                        <input name="leftanalogup" type="button" id="13" value="1"/>
                        <input name="up" type="axis" id="1" value="-1"/>
                        <input name="a" type="button" id="0" value="1"/>
                        <input name="b" type="button" id="1" value="1"/>
                        <input name="leftanalogdown" type="button" id="14" value="1"/>
                        <input name="x" type="button" id="2" value="1"/>
                        <input name="leftanalogleft" type="button" id="11" value="1"/>
                        <input name="y" type="button" id="3" value="1"/>
                        <input name="rightanalogright" type="axis" id="3" value="1"/>
                      </inputConfig>
                      <inputConfig type="joystick" deviceName="8Bitdo SF30 Pro" deviceGUID="05000000c82d00000061000000010000">
                        <input name="rightanalogdown" type="axis" id="3" value="1"/>
                        <input name="rightanalogleft" type="axis" id="2" value="-1"/>
                        <input name="pageup" type="button" id="6" value="1"/>
                        <input name="start" type="button" id="11" value="1"/>
                        <input name="rightanalogup" type="axis" id="3" value="-1"/>
                        <input name="down" type="axis" id="1" value="1"/>
                        <input name="leftanalogright" type="hat" id="0" value="2"/>
                        <input name="pagedown" type="button" id="7" value="1"/>
                        <input name="right" type="axis" id="0" value="1"/>
                        <input name="select" type="button" id="10" value="1"/>
                        <input name="left" type="axis" id="0" value="-1"/>
                        <input name="leftanalogup" type="hat" id="0" value="1"/>
                        <input name="up" type="axis" id="1" value="-1"/>
                        <input name="a" type="button" id="0" value="1"/>
                        <input name="b" type="button" id="1" value="1"/>
                        <input name="leftanalogdown" type="hat" id="0" value="4"/>
                        <input name="x" type="button" id="3" value="1"/>
                        <input name="leftanalogleft" type="hat" id="0" value="8"/>
                        <input name="y" type="button" id="4" value="1"/>
                        <input name="rightanalogright" type="axis" id="2" value="1"/>
                      </inputConfig>
                      <inputConfig type="joystick" deviceName=" THEC64 Joystick     THEC64 Joystick   " deviceGUID="03000000591c00002400000010010000">
                        <input name="up" type="axis" id="1" value="-1"/>
                        <input name="left" type="axis" id="0" value="-1"/>
                        <input name="select" type="button" id="2" value="1"/>
                        <input name="right" type="axis" id="0" value="1"/>
                        <input name="down" type="axis" id="1" value="1"/>
                        <input name="start" type="button" id="3" value="1"/>
                        <input name="b" type="button" id="1" value="1"/>
                        <input name="a" type="button" id="0" value="1"/>
                      </inputConfig>
                      <inputConfig type="joystick" deviceName="Pro Controller" deviceGUID="050000007e0500000920000001000000">
                        <input name="rightanalogup" type="axis" id="3" value="-1"/>
                        <input name="pageup" type="button" id="4" value="1"/>
                        <input name="rightanalogdown" type="axis" id="3" value="1"/>
                        <input name="up" type="axis" id="1" value="-1"/>
                        <input name="left" type="axis" id="0" value="-1"/>
                        <input name="select" type="button" id="8" value="1"/>
                        <input name="rightanalogleft" type="axis" id="2" value="-1"/>
                        <input name="leftanalogdown" type="hat" id="0" value="4"/>
                        <input name="leftanalogright" type="hat" id="0" value="2"/>
                        <input name="right" type="axis" id="0" value="1"/>
                        <input name="leftanalogleft" type="hat" id="0" value="8"/>
                        <input name="rightanalogright" type="axis" id="2" value="1"/>
                        <input name="pagedown" type="button" id="5" value="1"/>
                        <input name="leftanalogup" type="hat" id="0" value="1"/>
                        <input name="y" type="button" id="2" value="1"/>
                        <input name="x" type="button" id="3" value="1"/>
                        <input name="down" type="axis" id="1" value="1"/>
                        <input name="start" type="button" id="9" value="1"/>
                        <input name="b" type="button" id="0" value="1"/>
                        <input name="a" type="button" id="1" value="1"/>
                      </inputConfig>
                    </inputList>
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      @mth75 the parsing error thrown by joy2key should be fixed by https://github.com/RetroPie/RetroPie-Setup/pull/3370

                      The underlying problem seems to be the RetroArch's auto-config file being incorrectly generated by EmulationStation. Is you left analog joystick working in games ?

                      M 2 Replies Last reply Reply Quote 0
                      • M
                        mth75 @mitu
                        last edited by

                        @mitu said in Warning, Parsing error for "controller"::

                        @mth75 the parsing error thrown by joy2key should be fixed by https://github.com/RetroPie/RetroPie-Setup/pull/3370

                        The underlying problem seems to be the RetroArch's auto-config file being incorrectly generated by EmulationStation. Is you left analog joystick working in games ?

                        Yes, they work.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mth75 @mitu
                          last edited by

                          @mitu said in Warning, Parsing error for "controller"::

                          @mth75 the parsing error thrown by joy2key should be fixed by https://github.com/RetroPie/RetroPie-Setup/pull/3370

                          The underlying problem seems to be the RetroArch's auto-config file being incorrectly generated by EmulationStation. Is you left analog joystick working in games ?

                          @mitu Thx mate, problem solved

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post

                          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.