feat(travelers): 矩阵按键映射改为 key3/7/11/15 方向键, P1.5 独立闪烁, 修复 cols 整数提升 bug
This commit is contained in:
@@ -1151,6 +1151,13 @@ void setup()
|
||||
userConfig.longPress = INPUT_BROKER_SELECT;
|
||||
userConfig.longPressTime = 500;
|
||||
userConfig.longLongPress = INPUT_BROKER_SHUTDOWN;
|
||||
#ifdef BUTTON_SINGLE_PRESS_EVENT
|
||||
userConfig.singlePress = BUTTON_SINGLE_PRESS_EVENT;
|
||||
#endif
|
||||
#ifdef BUTTON_DISABLE_LONG_PRESS
|
||||
userConfig.longPress = INPUT_BROKER_NONE;
|
||||
userConfig.longLongPress = INPUT_BROKER_NONE;
|
||||
#endif
|
||||
UserButtonThread->initButton(userConfig);
|
||||
} else {
|
||||
ButtonConfig userConfigNoScreen;
|
||||
|
||||
Reference in New Issue
Block a user