Commit graph

781 commits

Author SHA1 Message Date
Kristian Lauszus
b4bb7c9244 Fixed some bugs introduced in e18eb57752 2013-12-06 22:58:16 +01:00
Kristian Lauszus
34ea983e88 Use VALUE_WITHIN macro 2013-12-05 20:07:31 +01:00
Kristian Lauszus
0a7ffe5776 Allow to override default arrays in hidboot, so it can easily be used with other keyboard layouts 2013-12-05 19:57:50 +01:00
Andrew J. Kroll
fd13b87c18 Improve macro farther 2013-12-05 02:06:07 -05:00
Kristian Lauszus
aa235ac3ed Macros were renamed in f38a0f6515 2013-12-05 07:41:57 +01:00
Kristian Lauszus
16f124d596 Removed unused code 2013-12-05 07:40:07 +01:00
Kristian Lauszus
b100677354 Fixed bug - epMUL was already defined 2013-12-05 07:39:28 +01:00
Kristian Lauszus
d168409b04 Included spi4teensy3.h in BTHID example
This should really be fixed in the Arduino IDE
2013-12-05 07:32:32 +01:00
Kristian Lauszus
75637bab31 Merge branch 'master' into xxxajk 2013-12-05 07:26:41 +01:00
Andrew J. Kroll
6d927d8cd3 Remove unused vasriable and setting 2013-12-04 22:41:13 -05:00
Andrew J. Kroll
edf9682923 Support spi4teensy3 in all examples automatically 2013-12-04 21:56:06 -05:00
Andrew J. Kroll
ac12126477 Macroize desc parser 2013-12-04 21:55:24 -05:00
Andrew J. Kroll
f38a0f6515 Refactor conflicting defines 2013-12-04 21:11:25 -05:00
Andrew J. Kroll
95d133b919 Merge 2013-12-04 18:51:06 -05:00
Andrew J. Kroll
e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -05:00
Kristian Lauszus
237a8a5800 Formatting 2013-12-01 18:36:19 +01:00
Kristian Lauszus
315af437ed Now easier to disable and enable printing of incoming data 2013-12-01 17:06:32 +01:00
Kristian Lauszus
ab9338a55e Added missing semicolon
Needed for STM32
2013-12-01 16:03:11 +01:00
Kristian Lauszus
c84dce8e00 Renamed clearAllVariables() to Initialize() 2013-12-01 16:02:23 +01:00
Kristian Lauszus
6004d61de2 Removed some unused code and cleanup 2013-11-27 00:07:58 +01:00
Kristian Lauszus
b5d997c821 Typo 2013-11-25 23:27:37 +01:00
Kristian Lauszus
5edcc13c6c Added information about spi4teensy3 library 2013-11-25 23:26:11 +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
2de6238a6b Updated comment about Stream class 2013-11-25 18:20:22 +01:00
Kristian Lauszus
148b67ca2d Fixed flush
It behaved like prior Arduino 1.0
2013-11-25 18:15: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
eed70438be Set default pin to “0000” 2013-11-25 02:20:57 +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
45465fa928 Fixed comment 2013-11-25 00:43:47 +01:00
Kristian Lauszus
1b9c3952ac Typo 2013-11-25 00:33:44 +01:00
Kristian Lauszus
0735774a46 Forgot to init protocolMode 2013-11-25 00:32:06 +01:00
Kristian Lauszus
27b8656f91 Added information about how to change protocol mode 2013-11-25 00:31:42 +01:00
Kristian Lauszus
f8c948f132 Added information about BTHID library 2013-11-25 00:25:25 +01:00
Kristian Lauszus
69dbf06bea Updated keywords 2013-11-24 23:54:59 +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
Kristian Lauszus
4512f0ee0c Whitespace 2013-11-24 16:55:03 +01:00
Kristian Lauszus
31951e85ff Decreased delay between commands 2013-11-24 16:54:42 +01:00
Kristian Lauszus
0e0b48b3c8 Use the submodules in the makefile 2013-11-24 16:03:52 +01:00
Kristian Lauszus
191cdf9e2c Updated testusbhostFAT example and submodules 2013-11-24 16:03:28 +01:00
Kristian Lauszus
5b9fb51db0 Merge branch 'master' into xxxajk 2013-11-24 15:32:52 +01:00
Kristian Lauszus
bcc51279d9 Added function, so one can connect to any Bluetooth device by setting the Bluetooth address as an argument 2013-11-24 15:31:12 +01:00
Kristian Lauszus
c58f93dd83 Check if Bluetooth address is set before returning true to a PS3 controller 2013-11-24 15:23:41 +01:00
Kristian Lauszus
a340b81100 Commented out hub instance by default 2013-11-24 15:17:19 +01:00
Kristian Lauszus
b22f52895c Check if PS3Connected is true instead 2013-11-24 15:15:46 +01:00
Andrew J. Kroll
8715cbde67 Add spi4teensy3 library support 2013-11-24 08:56:34 -05:00
Andrew J. Kroll
82696f08c7 Clean up type puns, and reordering warnings 2013-11-24 08:56:27 -05:00