• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Maldita Castilla joypad support

Scheduled Pinned Locked Moved Help and Support
maldita castill
49 Posts 8 Posters 15.7k 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.
  • E
    ExarKunIv
    last edited by 24 Mar 2017, 16:01

    so here is what i have found out. Maldita Castilla will not play unless it sees the controller input with a input0

    i had to remove all my settings and IR input to even get it to work.

    I dont know if @mediamogul knows how to get xboxdrv to set the keyboard map to input0

    for me my IR input takes that spot. so this game will not work for me.

    maybe there is a way to reserve that placement for different input. that is beyond me

    as you see my HID it taking the input0 and this is what Maldita Castilla looks for its input. so we need to reserve this input from being taken and set it for a keyboard map.

    I know this is not a answer but more info never hurts.

    I: Bus=0003 Vendor=1d57 Product=ad02 Version=0110
    N: Name="HID 1d57:ad02"
    P: Phys=usb-3f980000.usb-1.4/input0
    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:1D57:AD02.0001/input/input0
    U: Uniq=
    H: Handlers=sysrq kbd leds event0
    B: PROP=0
    B: EV=12001f
    B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130c13 b17c007 ffa67bfa d941dfff febeffdf f3cfffff ffffffff fffffffe
    B: REL=40
    B: ABS=1 0
    B: MSC=10
    B: LED=7
    
    ```

    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 .

    B 1 Reply Last reply 24 Mar 2017, 16:08 Reply Quote 1
    • B
      backstander @ExarKunIv
      last edited by 24 Mar 2017, 16:08

      @ExarKunIv
      Does your joystick/gamepad use this IR input?

      If not try plugging in your joystick/gamepad into USB port 1 on your RPi
      Image

      E 1 Reply Last reply 24 Mar 2017, 17:47 Reply Quote 0
      • P
        pjft
        last edited by 24 Mar 2017, 16:11

        Oh, wow. This is definitely a great find.

        I am unsure of how exactly we'll be able to systematically fix this, but knowing about this can already help narrowing down approaches to make it work.

        If you start your OS with just a keyboard plugged in, and then plug in your controller, and then unplug the keyboard, will input0 be free? If you run xboxdrv from SSH, will it create a virtual pad on input0?

        1 Reply Last reply Reply Quote 0
        • E
          ExarKunIv @backstander
          last edited by ExarKunIv 24 Mar 2017, 17:47

          @backstander

          i have a 8bitdo. so sadly this will not work for me
          and i use the IR for KODI and it is connect to USB 3

          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
          • E
            ExarKunIv
            last edited by 24 Mar 2017, 18:03

            I: Bus=0003 Vendor=1d57 Product=ad02 Version=0110
            N: Name="HID 1d57:ad02"
            P: Phys=usb-3f980000.usb-1.4/input0
            S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:1D57:AD02.0001/input/input0
            U: Uniq=
            H: Handlers=sysrq kbd leds event0
            B: PROP=0
            B: EV=12001f
            B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130c13 b17c007 ffa67bfa d941dfff febeffdf f3cfffff ffffffff fffffffe
            B: REL=40
            B: ABS=1 0
            B: MSC=10
            B: LED=7
            
            I: Bus=0003 Vendor=1d57 Product=ad02 Version=0110
            N: Name="HID 1d57:ad02"
            P: Phys=usb-3f980000.usb-1.4/input1
            S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:1D57:AD02.0002/input/input1
            U: Uniq=
            H: Handlers=mouse0 event1
            B: PROP=0
            B: EV=17
            B: KEY=1f0000 0 0 0 0 0 0 0 0
            B: REL=103
            B: MSC=10
            
            I: Bus=0000 Vendor=0000 Product=0000 Version=0000
            N: Name="Xbox Gamepad (userspace driver)"
            P: Phys=
            S: Sysfs=/devices/virtual/input/input2
            U: Uniq=
            H: Handlers=js0 event2
            B: PROP=0
            B: EV=b
            B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
            B: ABS=3001b
            
            I: Bus=0005 Vendor=3810 Product=0009 Version=0100
            N: Name="8Bitdo FC30 Pro"
            P: Phys=b8:27:eb:47:c7:78
            S: Sysfs=/devices/platform/soc/3f201000.uart/tty/ttyAMA0/hci0/hci0:11/0005:3810:0009.0003/input/input3
            U: Uniq=e4:17:d8:7a:6a:7d
            H: Handlers=js1 event3
            B: PROP=0
            B: EV=1b
            B: KEY=ffff0000 0 0 0 0 0 0 0 0 0
            B: ABS=30627
            B: MSC=10
            

            here is my inputs. and i know to fix the problem all i have to do it disconnect the HID, but i have it hardwired to my Pie so it is a little hard and defeats the point.

            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
            • H
              hiulit
              last edited by hiulit 4 Apr 2017, 12:53 4 Apr 2017, 11:38

              I'm using arcade buttons via GPIO using Adafruit's Retrograme, a GPIO-to-virtual-keyboard utility, so essentially I have two keyboards connected to the Raspberry Pi.

              The keyboard connected to the USB is always input0.
              And the virtual keyboard is input1. So Maldita Castilla will never work with this one :(

              Is there an 'easy' way (or any kind of way :P) to change input0 for input1?

              Also, if I connect the keyboard to the USB no. 2 (as shown in the image above) and I have an 8Bitdo via bluetooth, will the 8Bitdo be input0 or will it be the keyboard?

              My little contributions to the RetroPie project:

              • Shell-Script-Boilerplate
              • Fun-Facts-Splashscreens
              • Limit-Last-Played-Games
              1 Reply Last reply Reply Quote 0
              • H
                hiulit
                last edited by 5 Apr 2017, 18:48

                Ok, when I launch Maldita Castilla via terminal, I see this code:

                GAMEPAD: 4 axis values (last) at 0x76289660
                GAMEPAD: Enumerating 5
                GAMEPAD: device name 8Bitdo NES30 GamePad
                GAMEPAD: buttons - 16, axes - 8
                GAMEPAD: 4 axis values (last) at 0x76289620
                GAMEPAD: 4 axis values (last) at 0x76289600
                GAMEPAD: 4 axis values (last) at 0x762895e0
                

                So, it recognizes the gamepad, right? Shouldn't it be working then? :(

                My little contributions to the RetroPie project:

                • Shell-Script-Boilerplate
                • Fun-Facts-Splashscreens
                • Limit-Last-Played-Games
                E 1 Reply Last reply 5 Apr 2017, 18:57 Reply Quote 0
                • E
                  ExarKunIv @hiulit
                  last edited by ExarKunIv 4 May 2017, 19:58 5 Apr 2017, 18:57

                  @hiulit

                  one would think, but as of yet no one knows. personally unless someone goes in to the code and changes something to have the game look for other inputs i don't think it will work for anyone who has more then one thing connected to the pi. or is using xboxdrv.

                  i hope, but im not holding my breath

                  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 .

                  H 1 Reply Last reply 5 Apr 2017, 19:53 Reply Quote 0
                  • H
                    hiulit @ExarKunIv
                    last edited by 5 Apr 2017, 19:53

                    @ExarKunIv But I tried it with no keyboard, only the gamepad, and still, nothing :(
                    Would it be possible to change js0(or any other input) into input0 so Maldita Castilla can see it?

                    My little contributions to the RetroPie project:

                    • Shell-Script-Boilerplate
                    • Fun-Facts-Splashscreens
                    • Limit-Last-Played-Games
                    E 1 Reply Last reply 5 Apr 2017, 20:47 Reply Quote 0
                    • E
                      ExarKunIv @hiulit
                      last edited by 5 Apr 2017, 20:47

                      @hiulit

                      not that i know of.

                      what input is your conroller?

                      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 .

                      H 1 Reply Last reply 6 Apr 2017, 08:26 Reply Quote 0
                      • H
                        hiulit @ExarKunIv
                        last edited by 6 Apr 2017, 08:26

                        @ExarKunIv I'm telling you this off the top of my head but I think i have:

                        • input0 - don't know what it is
                        • input1 - keyboard
                        • js0- controller

                        And when I have the GPIO buttons as a virtual keyboard I think they are input2.

                        I'll tell you more specifically when I get home ;)

                        My little contributions to the RetroPie project:

                        • Shell-Script-Boilerplate
                        • Fun-Facts-Splashscreens
                        • Limit-Last-Played-Games
                        1 Reply Last reply Reply Quote 0
                        • H
                          hiulit
                          last edited by 6 Apr 2017, 21:18

                          This is what I get when I enter cat /proc/bus/input/devices.
                          I only have a usb keyboard and a bluetooth 8Bitdo gamepad.

                          What is input0?

                          I: Bus=0003 Vendor=04f3 Product=0103 Version=0111
                          N: Name="HID 04f3:0103"
                          P: Phys=usb-3f980000.usb-1.5/input0
                          S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:04F3:0103.0001/input/input0
                          U: Uniq=
                          H: Handlers=sysrq kbd leds event0 
                          B: PROP=0
                          B: EV=120013
                          B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
                          B: MSC=10
                          B: LED=7
                          
                          I: Bus=0003 Vendor=04f3 Product=0103 Version=0111
                          N: Name="HID 04f3:0103"
                          P: Phys=usb-3f980000.usb-1.5/input1
                          S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:04F3:0103.0002/input/input1
                          U: Uniq=
                          H: Handlers=kbd event1 
                          B: PROP=0
                          B: EV=1f
                          B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130c13 b17c000 267bfa d941dfed 9e1680 4400 0 10000002
                          B: REL=40
                          B: ABS=1 0
                          B: MSC=10
                          
                          I: Bus=0005 Vendor=2820 Product=0009 Version=0100
                          N: Name="8Bitdo NES30 GamePad"
                          P: Phys=b8:27:eb:19:f7:5e
                          S: Sysfs=/devices/platform/soc/3f201000.uart/tty/ttyAMA0/hci0/hci0:12/0005:2820:0009.0003/input/input2
                          U: Uniq=e4:17:d8:58:75:60
                          H: Handlers=js0 event2 
                          B: PROP=0
                          B: EV=1b
                          B: KEY=ffff0000 0 0 0 0 0 0 0 0 0
                          B: ABS=30627
                          B: MSC=10
                          
                          

                          My little contributions to the RetroPie project:

                          • Shell-Script-Boilerplate
                          • Fun-Facts-Splashscreens
                          • Limit-Last-Played-Games
                          B 2 Replies Last reply 6 Apr 2017, 21:23 Reply Quote 0
                          • B
                            backstander @hiulit
                            last edited by 6 Apr 2017, 21:23

                            @hiulit
                            Do you have a Logitech K750? I think both input0 and 1 are for the keyboard?

                            1 Reply Last reply Reply Quote 0
                            • B
                              backstander @hiulit
                              last edited by backstander 4 Jun 2017, 22:34 6 Apr 2017, 21:33

                              @hiulit
                              I can't find anything with Vendor 04f3
                              http://pcidatabase.com/

                              What brand keyboard do you have? I might recommend trying a different keyboard and see if that resolves your issues.

                              1 Reply Last reply Reply Quote 0
                              • H
                                hiulit
                                last edited by hiulit 4 Jun 2017, 23:22 6 Apr 2017, 22:17

                                @backstander I have a "Genius" keyboard, similar to this one https://www.amazon.es/Genius-31300725100-313-Teclado/dp/B018ID3V6U/ref=sr_1_7?ie=UTF8&qid=1491516948&sr=8-7&keywords=teclado+genius

                                And why would the keyboard need two different input?
                                Thanks!

                                My little contributions to the RetroPie project:

                                • Shell-Script-Boilerplate
                                • Fun-Facts-Splashscreens
                                • Limit-Last-Played-Games
                                1 Reply Last reply Reply Quote 0
                                • H
                                  hiulit
                                  last edited by hiulit 4 Jun 2017, 23:22 6 Apr 2017, 22:21

                                  @backstander Could it have something to do with this?

                                  The Raspberry Pi Model B is equipped with two USB2.0 ports. These are connected to the LAN9512 combo hub/Ethernet chip IC3, which is itself a USB device connected to the single upstream USB port on BCM2835.

                                  From Raspberry Pi's offical USB documentation.

                                  It seems like input0 is the "Raspberry Pi itself"?

                                  Take a look at this H: Handlers=sysrq kbd leds event0 . Hmmm...

                                  My little contributions to the RetroPie project:

                                  • Shell-Script-Boilerplate
                                  • Fun-Facts-Splashscreens
                                  • Limit-Last-Played-Games
                                  B 1 Reply Last reply 7 Apr 2017, 13:45 Reply Quote 0
                                  • N
                                    Nismo
                                    last edited by 6 Apr 2017, 22:52

                                    In the paíd version of maldita castilla ( Maldita Castilla Ex) you can set up and define controls to your liking withouth problems.

                                    H 1 Reply Last reply 7 Apr 2017, 07:29 Reply Quote 0
                                    • H
                                      hiulit @Nismo
                                      last edited by 7 Apr 2017, 07:29

                                      @Nismo Does the paid version work with the Raspberry Pi?

                                      My little contributions to the RetroPie project:

                                      • Shell-Script-Boilerplate
                                      • Fun-Facts-Splashscreens
                                      • Limit-Last-Played-Games
                                      N 1 Reply Last reply 7 Apr 2017, 16:02 Reply Quote 0
                                      • B
                                        backstander @hiulit
                                        last edited by 7 Apr 2017, 13:45

                                        @hiulit

                                        It seems like input0 is the "Raspberry Pi itself"?

                                        Hmmm..unless you have a unique configuration, I don't think that's what it is or do you have a USB hub plugged into your Pi?

                                        Take a look at this H: Handlers=sysrq kbd leds event0. Hmmm...

                                        I think kbd = keyboard and I'm assuming leds = LEDs?

                                        To me it seams like the keyboard is taking up both inputs for some reason. Not sure why?

                                        @Nismo Does the paid version work with the Raspberry Pi?

                                        I am curious about this as well :-)
                                        If more people supported them by purchasing the paid version, I think they would be more inclined to make another game for the RPi!

                                        E 1 Reply Last reply 7 Apr 2017, 13:48 Reply Quote 0
                                        • E
                                          ExarKunIv @backstander
                                          last edited by 7 Apr 2017, 13:48

                                          @backstander

                                          i think you are right on that.
                                          i plug in my logitech keyboard and i get the same thing with the LED

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received