Commit graph

1449 commits

Author SHA1 Message Date
Andrew J. Kroll
d56ed57495 Fix 1 month rollover bug -- Lei Shi found this one in one place, I found the problem all over the library and patched them all. 2014-05-22 23:36:33 -04:00
Andrew J. Kroll
0acad810b2 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2014-05-22 01:33:23 -04:00
Andrew J. Kroll
b1ac516175 Better/smaller EndpointXtract method, Removes buggy/unused/dead block of code. 2014-05-22 01:33:01 -04:00
Kristian Lauszus
67cb06e858 Add space between bytes printed for debugging 2014-05-21 23:29:15 +02:00
Kristian Lauszus
e986282fa5 Forgot to call setLedRaw with the controller as the second argument in setLedOn 2014-04-28 22:01:38 +02:00
Kristian Lauszus
2c5f5e8c09 Can now read battery level and usb, audio and mic status of PS4 controller
Inspired by: https://github.com/chrippa/ds4drv/blob/master/ds4drv/device.py
2014-04-23 23:40:47 +02:00
Kristian Lauszus
d9dfa3cf35 Show how to control the light and rumble inside the PS4 controller 2014-04-06 19:15:43 +02:00
Kristian Lauszus
7e1feedbd1 Forgot copyright section in settings.h in 1ebce9b877 2014-03-29 00:54:51 +01:00
Kristian Lauszus
0be51b12e5 Updated PS3 paring documentation 2014-03-27 02:45:49 +01:00
Kristian Lauszus
7569c19a76 Fixed comment
The default pin was changed from 1234 to 0000 a while back
2014-03-19 18:06:44 +01:00
Kristian Lauszus
b3b476af33 Fixed debug message 2014-03-18 18:37:36 +01:00
Kristian Lauszus
af2e8d5184 Removed files used for Netbeans project 2014-03-18 18:37:02 +01:00
Kristian Lauszus
00ae0d138f Updated submodules 2014-03-18 18:29:47 +01:00
Kristian Lauszus
2b31f96bcd Making it clearer how to get the PS4 controller into paring mode 2014-03-17 15:48:37 +01:00
Kristian Lauszus
62f8cbbc25 Do not set SS pin for the Due
Let the Arduino SPI library take care of that
2014-03-07 02:19:34 +01:00
Kristian Lauszus
1ebce9b877 Some files were missing copyright section 2014-03-07 02:17:47 +01:00
Kristian Lauszus
a042e5a849 Simplify how PS3 printStatusString prints the string 2014-03-07 02:12:39 +01:00
Kristian Lauszus
0378d35ee8 Merge branch 'xxxajk' 2014-03-06 21:48:54 +01:00
Kristian Lauszus
bb9fef05db Typo once again 2014-03-06 21:48:48 +01:00
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