Initial commit

This commit is contained in:
2026-01-17 09:53:08 +02:00
commit 159633e837
148 changed files with 42795 additions and 0 deletions

32
components/input/Kconfig Normal file
View File

@@ -0,0 +1,32 @@
menu "Joystick input"
config JOYSTICK_ADC_CHANNEL
int "ADC1 channel for joystick ladder"
range 0 9
default 6
config JOYSTICK_ADC_LEVEL_LEFT
int "Expected ADC raw value for LEFT"
default 600
config JOYSTICK_ADC_LEVEL_UP
int "Expected ADC raw value for UP"
default 1200
config JOYSTICK_ADC_LEVEL_PRESS
int "Expected ADC raw value for PRESS"
default 1900
config JOYSTICK_ADC_LEVEL_DOWN
int "Expected ADC raw value for DOWN"
default 2600
config JOYSTICK_ADC_LEVEL_RIGHT
int "Expected ADC raw value for RIGHT"
default 3300
config JOYSTICK_ADC_TOLERANCE
int "Tolerance (+/- counts) when matching ADC reading to a direction"
default 150
endmenu