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

    Keyboard and control panel

    Scheduled Pinned Locked Moved Help and Support
    keyboard
    8 Posts 2 Posters 640 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.
    • B
      bob1961
      last edited by

      bob1961 less than a minute ago
      Pi Model: 4b
      Power Supply used: LabistsModel XSD-
      RetroPie Version Used : 4.8
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: keyboard, trackball, spinner and pinout board
      Controller used: pinout momentary contact buttons , spinner, trackball & joystick
      Guide used: Followed instructions from Retropie site
      Emulator: Emulation station, Mame2003

      I use a keyboard to setup my control buttons. After I do that I disconnect the keyboard because I don't need it anymore.
      However, now when I do that set up, after I disconnect the keyboard none of the buttons work.
      When I plug the keyboard back in they work again.
      I don't really want he keyboard hanging around. Any idea why this is now happening?

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

        What kind of 'pinout board' are you using ?
        Did you setup MAME controls from within the MAME menu (pressing Tab on the keyboard to bring up the menu) or using the EmulationStation input configuration ?

        B 1 Reply Last reply Reply Quote 0
        • B
          bob1961 @mitu
          last edited by

          @mitu i don't know the brand but it does the same thing with other pinout boards.
          Using ES to assign initial keys

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

            Is the board detected as a keyboard or as a gamepad ?
            If it's detected as a keyboard, then the configuration is saved in /opt/retropie/configs/all/retroarch.cfg, if it's a gamepad/joypad there should be a configuration file in /opt/retropie/configs/retroarch-joypads (with a similar name as the gamepad) - you can check the folder to see if there's a .cfg file there.

            B 1 Reply Last reply Reply Quote 0
            • B
              bob1961 @mitu
              last edited by

              @mitu in emulation station it detects 2 keypads but i only program the buttons & joystick, no the keyboard.
              both of the above files exist.
              Not sure what to do though to rid of the keyboard and keep my buttons?
              When i disconnect the keyboard the buttons no longer work

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

                @bob1961 said in Keyboard and control panel:

                When i disconnect the keyboard the buttons no longer work

                Is this just in-game or also in EmulationStation - can you navigate the front-end and select/launch games ? What happens if you reset the input configuration , restart your Pi and then configure the gamepad without the keyboard attached ?

                Can you post the EmulationStation's configuration file ($HOME/.emulationstation/es_input.cfg) and the RetroArch configuration profile from /opt/retropie/configs/retroarch-joypads ?

                B 1 Reply Last reply Reply Quote 0
                • B
                  bob1961 @mitu
                  last edited by mitu

                  @mitu
                  joystick & buttons work fine fine until I launch game from ES.

                  $HOME/.emulationstation/es_input.cfg

                  <?xml version="1.0"?>
                  <inputList>
                    <inputAction type="onfinish">
                      <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
                    </inputAction>
                    <inputConfig type="joystick" deviceName="DragonRise Inc.   Generic   USB  Joystick  " deviceGUID="03000000790000000600000010010000">
                      <input name="pageup" type="button" id="6" 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="7" value="1"/>
                      <input name="right" type="axis" id="0" value="-1"/>
                      <input name="pagedown" type="button" id="4" value="1"/>
                      <input name="y" type="button" id="3" value="1"/>
                      <input name="x" type="button" id="2" value="1"/>
                      <input name="down" type="axis" id="1" value="-1"/>
                      <input name="start" type="button" id="11" value="1"/>
                      <input name="b" type="button" id="1" value="1"/>
                      <input name="a" type="button" id="0" value="1"/>
                    </inputConfig>
                  </inputList>
                  

                  /opt/retropie/configs/retroarch-joypads

                  input_device = "DragonRise Inc.   Generic   USB  Joystick  "
                  input_driver = "udev"
                  input_enable_hotkey_btn = "7"
                  input_l_btn = "6"
                  input_load_state_btn = "6"
                  input_up_axis = "+1"
                  input_left_axis = "+0"
                  input_state_slot_decrease_axis = "+0"
                  input_select_btn = "7"
                  input_r2_btn = "10"
                  input_right_axis = "-0"
                  input_state_slot_increase_axis = "-0"
                  input_l2_btn = "5"
                  input_r_btn = "4"
                  input_save_state_btn = "4"
                  input_y_btn = "3"
                  input_y_btn_label = "Y"
                  input_x_btn = "2"
                  input_menu_toggle_btn = "2"
                  input_down_axis = "-1"
                  input_start_btn = "11"
                  input_exit_emulator_btn = "11"
                  input_b_btn = "1"
                  input_reset_btn = "1"
                  input_a_btn = "0"
                  
                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by mitu

                    The gamepad configuration is fine, there must be something in the configuration for RetroArch that's not correct.
                    Can you run a game with verbose logging post the resulting log file (/dev/shm/runcommand.log) on pastebin.com ?

                    1 Reply Last reply Reply Quote 0
                    • 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.