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

    Emulationstation - Mapping MouseClick1 and MouseClick2 to inputs in the emulationstion menu?

    Scheduled Pinned Locked Moved Help and Support
    dolphinbarwiimote
    7 Posts 3 Posters 594 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.
    • retropieuser555R
      retropieuser555
      last edited by

      Pi 4b (think it's 2gb)
      Emulationstation V2.10-3rp
      Retropie v4.8
      Controller:- keyboard/mouse/8bitdo m30/Dolphin Bar

      I've had a lot of fun last few days getting the Dolphin bar setup on Retropie, playing HOTD2, Terminator2 etc, Time Crisis etc. It's an absolute blast.

      One thing I notice though, the mode of the DolphinBar (Mode 2) maps the wiimote to keyboard keys, mouse movement and mouse clicks. A and B on the wiimote are Mouseclick1 and 2 respectively.

      I was trying to figure out within es_input or elsewhere if there's a way to map the mouse clicks to East button (B) and South button (A) within emulation station only? I've got it all sorted in retroarch itself, as you can map mouse clicks but oddly you can't from the GUI in emulationstation

      Pi 5 4GB

      Retroflag GPI with raspberry pi zero 2 w/ wifi

      Retroachievements:- lovelessrapture

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

        There's no mouse support (for input) in EmulationStation.

        1 Reply Last reply Reply Quote 1
        • L
          lowlevel1989 @retropieuser555
          last edited by

          @retropieuser555, now you can with the dbar4gun driver.

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

            @lowlevel1989 said in Emulationstation - Mapping MouseClick1 and MouseClick2 to inputs in the emulationstion menu?:

            now you can with the dbar4gun driver.

            How exactly would that work ? EmulationStation still doesn't support mouse inputs.

            L 1 Reply Last reply Reply Quote 0
            • L
              lowlevel1989 @mitu
              last edited by lowlevel1989

              @mitu, The driver is different and remaps to keyboard buttons that are supported by EmulationStation, and it also allows you to use more than one Wiimote at the same time. This lets you navigate through the EmulationStation menu using only the Wiimote.

              device button map shared mame default
              wiimote ir mouse cursor false cursor
              wiimote a auto key false bomb
              wiimote b mouse left false trigger
              wiimote home key f1 true menu (retroarch)
              wiimote 1 mouse middle false
              wiimote 2 mouse right false reload (retroarch)
              wiimote plus auto key false start
              wiimote minus auto key false 1 coin
              wiimote d-pad auto key false direction
              nunchuck stick wiimote d-pad false direction
              nunchuck z auto key false
              nunchuck c auto key false
              combo b + minus key esc true exit (retroarch)
              combo b + plus key enter true select
              combo b + home key tab true menu
              combo b + 1 key space true fast forward
              combo b + 2 key 2 true start (P2)
              combo a + plus false start calibration
              combo a + minus false reset calibration

              ref: https://github.com/lowlevel-1989/dbar4gun

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

                @lowlevel1989 said in Emulationstation - Mapping MouseClick1 and MouseClick2 to inputs in the emulationstion menu?:

                @mitu, The driver is different and remaps to keyboard...

                Not sure if I understand - it's not actually 'mapping' to a Mouse click, but just emitting keyboard events for the same physical input ?

                L 1 Reply Last reply Reply Quote 0
                • L
                  lowlevel1989 @mitu
                  last edited by

                  @mitu, No, it's just that the button mapping is different. For example, if you use dbar4gun with a Wiimote connected via Bluetooth or through a DolphinBar, the directions on the Wiimote and the A button will be mapped to specific keys on the keyboard. All the mappings are detailed in the table I sent earlier.

                  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.