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

Files at this revision

API Documentation at this revision

Comitter:
YuuichiAkagawa
Date:
Wed Jan 14 13:27:33 2015 +0000
Parent:
0:e6aa53f51545
Commit message:
initial commit

Changed in this revision

USBHost.lib Show annotated file Show diff for this revision Revisions of this file
USBHostGamepad.lib Show annotated file Show diff for this revision Revisions of this file
diff -r e6aa53f51545 -r 5c0f9b413b1e USBHost.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/USBHost.lib	Wed Jan 14 13:27:33 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/GR-PEACH_producer_meeting/code/USBHost/#b95d9006e69c
diff -r e6aa53f51545 -r 5c0f9b413b1e USBHostGamepad.lib
--- a/USBHostGamepad.lib	Wed Jan 14 13:25:57 2015 +0000
+++ b/USBHostGamepad.lib	Wed Jan 14 13:27:33 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/YuuichiAkagawa/code/USBHostGamepad/#41cbc946bf73
+http://developer.mbed.org/users/YuuichiAkagawa/code/USBHostGamepad/#7345e2afa41e