Commit graph

64 commits

Author SHA1 Message Date
Kristian Lauszus d9dfa3cf35 Show how to control the light and rumble inside the PS4 controller 2014-04-06 19:15:43 +02:00
Kristian Lauszus 7569c19a76 Fixed comment
The default pin was changed from 1234 to 0000 a while back
2014-03-19 18:06:44 +01:00
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 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
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
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 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 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 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
Kristian Sloth Lauszus d20ae89818 Only calculate angle when it is needed 2013-10-21 18:41:47 +02:00
Kristian Sloth Lauszus 1f8322d54f Some dongles have a hub inside 2013-08-13 21:31:52 +02:00
Kristian Sloth Lauszus d0ec18ab44 Fixed disconnect problem when using the old Wiimote with the external MotionPlus extension
Now also updates the batteryLevel when getBatteryLevel is called
2013-07-18 19:43:21 +02:00
Kristian Sloth Lauszus 759d3b6977 Updated example to show how to use attachOnInit
Also removed whitespace PS3Multi example
2013-07-14 01:28:47 +02:00
Oleg Mazurov 261e5f1bd2 commit 2013-06-11 21:11:43 -06:00
Kristian Sloth Lauszus 3557dac88d Updated comment 2013-05-07 15:50:38 +02:00
Kristian Sloth Lauszus e6a557870b The SPP Class now inherit from the Arduino Stream library 2013-05-07 00:06:49 +02:00
Kristian Sloth Lauszus 7ceeb2b2f5 Reserve 200 bytes for string and print status string 2013-04-03 20:36:23 +02:00
Kristian Sloth Lauszus 4d836ecff2 Fixed typo 2013-02-04 09:33:07 +01:00
Kristian Sloth Lauszus b97caf84de Added SPPMulti example 2013-02-04 08:36:52 +01:00
Kristian Sloth Lauszus be920c507f Added comment 2013-02-04 07:25:28 +01:00
Kristian Sloth Lauszus 355ca892eb Added support for Wii U Pro Controller 2013-02-02 22:14:01 +01:00
Kristian Sloth Lauszus 86a3392f6a Fixed support for multiple Wiimotes 2013-01-31 21:58:13 +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 0cd5102056 Only print if the IR camera is actually seeing something 2013-01-24 00:21:59 +01:00
Kristian Sloth Lauszus fed2a0ad07 Fixed comments 2013-01-23 22:47:47 +01:00
Kristian Sloth Lauszus bb8bdab3ba Track up to four objects using the IR camera
The state of the Wiimote can now also be read including the battery
level
2013-01-23 22:28:40 +01:00
Kristian Sloth Lauszus ac4fc92ea7 The library now also support multiple Wiimotes 2013-01-20 22:46:04 +01:00
Kristian Sloth Lauszus 47ab932c0f Don't print R2 and right joystick if a Navigation controller is connected 2013-01-20 22:30:53 +01:00
Kristian Sloth Lauszus 0397a3f088 Added example to show how to use multiple PS3 controller with the library 2013-01-20 18:18:46 +01:00
Kristian Sloth Lauszus aafb1d6491 Don't print the right joystick if it's a Navigation controller 2013-01-20 18:14:15 +01:00
Kristian Sloth Lauszus 4e7c5ce51e Addd check for WIICAMERA 2013-01-17 00:47:38 +01:00
Kristian Sloth Lauszus 3acafa2634 Minor edit 2013-01-17 00:13:09 +01:00
Kristian Sloth Lauszus eb088895f5 Added support for the IR Camera inside the Wiimote
Thanks to Allan Glover: https://github.com/Engr-AllanG
2013-01-17 00:07:56 +01:00