Commit graph

311 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
607932b437 Added missing include in the Xbox One example 2015-07-07 09:58:30 +02:00
Kristian Sloth Lauszus
5ee8ee9325 avr/dtostrf.h should only be included if Due is used 2015-05-23 16:03:50 +02:00
Kristian Sloth Lauszus
36056a4039 Renamed Keyboard instance to HidKeyboard, so it works on the Due as well 2015-05-23 15:49:46 +02:00
Kristian Sloth Lauszus
44d3b4a322 Added missing header needed for the Due 2015-05-23 15:46:34 +02:00
Michi302
4df0d9db25 Corrected spelling mistake "Purble" to "Purple" 2015-05-17 18:52:25 +02:00
Kristian Sloth Lauszus
7095b58896 Merge pull request #146 from felis/WiiBalanceBoard
Added support for Wii balance board
2015-04-25 01:27:16 +02:00
Kristian Sloth Lauszus
cbea36f76f Fixed formatting
No new code added
2015-04-22 15:48:43 +02:00
Kristian Sloth Lauszus
5053e8dfae Don't use deprecated prog_ macro
Fixes: #147
2015-04-22 15:48:18 +02:00
Kristian Sloth Lauszus
bce1541026 Fixed: warning: variable 'rcode' set but not used 2015-04-22 15:41:17 +02:00
Kristian Sloth Lauszus
e4c581c991 The is no need for Wii calibration flag to have its own variable 2015-04-20 23:39:57 +02:00
Kristian Sloth Lauszus
7acf598a59 Convert Wii Balance Board readings into kg 2015-04-16 16:55:35 +02:00
Kristian Sloth Lauszus
e555195e42 Print raw Wii Balance Board values in example 2015-04-16 02:26:18 +02:00
Kristian Sloth Lauszus
b1902b2a55 Initial support for Wii Balance Board
Still need to convert readings into something meaningful
2015-04-16 01:57:00 +02:00
Kristian Sloth Lauszus
127273aad3 Merge branch 'SPI' into Galileo 2015-04-07 15:08:19 +02:00
Kristian Sloth Lauszus
feb7112517 Merge branch 'master' into SPI
Conflicts:
	examples/testusbhostFAT/testusbhostFAT.ino
2015-04-07 15:08:02 +02:00
Kristian Sloth Lauszus
54aef653fe Update master makefile 2015-04-05 00:55:26 +02:00
Kristian Sloth Lauszus
d79de9d704 Update makefile to work with newest version of Arduino 2015-04-05 00:46:43 +02:00
Kristian Sloth Lauszus
2eea8d4112 Update submodules 2015-04-05 00:22:36 +02:00
Kristian Sloth Lauszus
9e32aef86c Replace boolean with bool 2015-04-05 00:18:52 +02:00
Kristian Sloth Lauszus
67a7a66d3d Updated to newest version of testusbhostFAT
Fixes #143
2015-04-05 00:17:51 +02:00
Kristian Sloth Lauszus
aba96e76d1 Merge branch 'guruthree-master'
# Conflicts:
#	README.md

Closes #135
2015-03-25 01:19:06 +01:00
Andrew J. Kroll
4230ccefac XR_terminal example INO renamed 2015-03-19 15:01:06 -04:00
Kristian Sloth Lauszus
73ce976198 Merge branch 'SPI' into Galileo
Conflicts:
	Usb.h
	avrpins.h
	usbhost.h
2015-03-19 16:36:51 +01:00
Kristian Sloth Lauszus
cc14152c54 Slow SPI devices like the Galileo might actually read it as stabilised in the first go 2015-03-19 16:31:29 +01:00
Kristian Sloth Lauszus
585b357ee5 Merge branch 'master' into SPI
Conflicts:
	settings.h
	usbhost.h
2015-03-19 15:34:07 +01:00
Andrew J. Kroll
2301a07cfe XR21B1411 - add example 2015-03-18 05:41:20 -04:00
Andrew J. Kroll
bc8000f782 manual merge 2015-03-12 18:56:15 -04:00
Kristian Sloth Lauszus
2dfca7d936 Update submodules 2015-03-03 20:00:28 +01:00
Kristian Sloth Lauszus
73f791c859 Merge branch 'SPI' into Galileo
Conflicts:
	avrpins.h
	settings.h
	usbhost.h
2015-03-03 19:57:35 +01:00
Kristian Sloth Lauszus
a9dd112502 Update submodules 2015-03-03 19:10:46 +01:00
Kristian Sloth Lauszus
22d82ecd0a SPI library was added twice after merge - see: c39e8a180c 2015-03-03 19:08:39 +01:00
Kristian Sloth Lauszus
c39e8a180c Merge branch 'master' into SPI
Conflicts:
	examples/Bluetooth/SPPMulti/SPPMulti.ino
	examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino
	settings.h
	usbhost.h
2015-03-03 18:56:59 +01:00
Kristian Sloth Lauszus
881c4df046 Merge branch 'master' into dev
Conflicts:
	BTD.h
	BTHID.h
	PS3BT.h
	SPP.h
	Wii.h
2015-02-24 01:28:28 +01:00
Kristian Sloth Lauszus
86cb7f38ab Fixed some formatting 2015-02-22 18:27:30 +01:00
Kristian Sloth Lauszus
6047962d60 Merge branch 'xxxajk'
Conflicts:
	XBOXUSB.h
	examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino
	hiduniversal.h
	settings.h
	usbhost.h
2015-02-22 18:25:22 +01:00
Andrew J. Kroll
bd8c8e7404 Fix use of "bool" so ARM compiles correctly 2015-02-19 03:14:39 -05:00
Fred
9979e50426 LeftTrigger/RightTrigger => L2/R2 for consistency 2015-02-15 19:47:06 +00:00
Fred
519e2a5309 cleanup 2015-02-15 17:56:20 +00:00
Fred
7c475c91e0 Xbox ONE Controller support 2015-02-14 11:09:24 +00:00
Andrew J. Kroll
196a0b69be Fix all demos, fix all wrong uses of virtual keyword, some spacing cleanup. 2014-11-10 01:35:13 -05:00
Kristian Lauszus
37d87903fa Updated USBFTDILoopback example to compile after 2224dd96cb 2014-09-29 16:50:02 -07:00
Andrew J. Kroll
80230570cc fix board_qc for MIPS so that it includes the correct SPI library first 2014-09-25 23:23:10 -04:00
Andrew J. Kroll
b51131750d fix board_qc for MIPS 2014-09-25 23:17:18 -04:00
Oleg Mazurov
64e3f92700 gh sync 2014-09-22 17:03:16 -06:00
Kristian Lauszus
961bf1c4ae Update submodules 2014-09-10 00:27:55 -07:00
Kristian Lauszus
840d5d67d4 Merge branch 'xxxajk' 2014-09-10 00:22:29 -07:00
Kristian Lauszus
36bdfb3a53 Merge branch 'master' into SPI 2014-08-24 17:31:24 -07:00
Kristian Lauszus
fdd104d3d0 Merge branch 'master' into Galileo 2014-08-24 17:29:13 -07:00
Kristian Lauszus
980109f756 Disable some of the functions in PS3BT and Wii library examples so it always compile on Arduino Uno 2014-08-24 17:26:49 -07:00
Kristian Lauszus
8cf054cd61 Disable debugging again and updated submodules 2014-08-24 00:37:46 -07:00
Oleg Mazurov
230c26eeed 20140823 2014-08-23 17:08:43 -06:00
Andrew J. Kroll
900af96c9c Merge master 2014-08-04 06:15:19 -04:00
Kristian Lauszus
7d3154bce7 Work around Arduino IDE bug
See: https://github.com/arduino/Arduino/pull/1726
2014-08-02 18:57:37 -04:00
Andrew J. Kroll
f349d61dfc Update heads Sat Jul 26 22:41:08 UTC 2014 2014-07-26 18:41:25 -04:00
Kristian Lauszus
35bb596601 Cleaned up SPPMulti example 2014-07-01 13:43:45 +02:00
Andrew J. Kroll
e78d880bb4 Update heads Mon Jun 30 16:53:58 UTC 2014 2014-06-30 12:54:16 -04:00
Kristian Lauszus
25117ab926 Added support for the Playstation Buzz controllers
See #71
2014-06-29 18:05:50 +02:00
Andrew J. Kroll
5776195523 Update heads Tue Jun 24 21:46:25 UTC 2014 2014-06-24 17:46:43 -04:00
Andrew J. Kroll
16689cdf14 Update heads 2014-06-12 23:12:43 -04:00
Andrew J. Kroll
7034b2d4aa Update heads 2014-06-02 17:37:54 -04:00
Andrew J. Kroll
05bbfaad6f Update heads 2014-06-02 10:48:29 -04:00
Kristian Lauszus
27c0f7f175 Merge branch 'xxxajk' 2014-05-27 09:45:05 +02:00
Kristian Lauszus
d9dac13225 Updated testusbhostFAT example and submodules 2014-05-27 09:42:13 +02:00
Andrew J. Kroll
f6244bbe59 bugfix 2014-05-24 00:31:26 -04:00
Andrew J. Kroll
a50baa8aec Merge in masters 2014-05-23 00:12:55 -04:00
Andrew J. Kroll
15974fcd54 Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2014-05-23 00:10:24 -04:00
Andrew J. Kroll
d56ed57495 Fix 1 month rollover bug -- Lei Shi found this one in one place, I found the problem all over the library and patched them all. 2014-05-22 23:36:33 -04:00
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
af2e8d5184 Removed files used for Netbeans project 2014-03-18 18:37:02 +01:00
Kristian Lauszus
00ae0d138f Updated submodules 2014-03-18 18:29:47 +01:00
Kristian Lauszus
0378d35ee8 Merge branch 'xxxajk' 2014-03-06 21:48:54 +01:00
Andrew J. Kroll
7e826ab32b Fix accidental comment paste. 2014-03-03 19:46:08 -05:00
Kristian Lauszus
6373ebe6ce Can now set the rumble and light on the PS4 controller
Still need to test it via USB
2014-02-17 00:21:21 +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
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
Oleg Mazurov
94ac0b986a dec18-1 2013-12-18 15:06:06 -07:00
Oleg Mazurov
e0b9ea89cb dec18 2013-12-18 15:04:13 -07: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