Commit graph

1011 commits

Author SHA1 Message Date
Kristian Lauszus
9b44357d04 Added packed attribute to all structs in PS4Parser.h. This was needed for Teensy 3.x
It was actually only necessary for finger in touchpadXY, but I added to all structs to prevent similar compile errors for future architectures
2014-02-16 01:24:38 +01:00
Kristian Lauszus
b25c7d2f3c Made it easy to disable printing incoming data in hiduniversal 2014-02-03 23:11:44 +01:00
Kristian Lauszus
7806212132 Removed some unnecessary functions and some other cleanup 2014-02-03 23:06:27 +01:00
Kristian Lauszus
08abfd4268 Fixes #72 2014-01-23 10:38:00 +01:00
Kristian Lauszus
876962afce Update comments 2014-01-22 06:31:27 +01:00
Kristian Lauszus
2a1db31cf1 Can now read the IMU and touchpad values of the PS4 controller via Bluetooth as well
Thanks to Frank Zhao - see: http://eleccelerator.com/wiki/index.php?title=DualShock_4#0x11
2014-01-22 05:13:49 +01:00
Kristian Lauszus
e2bf041286 Updated some more comments 2014-01-19 17:14:09 +01:00
Kristian Lauszus
e781d6c554 Updated some comments and some other minor things 2014-01-19 16:58:29 +01:00
Kristian Lauszus
06b859bb7f Added links to blog posts 2014-01-19 00:11:48 +01:00
Kristian Lauszus
ad7078d6ad Forgot return in connected() 2014-01-18 23:51:20 +01:00
Kristian Lauszus
681c668448 Fixed conflict between PS3 and PS4 libraries 2014-01-18 22:50:05 +01:00
Kristian Lauszus
da2ee95445 Added support for the PS4 controller via USB
Also improved the PS4BT library
2014-01-18 22:36:01 +01:00
Kristian Lauszus
0c05413447 Remote name buffer should be a char array 2014-01-16 18:56:42 +01:00
Kristian Lauszus
2e4f9c852d Added information about powered hub to FAQ 2014-01-14 23:56:17 +01:00
Kristian Lauszus
6ae41c436f Fixed include 2014-01-12 19:26:19 +01:00
Kristian Lauszus
3dd5b1ab1c Handle DPAD properly on the PS4 controller
The DPAD got separate values for each case - see: DPADEnum in PS4BT.h.
2014-01-12 18:15:13 +01:00
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