Commit graph

55 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
bbfd49310c Forgot some return statements in case the controller isn't connected 2013-04-03 18:12:05 +02:00
Kristian Sloth Lauszus
a890d4aca8 Moved PS3 report buffer into PS3Enums 2013-04-02 00:12:38 +02:00
Kristian Sloth Lauszus
831d18016e Added setLedRaw 2013-04-01 15:38:15 +02:00
Kevin Mark
970ca7890e 0 -> 0x00 2013-03-30 04:18:08 -04:00
Kevin Mark
f3342aa589 Code cleanup 2013-03-30 04:15:25 -04:00
Kevin Mark
67a8989cef Removed duplicate code from PS3BT/PS3USB's setRumbleOn 2013-03-30 03:43:36 -04:00
Kevin Mark
adff5d790d Overloaded PS3BT/PS3USB's setRumbleOn to accept custom rumble settings. 2013-03-30 03:42:52 -04:00
Andrew J. Kroll
904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00
Andrew J. Kroll
9b224b9899 port debugging of new files, need to eliminate all serial.print yet. 2013-03-28 04:37:09 -04:00
Kristian Sloth Lauszus
a96c3c4633 Now the XBOXRECV doesn't conflict as well
Also hci_handle is reset when you disconnect
2013-01-28 00:55:01 +01:00
Kristian Sloth Lauszus
391f5ece4d Fixed conflict between analog buttons and digital buttons 2013-01-27 22:02:33 +01:00
Kristian Sloth Lauszus
8ed3fcd3b8 The Wii and PS3 libaries can now be used at the same time 2013-01-27 21:25:50 +01:00
Kristian Sloth Lauszus
c4563ec7c8 Added activeConnection, so multiple controller can connect fast without any issues 2013-01-20 22:33:54 +01:00
Kristian Lauszus
70eaa7732c Improved sensor reading 2012-10-04 19:28:27 +02:00
Kristian Lauszus
81c7f22417 Added get9DOFValues
Thanks to Manfred Piendl for finding the values needed to convert the
Move sensor data into units
2012-10-02 02:05:07 +02:00
Kristian Lauszus
75a84c5e80 Better getButtonClick routine 2012-10-02 01:43:00 +02:00
Kristian Lauszus
09f19de0d3 Fixed conflict between PS3USB and PS3BT 2012-09-09 22:13:52 +02:00
Kristian Lauszus
c8de94a060 Potential bug fix 2012-08-21 14:20:12 +02:00
Kristian Lauszus
316e9974b1 Readded PS3BT.cpp 2012-08-18 03:25:09 +02:00
Oleg Mazurov
67bfceb240 BTD 2012-08-17 19:16:27 -06:00
Kristian Lauszus
7e31990a57 Renamed L2CAP states 2012-08-17 14:18:55 +02:00
Kristian Lauszus
acf47a683d Reset l2cap states at new connection request 2012-08-09 20:30:32 +02:00
Kristian Lauszus
d2ae0b4cd4 Fixed FailUnknownDevice 2012-08-08 21:24:13 +02:00
Kristian Lauszus
d495336442 Minor edit 2012-08-08 19:22:07 +02:00
Kristian Lauszus
77d72d49b2 print error code as hex 2012-08-08 18:00:02 +02:00
Kristian Lauszus
1ff0135b31 Some minor changes 2012-08-08 05:40:53 +02:00
Kristian Lauszus
b2d6e4313f Replaced pointer with buffer 2012-08-04 20:10:59 +02:00
Kristian Lauszus
a093e777d3 Several minor changes 2012-08-04 19:46:32 +02:00
Kristian Lauszus
136d854cef Now works properly with hubs 2012-08-04 19:08:43 +02:00
Kristian Lauszus
a5e1755fa7 First release 2012-08-04 12:20:47 +02:00
Kristian Lauszus
9e22dce46c Removed prog_char
prog_char is deprecated, as described here:
http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html
2012-06-23 00:17:23 +02:00
Kristian Lauszus
d251a48fb1 Added getTemperature() 2012-06-01 18:47:15 +02:00
Kristian Lauszus
053786b125 Updated getAngle() function 2012-06-01 17:27:21 +02:00
Kristian Lauszus
9d6eb2d69b Created same syntax for Move controller 2012-05-28 21:53:20 +02:00
Kristian Lauszus
91fbbfad3b Fixed some errors 2012-05-28 21:02:43 +02:00
Kristian Lauszus
d638d726e2 Several minor adjustments 2012-05-26 01:46:18 +02:00
Kristian Lauszus
b66a8f214c Added small delay in example sketch
Also fixed qNextPollTime
2012-05-25 19:59:00 +02:00
Kristian Lauszus
6b93de24ce Created separate flags for read bdaddr and read local version
Sometimes it didn't read the bluetooth address correctly, but still
just went on with the state machine.
The start number og reset loops also had to be increased.
2012-05-25 18:29:58 +02:00
Kristian Lauszus
73427c0384 Combined constructors 2012-05-24 14:39:01 +02:00
Kristian Lauszus
95a797e735 Updated getAngle() 2012-05-09 19:46:26 +02:00
Kristian Lauszus
e60ddbac5a Added setLedToggle() 2012-05-09 18:38:38 +02:00
Kristian Lauszus
2330fd95be Added HCI Version Check 2012-05-05 20:58:16 +02:00
Kristian Lauszus
d25414948f Added 360 degrees resolution of angle calculated from accelerometer 2012-04-24 22:49:34 +02:00
Kristian Lauszus
98cf17c947 Added 360 resolution 2012-04-24 01:35:43 +02:00
Kristian Lauszus
fd58db2680 Removed all delays 2012-04-15 01:42:16 +02:00
Kristian Lauszus
da6eb99a2f Minor revision 2012-04-12 23:15:18 +02:00
Kristian Lauszus
a90c2ab4da Added EXTRADEBUG 2012-04-11 16:48:55 +02:00
Kristian Lauszus
f16e348199 Minor edit 2012-04-11 02:18:25 +02:00
Kristian Lauszus
d4fcf68de4 Minor revision
The major difference is the potential support for different kind of
dongles
2012-04-11 01:52:43 +02:00
Kristian Lauszus
e63013cc62 Added better example and set delay one again
It seems like my Arduino Uno is faster, so the delay had to be increased
2012-03-26 16:25:24 +02:00