Commit graph

614 commits

Author SHA1 Message Date
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
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 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 82c52542cc Use pin definition in avrpins.h to set MAX_RESET pin on Arduino ADK 2013-10-21 02:17:47 +02:00
Kristian Sloth Lauszus 6752a52b82 Added error messages and updated some comments 2013-10-21 01:59:29 +02:00
Kristian Sloth Lauszus 41f9979a25 Teensy 3.0 confirmed working 2013-10-21 01:50:40 +02:00
Kristian Sloth Lauszus 59e9e0256b Merge branch 'xxxajk' into arm 2013-10-20 23:42:27 +02:00
Andrew J. Kroll 4d145ca3e0 Multitask API check 2013-10-15 21:16:34 -04:00
Andrew J. Kroll d0bdebed7b Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-10-12 10:36:21 -04:00
Andrew J. Kroll cdeaf9e0f2 better wording 2013-10-12 10:36:03 -04:00
Kristian Sloth Lauszus 5cde2e07d3 Arduino Mega ADK will be activated automatically in Arduino 1.5.5
See: https://github.com/arduino/Arduino/pull/1605
2013-10-09 17:13:37 +02:00
Andrew J. Kroll 42fc48d129 locks and constructor/init fixes 2013-10-08 15:52:24 -04:00
Andrew J. Kroll 272180cf60 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-10-08 14:25:32 -04:00
Andrew J. Kroll a21edc6698 Speed up core task 2013-10-08 14:25:23 -04: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 81ed31e1fe Check for hrJERR after ConfigureDevice too 2013-10-08 19:05:08 +02:00
Kristian Sloth Lauszus 01e0e6cf2d Don't clear pairWithWii 2013-10-08 18:52:37 +02:00
Kristian Sloth Lauszus 3b733fc962 Better way to retry when hrJERR is returned 2013-10-08 18:27:51 +02:00
Kristian Sloth Lauszus 6adc0843d5 More elegant way of doing: 7990c32ad6 2013-10-08 18:14:16 +02:00
Kristian Sloth Lauszus 59d20a17c8 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-10-08 18:08:29 +02:00
Kristian Sloth Lauszus 7990c32ad6 Don't call init if an error is returned 2013-10-08 18:07:36 +02:00
Andrew J. Kroll 58f6444a8b Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-10-08 11:36:22 -04:00
Andrew J. Kroll 02b685e329 lock settings for spi (unused at this time) 2013-10-08 11:36:15 -04:00
Kristian Sloth Lauszus 332f56f46d Fixed getButtonClick for analog buttons 2013-10-08 16:02:20 +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 47ff8e55c5 Retry if device returns hrJERR 2013-10-07 00:41:49 +02:00
Kristian Sloth Lauszus 7abee0b545 Include pins_arduino.h manually if the old Arduino IDE is used 2013-10-06 15:46:15 +02:00
Kristian Sloth Lauszus ef57346376 Check if CORE_TEENSY is defined and added missing semicolon 2013-10-05 01:12:43 +02:00
Kristian Sloth Lauszus 84bab09221 Merge branch 'xxxajk' into arm
Conflicts:
	Usb.cpp
	Usb.h
	XBOXRECV.cpp
	adk.h
	avrpins.h
	cdcacm.h
	cdcprolific.h
	hid.h
	hidboot.h
	hidescriptorparser.cpp
	hidescriptorparser.h
	masstorage.h
	message.cpp
	parsetools.h
	usbhub.h
2013-10-05 01:11:51 +02:00
Kristian Sloth Lauszus 86f88e5333 Automatically detect if a Teensy is connected 2013-10-05 00:21:16 +02:00
Kristian Sloth Lauszus 822519b2ce There is no need to manually activate Sanguino anymore as users will be forced to use Arduino 1.5.x for the Balanduino 2013-10-05 00:18:12 +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
Kristian Sloth Lauszus f21f70c0b9 Minor 2013-10-01 23:52:34 +02:00
Kristian Sloth Lauszus 70f3663673 Use list for different boards 2013-10-01 23:50:19 +02:00
Andrew J. Kroll 8efdf711fd Fix example, and reformat 2013-10-01 14:50:09 -04:00