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

    Joymap / libretro-o2em

    Scheduled Pinned Locked Moved Help and Support
    videopacodysse
    12 Posts 3 Posters 3.4k 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.
    • ExarKunIvE
      ExarKunIv @mediamogul
      last edited by

      @mediamogul

      thanks for the input.

      i had most of what you said down already, but i did not know about putting "num 1" i just had "1" lol

      this is what i have been also messing around with to get o2em to read the Mapping.

       o2em-loadmap="sudo /home/pi/joymap/loadmap /home/pi/joymap/odd.map & /opt/retropie/libretrocores/lr-o2em/o2em_libretro.so %ROM%; sudo killall loadmap; sleep 1"
      

      im know that i have something wrong there also. this coding is very new to me

      thanks

      ill get to work on the mapping right away

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @ExarKunIv
        last edited by

        @ExarKunIv in case you didnt know, not all games use the player 1 controller. On the odyssey half the games use the left controller and the other half uses the right controller.

        ExarKunIvE 1 Reply Last reply Reply Quote 0
        • ExarKunIvE
          ExarKunIv @edmaul69
          last edited by

          @edmaul69

          yep i remember that. right now im just trying to get the keymapping to work so i dont need to have a keyboard just to press num 1.

          the rest will come later

          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
          Maintainer of RetroPie-Extra .

          edmaul69E 1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @ExarKunIv
            last edited by

            @ExarKunIv you want to map 1-3. Otherwise you only can play the first game on the cart.

            ExarKunIvE 1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @edmaul69
              last edited by

              @edmaul69
              only some will play with out pressing a number key
              other then that they will sit there and say select game. there is no way to start that game unless you have a keyboard attached.

              right now i know that atlantis, amok,

              will start ok so far the rest will not, but i have not gone through all of them.

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

              edmaul69E 1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @ExarKunIv
                last edited by

                @ExarKunIv yes you need keyboard keys 1-3 mapped to you controller for multi game games. Any game that has only 1 game should boot without the keyboard. ie: games like frogger would boot without the keyboard.

                ExarKunIvE 1 Reply Last reply Reply Quote 0
                • ExarKunIvE
                  ExarKunIv @edmaul69
                  last edited by

                  @edmaul69

                  Yep. That's why I'm trying to map the keys

                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                  Maintainer of RetroPie-Extra .

                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @ExarKunIv
                    last edited by

                    @ExarKunIv im probably overstating it but its more for other people who come later looking for this same problem.

                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                    • ExarKunIvE
                      ExarKunIv @edmaul69
                      last edited by

                      @edmaul69

                      Lol

                      Ok

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv
                        last edited by

                        here is what have so far for my key mapping.
                        im sure is will not work, but till i can get the libretro to read the joymap i cant test it.

                        #key map for keyboard keys for wireless 360 controller
                        
                        # Remapping the controller
                        
                        axis vendor=0x045e product=0x0291 src=0 target=joyaxis device=0 axis=0    # left, right axis
                        axis vendor=0x045e product=0x0291 src=1 target=joyaxis device=0 axis=1    # up, down axis
                        button vendor=0x045e product=0x0291 src=1 target=joybtn device=0 button=0   # B button
                        
                        # not sure if i need the flags="trinary" for my axis or not
                        
                        #buttons for selecting the game
                        
                        button vendor=0x045e product=0x0291 src=5 target=kbd button="num1"  #right bumper
                        button vendor=0x045e product=0x0291 src=7 target=kbd button="num2"  #right trigger
                        button vendor=0x045e product=0x0291 src=4 target=kbd button="num3"  #left bumber
                        

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

                        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.