Commit graph

185 commits

Author SHA1 Message Date
Kristian Lauszus 2a1db31cf1 Can now read the IMU and touchpad values of the PS4 controller via Bluetooth as well
Thanks to Frank Zhao - see: http://eleccelerator.com/wiki/index.php?title=DualShock_4#0x11
2014-01-22 05:13:49 +01:00
Kristian Lauszus da2ee95445 Added support for the PS4 controller via USB
Also improved the PS4BT library
2014-01-18 22:36:01 +01:00
Kristian Lauszus c163228063 Renamed KEYPAD to TOUCHPAD 2014-01-12 16:33:19 +01:00
Kristian Lauszus 7469ff099e Typos, whitespace and some other cleanup stuff 2014-01-12 16:31:47 +01:00
Kristian Lauszus c11ca6c434 Merge branch 'PS4BT' 2014-01-10 18:07:59 +01:00
Kristian Lauszus c98832a9e6 Updated submodules 2014-01-10 18:07:28 +01:00
Kristian Lauszus e9bd896ca2 Added support for the PS4 controller via Bluetooth 2014-01-10 17:44:51 +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 f676812f84 Code for the Wii IR camera needs to be activated in settings.h now
Also cleaned up README.md a bit
2013-12-30 16:19:34 +01:00
Andrew J. Kroll 5426cb1fb6 Fix annoying warning generated on newer GCC versions. 2013-12-29 22:55:03 -05:00
Andrew J. Kroll f789c65c02 fix demos 2013-12-19 13:01:48 -05:00
Kristian Lauszus e92dd0d03d Typo 2013-12-08 17:42:14 +01:00
Kristian Lauszus 8072e6f1bb Added max_LCD example
Copy of: https://github.com/arduino/Arduino/blob/ide-1.5.x/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.ino
2013-12-07 00:34:33 +01:00
Kristian Lauszus 843eec8ba6 Print when connected and disconnected from accessory 2013-12-06 23:27:26 +01:00
Kristian Lauszus aa235ac3ed Macros were renamed in f38a0f6515 2013-12-05 07:41:57 +01:00
Kristian Lauszus d168409b04 Included spi4teensy3.h in BTHID example
This should really be fixed in the Arduino IDE
2013-12-05 07:32:32 +01:00
Kristian Lauszus 75637bab31 Merge branch 'master' into xxxajk 2013-12-05 07:26:41 +01:00
Andrew J. Kroll edf9682923 Support spi4teensy3 in all examples automatically 2013-12-04 21:56:06 -05:00
Andrew J. Kroll 95d133b919 Merge 2013-12-04 18:51:06 -05:00
Andrew J. Kroll e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -05:00
Kristian Lauszus ab9338a55e Added missing semicolon
Needed for STM32
2013-12-01 16:03:11 +01:00
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 eed70438be Set default pin to “0000” 2013-11-25 02:20:57 +01:00
Kristian Lauszus 4099314100 Can now set the LEDs on a keyboard 2013-11-25 01:45:24 +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 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 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
Kristian Lauszus 0de2c0e48b Arduino can now write data to the Android phone as well 2013-11-17 18:57:03 +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 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 Sloth Lauszus 3c3b8ec986 Reformat ArduinoBlinkLED example 2013-10-30 15:21:50 +01: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
Kristian Sloth Lauszus f8c0adc107 Wait for serial port to connect in example - needed for Leonardo, Teensy and other boards with built-in USB CDC serial connection 2013-10-21 19:58:03 +02:00
Andrew J. Kroll 18e401e55a reformat board_qc so it is not ugly, and follows industry standards 2013-10-21 13:52:35 -04:00
Andrew J. Kroll 13d625e6be Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-10-21 13:49:11 -04:00
Andrew J. Kroll fcd99a1fed fixes to board quality check program 2013-10-21 13:48:53 -04:00
Kristian Sloth Lauszus d20ae89818 Only calculate angle when it is needed 2013-10-21 18:41:47 +02:00
Kristian Sloth Lauszus 45c1297a91 Removed all unnecessary includes since there is no need to do that anymore
Also renamed all example extensions to .ino
2013-10-02 00:49:46 +02:00
Andrew J. Kroll 8efdf711fd Fix example, and reformat 2013-10-01 14:50:09 -04:00
Andrew J. Kroll 5656fa9b6d Add example for composite mouse/keyboard, also supports single units on a hub, or embedded hub. 2013-09-29 16:12:34 -04:00