mirror of
https://github.com/LuiCat/ArduinoTaikoController.git
synced 2024-11-24 06:50:13 +01:00
Update README.md
This commit is contained in:
parent
60ab9878ab
commit
63d82e904d
@ -91,7 +91,7 @@ This sketch uses a dynamic threshold of sensor levels to trigger inputs. Wheneve
|
||||
|
||||
As the sensors should have biased input voltages, the sensor levels are actually the differential value of the analog value from ```analogRead```.
|
||||
|
||||
To deal with four analog inputs, we read the sensor levels one at a time, and only do the triggering mechanisms for this sensor. To compensate the time difference, the sensor level for the current one will be a mix of values from previous read and current read. Also, a non-default non-blocking version of ```analogRead``` is used to guarantee more stablization time after a channel switch of arduino's internal ADC chip.
|
||||
To deal with four analog inputs, we read the sensor levels one at a time, and only do the triggering mechanisms for this sensor. To compensate the time difference, the sensor level for the current one will be a mix of values from previous read and current read. Also, a customized non-blocking version of ```analogRead``` is used to guarantee more stablization time after a channel switch of arduino's internal ADC chip.
|
||||
|
||||
To deal with Nintendo Switch, I used the HID descriptor for Hori's Pokken fightstick to let Switch trust Arduino as a valid controller device (see the [credits](#credits) section). The default buttons from the four sensors are the analog stick buttons (press the sticks down) and the trigger buttons (ZL and ZR).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user