Commit graph

805 commits

Author SHA1 Message Date
Kristian Lauszus a31cc42585 Use reinterpret_cast to cast from BTHID to HID class, so it can be used in the parser 2013-11-25 17:39:59 +01:00
Kristian Lauszus 5f49b321cb Print data receiving on the L2CAP control channel for debugging 2013-11-25 02:58:33 +01:00
Kristian Lauszus eed70438be Set default pin to “0000” 2013-11-25 02:20:57 +01:00
Kristian Lauszus 253b43c06f Set protocol before establishing interrupt channel 2013-11-25 02:15:33 +01:00
Kristian Lauszus 4099314100 Can now set the LEDs on a keyboard 2013-11-25 01:45:24 +01:00
Kristian Lauszus 45465fa928 Fixed comment 2013-11-25 00:43:47 +01:00
Kristian Lauszus 1b9c3952ac Typo 2013-11-25 00:33:44 +01:00
Kristian Lauszus 0735774a46 Forgot to init protocolMode 2013-11-25 00:32:06 +01:00
Kristian Lauszus 27b8656f91 Added information about how to change protocol mode 2013-11-25 00:31:42 +01:00
Kristian Lauszus f8c948f132 Added information about BTHID library 2013-11-25 00:25:25 +01:00
Kristian Lauszus 69dbf06bea Updated keywords 2013-11-24 23:54:59 +01:00
Kristian Lauszus aba004b047 Use the HIDBoot class to parse the incoming data 2013-11-24 23:51:45 +01:00
Kristian Lauszus f783b97cb9 Initial commit for BTHID library
To see incoming data uncomment PRINTREPORT in BTHID.cpp
2013-11-24 21:55:15 +01:00
Kristian Lauszus 4512f0ee0c Whitespace 2013-11-24 16:55:03 +01:00
Kristian Lauszus 31951e85ff Decreased delay between commands 2013-11-24 16:54:42 +01:00
Kristian Lauszus 0e0b48b3c8 Use the submodules in the makefile 2013-11-24 16:03:52 +01:00
Kristian Lauszus 191cdf9e2c Updated testusbhostFAT example and submodules 2013-11-24 16:03:28 +01:00
Kristian Lauszus 5b9fb51db0 Merge branch 'master' into xxxajk 2013-11-24 15:32:52 +01:00
Kristian Lauszus bcc51279d9 Added function, so one can connect to any Bluetooth device by setting the Bluetooth address as an argument 2013-11-24 15:31:12 +01:00
Kristian Lauszus c58f93dd83 Check if Bluetooth address is set before returning true to a PS3 controller 2013-11-24 15:23:41 +01:00
Kristian Lauszus a340b81100 Commented out hub instance by default 2013-11-24 15:17:19 +01:00
Kristian Lauszus b22f52895c Check if PS3Connected is true instead 2013-11-24 15:15:46 +01:00
Andrew J. Kroll 8715cbde67 Add spi4teensy3 library support 2013-11-24 08:56:34 -05:00
Andrew J. Kroll 82696f08c7 Clean up type puns, and reordering warnings 2013-11-24 08:56:27 -05:00
Kristian Lauszus 4a3c903322 Updated link 2013-11-18 21:34:48 +01:00
Kristian Lauszus 2d8377b39f Merge branch 'fcs' 2013-11-17 20:14:04 +01:00
Kristian Lauszus 0ce8575603 Cleanup 2013-11-17 20:13:33 +01:00
Kristian Lauszus 0de2c0e48b Arduino can now write data to the Android phone as well 2013-11-17 18:57:03 +01:00
Kristian Lauszus 16f9c97cd6 Added more debugging when connection is established 2013-11-15 23:31:05 +01:00
Kristian Lauszus dd39e62a69 Added new line 2013-11-15 23:30:16 +01:00
Kristian Lauszus 99d2e4cb0d Updated comment 2013-11-15 23:20:15 +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 Lauszus 87cb83276b Updated formatting 2013-11-15 19:05:25 +01:00
Kristian Lauszus b50919b077 Format PS3 examples 2013-11-12 19:45:06 +01:00
Kristian Lauszus 16c4272358 Can now get Bluetooth address inside PS3 controller - can also get calibration data inside move controller
Also updated some comments and cleanup
2013-11-12 19:44:12 +01:00
Kristian Lauszus 0bd0078c6d Updated comments 2013-11-12 19:38:18 +01:00
Kristian Lauszus 3a93571c87 Replaced tab with a space 2013-11-11 20:50:25 +01:00
Kristian Lauszus b08e89a6f9 Updated comment about how to activate serial debugging 2013-11-11 11:48:09 +01:00
Kristian Lauszus a03df2519b Limit number of retries 2013-11-11 00:45:27 +01:00
Kristian Lauszus 0dc2b81509 Read buttons a little smarter 2013-11-11 00:43:50 +01:00
Kristian Lauszus 764e74c94c Can now disconnect a wireless controller 2013-11-11 00:43:18 +01:00
Kristian Lauszus 52858d502b Added delay before bus reset and renamed some variables and cleanup example 2013-11-11 00:38:56 +01:00
Kristian Lauszus 859c9d0f80 Implemented ConfigureDevice, so receiver can be plugged in and out without problems 2013-11-11 00:10:39 +01:00
Kristian Sloth Lauszus b76dd913ca Forgot cast in getButtonPress 2013-10-31 00:48:09 +01:00
Kristian Sloth Lauszus 3c3b8ec986 Reformat ArduinoBlinkLED example 2013-10-30 15:21:50 +01:00
Kristian Sloth Lauszus 39e28822ba Check bmAttributes when extracting endpoint structure 2013-10-30 15:20:07 +01:00
Kristian Sloth Lauszus 0be721e1b3 629594f957 was using an old version of adk.cpp and adk.h 2013-10-30 15:18:17 +01:00
Kristian Sloth Lauszus 10453c0fe8 Typo 2013-10-23 20:49:58 +02:00
Kristian Sloth Lauszus 81f0978cc8 Update all submodules 2013-10-21 20:25:28 +02:00
Kristian Sloth Lauszus d5550f51dc Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk
Conflicts:
	examples/board_qc/board_qc.ino
2013-10-21 20:12:47 +02:00