Kristian Sloth Lauszus
2dc817f84a
Added attachOnInit
...
This will allow the user to call a function when the controller is initialized
2013-07-14 00:43:35 +02:00
Andrew J. Kroll
e01df49bf3
refactor entire library for hex printing
2013-06-17 15:37:09 -04:00
Oleg Mazurov
261e5f1bd2
commit
2013-06-11 21:11:43 -06:00
Andrew J. Kroll
f1e01dbaab
merge with head
2013-05-16 17:03:44 -04:00
Kristian Sloth Lauszus
1a362c5310
Shift one so it the same as setLedOn etc.
2013-05-16 19:29:59 +02:00
Kristian Sloth Lauszus
48b3ed93f5
Removed all direct calls to serial.print
2013-04-26 23:50:39 +02:00
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