mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Encoder fix
This commit is contained in:
parent
c59f16db42
commit
9e3cf441a1
@ -270,7 +270,10 @@ int CannedMessageModule::handleInputEvent(const InputEvent *event)
|
||||
}
|
||||
|
||||
if (this->destSelect == CANNED_MESSAGE_DESTINATION_TYPE_NODE) {
|
||||
if (event->kbchar >= 32 && event->kbchar <= 126) {
|
||||
//Fix rotary encoder registering as character instead of navigation
|
||||
if (isUp || isDown || isSelect) {
|
||||
// Already handled below — skip character input
|
||||
} else if (event->kbchar >= 32 && event->kbchar <= 126) {
|
||||
this->searchQuery += event->kbchar;
|
||||
needsUpdate = true;
|
||||
runOnce(); // <=== Force filtering immediately
|
||||
|
Loading…
Reference in New Issue
Block a user