Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this sequence goes on endlessly after the device is connected. usb gamepad nes #18

Open
ferakond opened this issue Jun 16, 2024 · 0 comments

Comments

@ferakond
Copy link

New device detected on USB#0
desc.bcdUSB = 0x0100
desc.bDeviceClass = 0x00
desc.bDeviceSubClass = 0x00
desc.bDeviceProtocol = 0x00
desc.bMaxPacketSize0 = 0x08
desc.idVendor = 0x081f
desc.idProduct = 0xe401
desc.bcdDevice = 0x0106
desc.iManufacturer = 0x00
desc.iProduct = 0x02
desc.iSerialNumber = 0x00
desc.bNumConfigurations = 0x01
Config Descriptor
cfg.wLength = 0x22
cfg.bNumIntf = 0x01
cfg.bCV = 0x01
cfg.bMaxPower = 250
Interface Descriptor
sIntf.bLength = 0x09
sIntf.bType = 0x04
sIntf.iNum = 0x00
sIntf.iAltString = 0x00
sIntf.bEndPoints = 0x01
sIntf.iClass = 0x03
sIntf.iSub = 0x00
sIntf.iProto = 0x00
sIntf.iIndex = 0x00
HID Device Descriptor
hid.bLength = 0x09
hid.bDescriptorType = 0x21
hid.bcdHID = 0x110
hid.bCountryCode = 0x21
hid.bNumDescriptors = 0x01
hid.bReportDescriptorType = 0x22
hid.wItemLengthL = 0x62
hid.wItemLengthH = 0x00
EndPoint Descriptor
epd.bLength = 0x07
epd.bType = 0x05
epd.bEPAdd = 0x81
epd.bAttr = 0x03
epd.wPayLoad = 0x08
epd.bInterval = 0x0a
in: 0x7f 0x7f 0x00 0x80 0x80 0x0f 0x00 0x00
in: 0x7f 0x7f 0x00 0x80 0x80 0x0f 0x00 0x00
in: 0x7f 0x7f 0x00 0x80 0x80 0x0f 0x00 0x00
in: 0x7f 0x7f 0x00 0x80 0x80 0x0f 0x00 0x00
in: 0x7f 0x7f 0x00 0x80 0x80 0x0f 0x00 0x00
in: 0x7f 0x7f 0x00 0x80 0x80 0x0f 0x00 0x00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant