mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Switch PageUp/Down keys in serial console
This commit is contained in:
parent
94cf2c18aa
commit
04e8c81340
@ -602,14 +602,14 @@ void debugLoop()
|
|||||||
nextchar = Serial.read();
|
nextchar = Serial.read();
|
||||||
}
|
}
|
||||||
if(nextchar == 126) {
|
if(nextchar == 126) {
|
||||||
dispatchPagePrev();
|
dispatchPageNext();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 54: // Page Down
|
case 54: // Page Down
|
||||||
/*if(Serial.peek() >= 0)*/ {
|
/*if(Serial.peek() >= 0)*/ {
|
||||||
nextchar = Serial.read();
|
nextchar = Serial.read();
|
||||||
if(nextchar == 126) {
|
if(nextchar == 126) {
|
||||||
dispatchPageNext();
|
dispatchPagePrev();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user