Commit graph

113 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
ac1bad4eee Faster processors like the Teensy 3.0 needed a delay before setting the configuration to the PS3 controller 2013-10-21 17:36:42 +02:00
Kristian Sloth Lauszus
a312a45d0b Print if connection failed 2013-10-08 19:51:41 +02:00
Kristian Sloth Lauszus
7a02a07620 Don't change error code if it returned hrJERR 2013-10-08 19:51:20 +02:00
Kristian Sloth Lauszus
01e0e6cf2d Don't clear pairWithWii 2013-10-08 18:52:37 +02:00
Kristian Sloth Lauszus
90dba71937 Moved PID and VID readings 2013-10-07 01:45:21 +02:00
Kristian Sloth Lauszus
b76ddedd59 Implement ConfigureDevice() before Init()
Also added clearAllVariables() - see: https://github.com/felis/USB_Host_Shield_2.0/pull/63
2013-10-07 00:47:53 +02:00
Kristian Sloth Lauszus
b2e85fd274 Indent... 2013-09-27 21:39:38 +02:00
Lei Shi
952e6f1e98 ARM non-init issue. 2013-09-27 17:07:05 +08:00
Kristian Sloth Lauszus
643972ad51 Print carriage return before line feed 2013-09-12 22:24:48 +02:00
Kristian Sloth Lauszus
5e97ec6a51 Don't return Unknown device if a PS3 controller is plugged in 2013-09-12 22:12:13 +02:00
Andrew J. Kroll
af4302f360 streamline failure path in code 2013-09-05 18:57:13 -04:00
Kristian Sloth Lauszus
64cdcf51f4 Check for IOGEAR GBU521 manually 2013-08-14 00:43:15 +02:00
Kristian Sloth Lauszus
e1e159b560 Fixed problem with IOGEAR GBU521 2013-08-13 22:42:49 +02:00
Kristian Sloth Lauszus
6a090c0791 Ignore hrNAK error 2013-08-02 14:24:06 +02:00
Kristian Sloth Lauszus
b957f5f4dc Added delay after setting address 2013-07-15 19:34:56 +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
Andrew J. Kroll
814c2baf55 debugging macro fixes 2013-05-16 16:43:51 -04:00
Kristian Sloth Lauszus
91d7195577 Check if Bluetooth address is set before writing to PS3 controller 2013-05-14 00:47:05 +02:00
Kristian Sloth Lauszus
48b3ed93f5 Removed all direct calls to serial.print 2013-04-26 23:50:39 +02:00
Kristian Sloth Lauszus
d49eba0372 Cleaned up some formatting 2013-04-03 18:30:46 +02:00
Kristian Sloth Lauszus
9781bbab33 Simplified paring with Wiimote and Wii U Pro Controller 2013-04-03 18:30:24 +02:00
Kristian Sloth Lauszus
913496f8ea Removed double instance of the same code 2013-04-02 00:10:02 +02:00
Kristian Sloth Lauszus
02f98dd950 Can now print out class of device of incoming device 2013-04-01 03:06:49 +02:00
Andrew J. Kroll
5ec8889fa3 Unify a bunch of debug fail messages to a single point. More needed. 2013-03-30 10:29:16 -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
49ade831a7 Write class of device
This is needed in order for some devices to see the dongle
2013-03-14 23:40:52 +01:00
Kristian Sloth Lauszus
1333e9a63b Updated comments to work with Doxygen 2013-02-05 19:51:45 +01:00
Kristian Sloth Lauszus
131550aa73 Fixed bug SPP in library 2013-02-04 08:38:10 +01:00
Kristian Sloth Lauszus
4311bc9fee Fixed comment 2013-02-03 22:28:54 +01:00
Kristian Sloth Lauszus
355ca892eb Added support for Wii U Pro Controller 2013-02-02 22:14:01 +01:00
Kristian Sloth Lauszus
ac4fc92ea7 The library now also support multiple Wiimotes 2013-01-20 22:46:04 +01:00
Kristian Sloth Lauszus
6598bca58a Added #ifdef several places 2013-01-19 15:43:28 +01:00
Kristian Sloth Lauszus
c639a3ee4f Now works with the new Wiimote with Motion Plus Inside 2013-01-10 20:10:16 +01:00
Kristian Lauszus
091650d0a1 Exit if inquiry finished 2012-10-08 15:32:42 +02:00
Kristian Lauszus
3441f6c3c4 Prevent it from printing "Pairing successful" multiple times 2012-10-07 22:31:28 +02:00
Kristian Lauszus
d445689813 Fixed bug when pairing 2012-10-07 19:44:27 +02:00
Kristian Lauszus
2a6fa135e5 Fixed comment 2012-10-07 19:12:26 +02:00
Kristian Lauszus
940b8e185b Minor edit 2012-10-07 16:24:12 +02:00
Kristian Lauszus
a6d77dce92 Added DEBUG around string 2012-10-07 15:22:29 +02:00
Kristian Lauszus
ebb333de9a Now able to pair with Wiimote 2012-10-07 14:50:51 +02:00
Kristian Lauszus
c6795d10e2 Removed diasble scan and increased counter 2012-10-03 20:44:03 +02:00
Kristian Lauszus
eceea5e404 Merge pull request #27 from felis/master
Add latest commits to prevent conflicts
2012-10-03 11:04:39 -07:00
Kristian Lauszus
d6b628b5a4 Added support for the new Wii Remote Plus
See: http://wiibrew.org/wiki/Wiimote#SDP_information
2012-09-22 02:13:00 +02:00
Kristian Lauszus
bf646fdd0e Forgot to reset hci_counter 2012-09-19 23:21:07 +02:00
Kristian Lauszus
d4d196b65a Increased inquiry time and number of responses 2012-08-22 23:38:44 +02:00
Kristian Lauszus
7eb2f39597 Added getPitch and getRoll 2012-08-21 17:36:37 +02:00
Kristian Lauszus
a3ad5f2cdd Added support for Wiimote 2012-08-21 14:31:11 +02:00
Kristian Lauszus
1ba56d3f05 Return service ID to service 2012-08-17 14:15:39 +02:00
Kristian Lauszus
d33c436b5b Release PS3 controller bugfix 2012-08-10 18:40:03 +02:00
Kristian Lauszus
c349327c88 Renamed BTD_NUMDEVICES to BTD_NUMSERVICES 2012-08-09 21:35:27 +02:00
Kristian Lauszus
cfbf693384 Minor edit 2012-08-09 21:22:55 +02:00
Kristian Lauszus
5a2faf3855 Minor edit 2012-08-09 20:22:11 +02:00
Kristian Lauszus
4d933592de Minor edit 2012-08-09 00:15:45 +02:00
Kristian Lauszus
e89c68482b Now works with hubs 2012-08-08 21:30:00 +02:00
Kristian Lauszus
58ecd212a7 Added comment about hci local version 2012-08-08 20:17:14 +02:00
Kristian Lauszus
55ba0911fb Removed return 2012-08-08 20:08:09 +02:00
Kristian Lauszus
0719b242af Increased timeout before scanning again 2012-08-08 19:21:57 +02:00
Kristian Lauszus
1ff0135b31 Some minor changes 2012-08-08 05:40:53 +02:00
Kristian Lauszus
6dc2b6e09d Ignore if the incoming device is not supported 2012-08-04 20:38:57 +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