mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-21 11:38:55 +00:00
109 lines
2.7 KiB
Plaintext
109 lines
2.7 KiB
Plaintext
|
|
choice
|
||
|
|
prompt "Select CTP device"
|
||
|
|
default AIC_TOUCH_PANEL_GT911
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_AXS15260
|
||
|
|
bool "AXS15260"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_CST826
|
||
|
|
bool "CST826"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_CST3240
|
||
|
|
bool "CST3240"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_FT7411
|
||
|
|
bool "FT7411"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_GSL1680
|
||
|
|
bool "GSL1680"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_GSL3676
|
||
|
|
bool "GSL3676"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_GT911
|
||
|
|
bool "GT911"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_ST16XX
|
||
|
|
bool "ST16XX"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_ST77922
|
||
|
|
bool "ST77922"
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_TW31XX
|
||
|
|
bool "TW31XX"
|
||
|
|
endchoice
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_I2C_CHAN
|
||
|
|
string "Touch using I2C channel index"
|
||
|
|
default "i2c3"
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_RST_PIN
|
||
|
|
string "Touch reset pin"
|
||
|
|
default "PA.8"
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_INT_PIN
|
||
|
|
string "Touch irq pin"
|
||
|
|
default "PA.9"
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_X_COORDINATE_RANGE
|
||
|
|
int "Touch x coordinate range"
|
||
|
|
default 1024
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_Y_COORDINATE_RANGE
|
||
|
|
int "Touch y coordinate range"
|
||
|
|
default 600
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_X_FILP
|
||
|
|
bool "Touch filp x coordinate"
|
||
|
|
default n
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_Y_FILP
|
||
|
|
bool "Touch filp y coordinate"
|
||
|
|
default n
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_90_DEGREE_ROTATION
|
||
|
|
bool "Touch 90 degrees rotation"
|
||
|
|
default n
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_270_DEGREE_ROTATION
|
||
|
|
bool "Touch 270 degrees rotation"
|
||
|
|
default n
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_REPORT_X_COORDINATE
|
||
|
|
int
|
||
|
|
default AIC_TOUCH_Y_COORDINATE_RANGE if AIC_TOUCH_90_DEGREE_ROTATION
|
||
|
|
default AIC_TOUCH_Y_COORDINATE_RANGE if AIC_TOUCH_270_DEGREE_ROTATION
|
||
|
|
default AIC_TOUCH_X_COORDINATE_RANGE
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_REPORT_Y_COORDINATE
|
||
|
|
int
|
||
|
|
default AIC_TOUCH_X_COORDINATE_RANGE if AIC_TOUCH_90_DEGREE_ROTATION
|
||
|
|
default AIC_TOUCH_X_COORDINATE_RANGE if AIC_TOUCH_270_DEGREE_ROTATION
|
||
|
|
default AIC_TOUCH_Y_COORDINATE_RANGE
|
||
|
|
depends on AIC_USING_CTP
|
||
|
|
|
||
|
|
config AIC_TOUCH_PANEL_NAME
|
||
|
|
string
|
||
|
|
default "axs15260" if AIC_TOUCH_PANEL_AXS15260
|
||
|
|
default "cst826" if AIC_TOUCH_PANEL_CST826
|
||
|
|
default "cst3240" if AIC_TOUCH_PANEL_CST3240
|
||
|
|
default "ft7411" if AIC_TOUCH_PANEL_FT7411
|
||
|
|
default "gsl1680" if AIC_TOUCH_PANEL_GSL1680
|
||
|
|
default "gsl3676" if AIC_TOUCH_PANEL_GSL3676
|
||
|
|
default "gt911" if AIC_TOUCH_PANEL_GT911
|
||
|
|
default "st16xx" if AIC_TOUCH_PANEL_ST16XX
|
||
|
|
default "st77922" if AIC_TOUCH_PANEL_ST77922
|
||
|
|
default "tw31xx" if AIC_TOUCH_PANEL_TW31XX
|
||
|
|
depends on AIC_USING_CTP
|