modified to compile for me
Fork of USBHostXpad by
Diff: USBHostXpad.h
- Revision:
- 6:954ecd99709c
- Parent:
- 3:53ce7778a155
diff -r e0ed758abbdb -r 954ecd99709c USBHostXpad.h --- a/USBHostXpad.h Fri Nov 04 21:29:16 2016 +0000 +++ b/USBHostXpad.h Mon Dec 12 01:07:42 2016 +0000 @@ -66,6 +66,7 @@ TYPE_XBOX, TYPE_XBOX360, TYPE_XBOX360W, + TYPE_XBOXONE, }; /** @@ -136,6 +137,7 @@ void parseMessage(); void (*onUpdate)(int buttons, int stick_lx, int stick_ly, int stick_rx, int stick_ry, int trigger_l, int trigger_r); void init(); + unsigned char serial; bool start(); };