Initial commit
This commit is contained in:
32
components/input/Kconfig
Normal file
32
components/input/Kconfig
Normal 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
|
||||
Reference in New Issue
Block a user