candytuft/firmware/main/Kconfig.projbuild
2026-01-22 19:54:53 -06:00

68 lines
No EOL
1.8 KiB
Text

menu "Candytuft Pin Mapping"
menu "Inputs"
config PIN_WHEEL_A
int "Rotary encoder pin A"
range 0 39
default 21
help
If using a non-standard mainboard, set this value to the GPIO connected to pin A of the rotary encoder.
config PIN_WHEEL_B
int "Rotary encoder pin B"
range 0 39
default 22
help
If using a non-standard mainboard, set this value to the GPIO connected to pin B of the rotary encoder.
config KEY_FORWARD
int "Front Panel Forward Key Mapping"
range 0 39
default 4
help
If using a non-standard mainboard, set this value to the GPIO connected to the Forward key.
config KEY_BACKSPACE
int "Front Panel Backspace Key Mapping"
range 0 39
default 13
help
If using a non-standard mainboard, set this value to the GPIO connected to the Backspace key.
config KEY_DONE
int "Front Panel Done Key Mapping"
range 0 39
default 14
help
If using a non-standard mainboard, set this value to the GPIO connected to the Done key.
config KEY_CANCEL
int "Front Panel Cancel Key Mapping"
range 0 39
default 18
help
If using a non-standard mainboard, set this value to the GPIO connected to the Cancel key.
config KEY_OPTION
int "Front Panel Option Key Mapping"
range 0 39
default 19
help
If using a non-standard mainboard, set this value to the GPIO connected to the Option key.
endmenu
menu "LCD"
config LCD_SCL
int "LCD panel SCL pin mapping"
range 0 39
default 25
help
If using a non-standard mainboard, set this value to the GPIO connected to the LCD panel's SCL pin.
config LCD_SDA
int "LCD panel SDA pin mapping"
range 0 39
default 26
help
If using a non-standard mainboard, set this value to the GPIO connected to the LCD panel's SDA pin.
endmenu
endmenu