Commit graph

828 commits

Author SHA1 Message Date
Kristian Lauszus 2bb6c970b0 Merge branch 'Due' 2014-03-06 21:45:01 +01:00
Kristian Lauszus a0661ef244 Typo correction 2014-03-06 19:32:17 +01:00
Kristian Lauszus 4f978efe23 Added information about the need to include the Arduino SPI library when using the Due 2014-03-06 19:25:35 +01:00
Andrew J. Kroll 7e826ab32b Fix accidental comment paste. 2014-03-03 19:46:08 -05:00
Kristian Lauszus 76b1c3fb32 Added some syntax highlighting in the readme 2014-03-03 02:59:09 +01:00
Kristian Lauszus d8cadc5744 Increase SPI speed on the Due to 21MHz 2014-03-02 16:35:16 +01:00
Andrew J. Kroll d95bee640e Allow other lock implementations. 2014-02-27 03:10:46 -05:00
Kristian Lauszus f8379baffe Changed variable name from baseReg to pio 2014-02-26 23:46:21 +01:00
Kristian Lauszus ce81146f2b Disable pull up resistor when using input on the Due 2014-02-26 23:43:40 +01:00
Kristian Lauszus 983a7d664f Added getLastMessageTime() - this is useful if you want to detect if the connection is lost with the PS3 controller
Credit: Thomas Frederick
2014-02-25 19:37:57 +01:00
Kristian Lauszus a24ecb5797 Updated readme and some comments 2014-02-25 19:32:49 +01:00
Kristian Lauszus 39b6c3b124 Added support for the Arduino Due
Untested
2014-02-25 11:47:59 +01:00
Andrew J. Kroll 11a93eb06a Teensy++2 support with xmem2 2014-02-22 12:52:57 -05:00
Kristian Lauszus 37d59a63b2 bigRumble and smallRumble values were swapped 2014-02-17 17:39:15 +01:00
Kristian Lauszus fcd6eb5084 Improved the way PS4 buttons are read 2014-02-17 01:25:29 +01:00
Kristian Lauszus a21d1e7258 Cleanup
No new code
2014-02-17 00:50:02 +01:00
Kristian Lauszus 2b69cfe15e Fixed indentation in PS4Parser.cpp 2014-02-17 00:27:46 +01:00
Kristian Lauszus 6373ebe6ce Can now set the rumble and light on the PS4 controller
Still need to test it via USB
2014-02-17 00:21:21 +01:00
Kristian Lauszus ac5d134f73 Added support for Afterglow wired Xbox controller 2014-02-16 18:13:19 +01:00
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