Commit graph

1395 commits

Author SHA1 Message Date
Kristian Lauszus
eea5c44b96 Now onInit() works with the PS4 library as well 2014-01-12 17:20:18 +01:00
Kristian Lauszus
c163228063 Renamed KEYPAD to TOUCHPAD 2014-01-12 16:33:19 +01:00
Kristian Lauszus
7469ff099e Typos, whitespace and some other cleanup stuff 2014-01-12 16:31:47 +01:00
Kristian Lauszus
22efbd4d60 Added information about the PS4 library 2014-01-12 16:05:17 +01:00
Kristian Lauszus
5056153325 Updated comment 2014-01-10 18:23:22 +01:00
Kristian Lauszus
3ea4b073f5 Updated documentation typo 2014-01-10 18:15:12 +01:00
Kristian Lauszus
c11ca6c434 Merge branch 'PS4BT' 2014-01-10 18:07:59 +01:00
Kristian Lauszus
c98832a9e6 Updated submodules 2014-01-10 18:07:28 +01:00
Kristian Lauszus
e9bd896ca2 Added support for the PS4 controller via Bluetooth 2014-01-10 17:44:51 +01:00
Kristian Lauszus
1f33f2bd08 Renamed getStatusString() to printStatusString() 2014-01-04 14:14:22 +01:00
Kristian Lauszus
257c96f5c1 Can now turn LED off by calling setLedOn(OFF) for all controllers
Also renamed all enums, so they does not conflict with user code that easily
2014-01-04 13:43:49 +01:00
Kristian Lauszus
ec38c78799 Added support for Joytech controller in XBOXRECV and Madcatz controllers in XBOXUSB 2013-12-30 16:48:15 +01:00
Kristian Lauszus
f676812f84 Code for the Wii IR camera needs to be activated in settings.h now
Also cleaned up README.md a bit
2013-12-30 16:19:34 +01:00
Kristian Lauszus
fcdf6abfa0 Check protocol in setProtocol before sending it to the device 2013-12-30 16:11:19 +01:00
Kristian Lauszus
2283753ba1 Check id values when GetReportParser and SetReportParser are called 2013-12-30 16:08:03 +01:00
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