Demo for USBJoystick updated for 32 buttons.

Dependencies:   USBDevice USBJoystick_SIM mbed USBJoystick_2

Dependents:   USBJoystick_2

Fork of USBJoystick_HelloWorld2 by Wim Huiskamp

Revision:
4:dc3556a31262
Parent:
1:b106cf2e99ba
--- a/config.h	Sun Sep 16 09:57:12 2018 +0000
+++ b/config.h	Sat Sep 29 09:28:24 2018 +0000
@@ -69,10 +69,10 @@
 };
 
 PinName hatMap[] = {
-    PA_13,      // button 1
-    PA_14,      // button 2
-    PA_15,     // button 3
-    PB_7,      // button 4
+    PC_2,      // button 1
+    PC_3,      // button 2
+    PC_10,     // button 3
+    PC_12,      // button 4
     NC,        // button 5
     NC,        // button 6
     NC,        // button 7