Xbox 360 Wireless Controller for Windows library. sample: http://mbed.org/users/okini3939/code/USBHostXpad_HelloWorld/

Dependents:   USBHostXpad_HelloWorld USBHostXpad_HelloWorld

Xbox 360 Wireless Controller for Windows

Microsoftの XBOX 360 ワイヤレスコントローラーを、パソコン用のUSB接続型レシーバーで mbed に接続して使えるライブラリです。

USB Host 機能を使いますので mbed LPC1768 専用です。

たまに処理が停止する不具合があります。

/media/uploads/samux/usb_host_schema.jpg

Files at this revision

API Documentation at this revision

Comitter:
okini3939
Date:
Sat Feb 01 08:12:44 2014 +0000
Parent:
3:53ce7778a155
Commit message:
disabled auto restart

Changed in this revision

USBHostXpad.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 53ce7778a155 -r 4254192898a9 USBHostXpad.cpp
--- a/USBHostXpad.cpp	Fri Dec 13 07:36:09 2013 +0000
+++ b/USBHostXpad.cpp	Sat Feb 01 08:12:44 2014 +0000
@@ -122,7 +122,7 @@
             } else
             if (report[3] == 0xf0) {
                 // Device low power mode (HID updates will stop until controller inputs change)
-                restart();
+//                restart();
             }
         } else
         if (report[1] == 0xf8) {