PCS SNES Gamepad Hardware Report

From OS2World.Com Wiki
Jump to navigation Jump to search

LSUSB


Bus 001 Device 004: ID 0810:e501 Personal Communication Systems, Inc. SNES Gamepad
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0810 Personal Communication Systems, Inc.
  idProduct          0xe501 SNES Gamepad
  bcdDevice            1.06
  iManufacturer           0 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      89
          Report Descriptor: (length is -1)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10

HIDTEST

Device Found
  type: 0810 e501
  path:
  serial_number: (null)
  Manufacturer: (null)
  Product:      (null)
  Release:      106
  Interface:    0
  Usage (page): 0x4 (0x1)

OINPUT

EC000000810308000180807F7F0F0000
EC000000810308000180807F000F0000	-> Up
EC000000810308000180807F7F0F0000
EC000000810308000180807FFF0F0000	-> Down
EC000000810308000180807F7F0F0000
EC00000081030800018080FF7F0F0000	-> Left
EC000000810308000180807F7F0F0000
EC00000081030800018080007F0F0000	-> Right
EC0000008103080001808000000F0000
EC00000081030800018080007F0F0000
EC000000810308000180807F7F0F0000
EC000000810308000180807F7F2F0000	-> A
EC000000810308000180807F7F0F0000
EC000000810308000180807F7F1F0000	-> B
EC000000810308000180807F7F0F0000
EC000000810308000180807F7F0F1000	-> Select
EC000000810308000180807F7F0F0000
EC000000810308000180807F7F0F2000	-> Start
EC000000810308000180807F7F0F0000