Commit graph

23 commits

Author SHA1 Message Date
Kristian Lauszus
e9bd896ca2 Added support for the PS4 controller via Bluetooth 2014-01-10 17:44:51 +01:00
Kristian Lauszus
fcdf6abfa0 Check protocol in setProtocol before sending it to the device 2013-12-30 16:11:19 +01:00
Andrew J. Kroll
14fda1372c Fix annoying warnings and provide an optimization. 2013-12-29 23:53:24 -05:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Kristian Lauszus
ddaa6f0220 Fixed “comparison between signed and unsigned integer expressions” warning 2013-12-18 23:01:01 +01:00
Andrew J. Kroll
fcaef6f5a2 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-12-18 15:19:29 -05:00
Andrew J. Kroll
5785115cdb Type fixes, new debug macro, debug bug fixes. 2013-12-18 15:18:28 -05:00
Kristian Lauszus
471a8d9163 Set pin even if it should not pair to a device
Needed by some Bluetooth mice that always want authentication
2013-12-13 10:41:59 +01:00
Kristian Lauszus
1ef78c3674 Do not hardcode identifier when disconnecting 2013-12-13 10:38:41 +01:00
Kristian Lauszus
084c3f5478 Removed non-generic case 2013-12-12 01:01:50 +01:00
Kristian Lauszus
809e80a1b0 Clear and set flags in a more readable way 2013-12-11 09:59:58 +01:00
Kristian Lauszus
b100677354 Fixed bug - epMUL was already defined 2013-12-05 07:39:28 +01:00
Kristian Lauszus
237a8a5800 Formatting 2013-12-01 18:36:19 +01:00
Kristian Lauszus
6004d61de2 Removed some unused code and cleanup 2013-11-27 00:07:58 +01:00
Kristian Lauszus
bcc4afede5 Set protocol shouldn’t have it’s own state, as it will then sometimes not call the other states afterwards 2013-11-25 19:01:20 +01:00
Kristian Lauszus
627c390191 Minor 2013-11-25 18:46:10 +01:00
Kristian Lauszus
a31cc42585 Use reinterpret_cast to cast from BTHID to HID class, so it can be used in the parser 2013-11-25 17:39:59 +01:00
Kristian Lauszus
5f49b321cb Print data receiving on the L2CAP control channel for debugging 2013-11-25 02:58:33 +01:00
Kristian Lauszus
253b43c06f Set protocol before establishing interrupt channel 2013-11-25 02:15:33 +01:00
Kristian Lauszus
4099314100 Can now set the LEDs on a keyboard 2013-11-25 01:45:24 +01:00
Kristian Lauszus
0735774a46 Forgot to init protocolMode 2013-11-25 00:32:06 +01:00
Kristian Lauszus
aba004b047 Use the HIDBoot class to parse the incoming data 2013-11-24 23:51:45 +01:00
Kristian Lauszus
f783b97cb9 Initial commit for BTHID library
To see incoming data uncomment PRINTREPORT in BTHID.cpp
2013-11-24 21:55:15 +01:00