Kristian Lauszus
25c8d87ba2
Added several variables to BluetoothService class
...
Also moved attachOnInit function into BluetoothService class, but this really belong somewhere else
2014-09-02 02:02:17 -07: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
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
8ae6f8bb1d
Updated comments - especially in BTHID.h
2013-12-30 16:05:50 +01:00
Andrew J. Kroll
f1af9b08ec
Janitorial, whitespace fixes. No new code.
2013-12-25 05:09:57 -05:00
Kristian Lauszus
ed36d04e7c
Move all L2CAP states etc. into BTD.h, so the different drivers does not conflict when used together
2013-12-11 09:29:38 +01:00
Kristian Lauszus
5b793db3e3
Can now call setLedOff without any argument, to turn all LEDs off
2013-11-15 23:19:10 +01:00
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
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
f3342aa589
Code cleanup
2013-03-30 04:15:25 -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
Kristian Sloth Lauszus
2266398b28
Updated documentation
2013-02-17 01:25:49 +01:00
Kristian Sloth Lauszus
1333e9a63b
Updated comments to work with Doxygen
2013-02-05 19:51:45 +01:00
Kristian Sloth Lauszus
ca0c34135d
Fixed comments
2013-01-28 14:28:05 +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
c4563ec7c8
Added activeConnection, so multiple controller can connect fast without any issues
2013-01-20 22:33:54 +01:00
Kristian Lauszus
c55c77fa03
Added comment about difference bewteen getButtonPress and getButtonClick
2012-10-03 20:49:50 +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
09f19de0d3
Fixed conflict between PS3USB and PS3BT
2012-09-09 22:13:52 +02:00
Kristian Lauszus
a3ad5f2cdd
Added support for Wiimote
2012-08-21 14:31:11 +02:00
Kristian Lauszus
7e31990a57
Renamed L2CAP states
2012-08-17 14:18:55 +02:00
Kristian Lauszus
cc897632f9
Removed unused buffer
2012-08-09 00:59:32 +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
a5e1755fa7
First release
2012-08-04 12:20:47 +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
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
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
0899357deb
Updated header
2012-03-04 02:38:50 +01:00
Kristian Lauszus
b8a17e62bb
Added PS3 BT support
2012-03-02 08:34:29 +01:00