Commit graph

880 commits

Author SHA1 Message Date
Kristian Lauszus
8ae6f8bb1d Updated comments - especially in BTHID.h 2013-12-30 16:05:50 +01:00
Andrew J. Kroll
14fda1372c Fix annoying warnings and provide an optimization. 2013-12-29 23:53:24 -05:00
Andrew J. Kroll
5426cb1fb6 Fix annoying warning generated on newer GCC versions. 2013-12-29 22:55:03 -05:00
Andrew J. Kroll
3ee654bb12 Very small optimization. 2013-12-28 14:43:21 -05:00
Andrew J. Kroll
8a9f16ed38 HID BOOT Verified. Flick debug off. 2013-12-26 11:21:31 -05:00
Andrew J. Kroll
d29a00d761 fix mid button and struct 2013-12-25 05:24:59 -05:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Andrew J. Kroll
b8fb19fb90 Optimize mouse code, add notes. 2013-12-25 04:49:01 -05:00
Andrew J. Kroll
d17e1f94cb HID fixes
Fix incorrect GetReportDescr args. We want the interface index.
HID BOOT mouse will now always work
HID BOOT keyboard will now always work
2013-12-25 01:08:02 -05:00
Andrew J. Kroll
81d3018022 a sink parser that throws away data. 2013-12-25 01:07:17 -05:00
Andrew J. Kroll
c298e349ae HID_BOOT fixes.
Fix Keyboard init issue.
Set boot protocol and idle on all interfaces.

TO-DO:
Investagate mouse init issue.
There are many devices with quirks that can not be worked around easily on
such a small platform. These need to be addressed.

Note! This commit does not fully fix mouse problems on all mouse adaptors,
but more of them should start working.
2013-12-23 14:12:29 -05:00
Kristian Lauszus
ef4757f88f Check if GCC_VERSION is defined before defining it 2013-12-21 13:40:28 +01:00
Kristian Lauszus
35e8bb2dbf Removed unused code 2013-12-21 13:39:47 +01:00
Andrew J. Kroll
f789c65c02 fix demos 2013-12-19 13:01:48 -05:00
Andrew J. Kroll
6638f61352 Finalize fix 2013-12-18 22:20:50 -05:00
Andrew J. Kroll
1cad976f29 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-12-18 22:04:22 -05:00
Andrew J. Kroll
77efe42a71 Fix hidboot not allocating or checking properly on mouse.
Removal of duplicate code: Force all drivers to delay after setting address.
2013-12-18 22:02:51 -05:00
Oleg Mazurov
94ac0b986a dec18-1 2013-12-18 15:06:06 -07:00
Oleg Mazurov
e0b9ea89cb dec18 2013-12-18 15:04:13 -07: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
fdd65eab68 Whitespace 2013-12-16 09:18:01 +01:00
Kristian Lauszus
92c7a64309 Store all strings in getStatusString() in flash 2013-12-16 09:16:12 +01:00
Kristian Lauszus
f283e90402 Renamed CLK, MOSI, MISO and SS variables, as they conflicted with defines in pins_arduino.h
See: 7fcba37acf
2013-12-15 22:19:50 +01:00
Kristian Lauszus
0b2e444e7b Fixed macros in Wii.h as well 2013-12-13 11:27:05 +01:00
Kristian Lauszus
6ea34f955e Fixed flag macros
Needed if you want to clear multiple flags at once
2013-12-13 11:18:30 +01: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
184770489f Removed another unneeded case in the state machine 2013-12-13 10:41:12 +01:00
Kristian Lauszus
1ef78c3674 Do not hardcode identifier when disconnecting 2013-12-13 10:38:41 +01:00
Kristian Lauszus
413e65a44f Reorder values 2013-12-13 10:36:15 +01:00
Kristian Lauszus
a7f6b2e4dc Removed unneeded case 2013-12-13 10:35:27 +01:00
Kristian Lauszus
084c3f5478 Removed non-generic case 2013-12-12 01:01:50 +01:00
Andrew J. Kroll
6e70087f0b teensy 3.1 support 2013-12-11 14:15:51 -05:00
Kristian Lauszus
c1f82e9e47 Check length is larger than 0 before sending data to Bluetooth services 2013-12-11 11:56:05 +01:00
Kristian Lauszus
6909ecd6b8 Use more readable macros in the BTD class as well 2013-12-11 10:37:18 +01:00
Kristian Lauszus
712bc3818d Fixed warning
Check if we are at the end of the string properly
2013-12-11 10:10:12 +01:00
Kristian Lauszus
dec1a31bc7 Updated some comments 2013-12-11 10:06:40 +01:00
Kristian Lauszus
809e80a1b0 Clear and set flags in a more readable way 2013-12-11 09:59:58 +01:00
Kristian Lauszus
ed36d04e7c Move all L2CAP states etc. into BTD.h, so the different drivers does not conflict when used together 2013-12-11 09:29:38 +01:00
Kristian Lauszus
73bffffddc Don’t inlcude avr/pgmspace.h
This is needed, as we work around bug in GCC - see: 9b3bae9dbe
2013-12-10 00:50:03 +01:00
Kristian Lauszus
9b3bae9dbe Workaround for bug in GCC < 4.6.2 2013-12-10 00:39:12 +01:00
Kristian Lauszus
e92dd0d03d Typo 2013-12-08 17:42:14 +01:00
Kristian Lauszus
8072e6f1bb Added max_LCD example
Copy of: https://github.com/arduino/Arduino/blob/ide-1.5.x/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.ino
2013-12-07 00:34:33 +01:00
Kristian Lauszus
00442ce2e5 Updated max_LCD to inherit the standard Print class
Works both in Arduino < 1.0.0 and newer versions of Arduino
2013-12-07 00:32:21 +01:00
Kristian Lauszus
4533e3cd44 Allow SPP to work in Arduino 0.2.3 and below 2013-12-07 00:26:49 +01:00
Kristian Lauszus
843eec8ba6 Print when connected and disconnected from accessory 2013-12-06 23:27:26 +01:00
Kristian Lauszus
655b60ea90 Added some delays between USB commands 2013-12-06 23:24:25 +01:00
Kristian Lauszus
4f738d3ef9 Removed some unused code 2013-12-06 22:59:12 +01:00
Kristian Lauszus
b4bb7c9244 Fixed some bugs introduced in e18eb57752 2013-12-06 22:58:16 +01:00