USBHost Gamepad driver sample for GR-PEACH

Dependencies:   USBHostGamepad mbed-src

/media/uploads/YuuichiAkagawa/peach-gamepad.jpg

ReportDescriptor

09 04     Usage(Gamepad)
A1 01     Collection(Application)
 A1 02     Collection(Logical)
  75 08      ReportSize=8
  95 02      ReportCount=2
  15 00      LogicalMinimum(0)
  26 FF 00   LogicalMaximum(255)
  35 00      PhysicalMinimum(0)
  46 FF 00   PhysicalMaximum(255)
  09 30      Usage(X)
  09 31      Usage(Y)
  81 02      Input(Data, Variable, Absolute)
  95 03      ReportCount=3
  81 01      Input(Const, Array, Absolute)
  75 01      ReportSize=1
  95 04      ReportCount=4
  25 01      LogicalMaximum(1)
  45 01      PhysicalMaximum(1)
  81 01      Input(Const, Array, Absolute)
  75 01      ReportSize=1
  95 06      ReportCount=6
  25 01      LogicalMaximum(1)
  45 01      PhysicalMaximum(1)
  05 09      UsagePage(Button) 
  19 01      UageMinimum(1)
  29 06      UsageMaximum(6)
  81 02      Input(Data, Variable, Absolute)
  06 00 FF   UsagePage(VendorDefined)
  75 01      ReportSize=1
  95 0E      ReportCount=14
  25 01      LogicalMaximum(1)
  45 01      PhysicalMaximum(1)
  09 01      Usage(Pointer)
  81 02      Input(Data, Variable, Absolute)
 C0          EndCollection
 A1 02       Collection(Logical)
  75 08      ReportSize=8
  95 07      ReportCount=7
  46 FF 00   PhysicalMaximum(255)
  26 FF 00   LogicalMaximum(255)
  09 02      Usage(Mouse)
  91 02      OUTPUT(Data, Variable, Absolute)
 C0          EndCollection
C0           EndCollection

History

initial commit default tip

2015-01-14, by YuuichiAkagawa [Wed, 14 Jan 2015 13:27:33 +0000] rev 1

initial commit


initial commit

2015-01-14, by YuuichiAkagawa [Wed, 14 Jan 2015 13:25:57 +0000] rev 0

initial commit