Announcement

Collapse
No announcement yet.

can we add a new gamepad to android support?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    can we add a new gamepad to android support?

    here are the gamepads
    https://www.amazon.com/iNNEXT-Ninten.../dp/B01N7ANDLC

    and heres the info I got on it when plugged into a windows pc


    =========================== USB Port6 ===========================

    Connection Status : 0x01 (Device is connected)
    Port Chain : 3-6
    Properties : 0x01
    IsUserConnectable : yes
    PortIsDebugCapable : no
    PortHasMultiCompanions : no
    PortConnectorIsTypeC : no

    ======================== USB Device ========================

    +++++++++++++++++ Device Information ++++++++++++++++++
    Device Description : USB Input Device
    Device Path : \\.\usb#vid_0079&pid_0011#5&297258bb&0&6#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    Device ID : USB\VID_0079&PID_0011\5&297258BB&0&6
    Hardware IDs : USB\VID_0079&PID_0011&REV_0106 USB\VID_0079&PID_0011
    Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0014 (GUID_DEVCLASS_HIDCLASS)
    Driver : \SystemRoot\System32\drivers\hidusb.sys (Version: 10.0.15063.0 Date: 2017-03-18)
    Driver Inf : C:\Windows\inf\input.inf
    Legacy BusType : PNPBus
    Class : HIDClass
    Class GUID : {745a17a0-74d3-11d0-b6fe-00a0c90f57da} (GUID_DEVCLASS_HIDCLASS)
    Interface GUID : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
    Service : HidUsb
    Enumerator : USB
    Location Info : Port_#0006.Hub_#0003
    Location IDs : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(6), ACPI(_SB_)#ACPI(PCI0)#ACPI(XHC_)#ACPI(RHUB)#ACPI(H S06)
    Container ID : {c790d7b4-ca37-11e7-95a6-bc5ff4f9e585}
    Manufacturer Info : (Standard system devices)
    Capabilities : 0x84 (Removable, SurpriseRemovalOK)
    Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
    Problem Code : 0
    Power State : D0 (supported: D0, D3, wake from D0)
    Child Device 1 : HID-compliant game controller
    Device ID : HID\VID_0079&PID_0011\6&379B9A&0&0000
    Class : HIDClass

    ---------------- Connection Information ---------------
    Connection Index : 0x06 (6)
    Connection Status : 0x01 (DeviceConnected)
    Current Config Value : 0x01
    Device Address : 0x06 (6)
    Is Hub : 0x00 (no)
    Number Of Open Pipes : 0x01 (1)
    Device Bus Speed : 0x00 (Low-Speed)
    Pipe0ScheduleOffset : 0x00 (0)

    --------------- Connection Information V2 -------------
    Connection Index : 0x06 (6)
    Length : 0x10 (16 bytes)
    SupportedUsbProtocols : 0x03
    Usb110 : 1 (yes)
    Usb200 : 1 (yes)
    Usb300 : 0 (no)
    ReservedMBZ : 0x00
    Flags : 0x00
    DevIsOpAtSsOrHigher : 0 (Is not operating at SuperSpeed or higher)
    DevIsSsCapOrHigher : 0 (Is not SuperSpeed capable or higher)
    DevIsOpAtSsPlusOrHigher : 0 (Is not operating at SuperSpeedPlus or higher)
    DevIsSsPlusCapOrHigher : 0 (Is not SuperSpeedPlus capable or higher)
    ReservedMBZ : 0x00

    ---------------------- Device Descriptor ----------------------
    bLength : 0x12 (18 bytes)
    bDescriptorType : 0x01 (Device Descriptor)
    bcdUSB : 0x100 (USB Version 1.00)
    bDeviceClass : 0x00 (defined by the interface descriptors)
    bDeviceSubClass : 0x00
    bDeviceProtocol : 0x00
    bMaxPacketSize0 : 0x08 (8 bytes)
    idVendor : 0x0079
    idProduct : 0x0011
    bcdDevice : 0x0106
    iManufacturer : 0x00 (No String Descriptor)
    iProduct : 0x02 (String Descriptor 2)
    Language 0x0409 : "USB Gamepad "
    iSerialNumber : 0x00 (No String Descriptor)
    bNumConfigurations : 0x01 (1 Configuration)

    ------------------ Configuration Descriptor -------------------
    bLength : 0x09 (9 bytes)
    bDescriptorType : 0x02 (Configuration Descriptor)
    wTotalLength : 0x0022 (34 bytes)
    bNumInterfaces : 0x01 (1 Interface)
    bConfigurationValue : 0x01 (Configuration 1)
    iConfiguration : 0x00 (No String Descriptor)
    bmAttributes : 0x80
    D7: Bus Powered : 0x01 (yes)
    D6: Self Powered : 0x00 (no)
    D5: Remote Wakeup : 0x00 (no)
    D4..0: Reserved, set 0 : 0x00
    MaxPower : 0x32 (100 mA)

    ---------------- Interface Descriptor -----------------
    bLength : 0x09 (9 bytes)
    bDescriptorType : 0x04 (Interface Descriptor)
    bInterfaceNumber : 0x00
    bAlternateSetting : 0x00
    bNumEndpoints : 0x01 (1 Endpoint)
    bInterfaceClass : 0x03 (HID - Human Interface Device)
    bInterfaceSubClass : 0x00 (None)
    bInterfaceProtocol : 0x00 (None)
    iInterface : 0x00 (No String Descriptor)

    ------------------- HID Descriptor --------------------
    bLength : 0x09 (9 bytes)
    bDescriptorType : 0x21 (HID Descriptor)
    bcdHID : 0x0110 (HID Version 1.10)
    bCountryCode : 0x21 (33 = US)
    bNumDescriptors : 0x01
    Descriptor 1:
    bDescriptorType : 0x22 (Class=Report)
    wDescriptorLength : 0x0065 (101 bytes)
    Error reading descriptor : ERROR_INVALID_PARAMETER

    ----------------- Endpoint Descriptor -----------------
    bLength : 0x07 (7 bytes)
    bDescriptorType : 0x05 (Endpoint Descriptor)
    bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
    bmAttributes : 0x03 (TransferType=Interrupt)
    wMaxPacketSize : 0x0008
    bInterval : 0x0A (10 ms)

    -------------------- String Descriptors -------------------
    ------ String Descriptor 0 ------
    bLength : 0x04 (4 bytes)
    bDescriptorType : 0x03 (String Descriptor)
    Language ID[0] : 0x0409 (English - United States)
    ------ String Descriptor 1 ------
    bLength : 0x24 (36 bytes)
    bDescriptorType : 0x03 (String Descriptor)
    Language 0x0409 : "DragonWind Inc. " *!*CAUTION trailing space characters
    ------ String Descriptor 2 ------
    bLength : 0x1A (26 bytes)
    bDescriptorType : 0x03 (String Descriptor)
    Language 0x0409 : "USB Gamepad " *!*CAUTION trailing space character
    ----- String Descriptor 0xEE -----
    bLength : 0x1A (26 bytes)
    bDescriptorType : 0x03 (String Descriptor)
    Language 0x0409 : "USB Gamepad " *!*CAUTION trailing space character

    #2
    Hi ,

    what Device do you have and did you already tried to play with them ???

    greetings / gefattern

    Comment


      #3
      tried it on a Mecool M8S Pro L with Magendanz android tv rom
      controller doesn't do anything

      Comment


        #4
        Hi ,

        first , please not make double Topics , in different Sections , okay ??? , had to delete it ,

        did you test it with some Emulators Apps and Games or how ???

        greetings / gefattern

        Comment


          #5
          tried retroarch and just in the android gui
          what info is needed to get it working?...was the stuff I posted not enough?

          Comment


            #6
            Hi ,

            i am not sure , because i am no Pro in that , there are ways to add Gamepad commands to

            stock Keylayout Files , somwhere here and an App that shows the Input of the Gamepad ,

            with this you can then modify the Keylayout File , have to look and search , come back later .

            greetings / gefattern

            Comment


              #7
              Originally posted by gogeta View Post
              tried retroarch and just in the android gui
              what info is needed to get it working?...was the stuff I posted not enough?
              Hi ,

              look at this Page , maybe it helps :

              http://freaktab.com/forum/developmen...rk-in-progress

              good luck / gefattern

              Comment

              Working...
              X