33 lines
706 B
Plaintext
33 lines
706 B
Plaintext
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
|