Merge f532efae5b into 6367192e4d
This commit is contained in:
commit
0b524e36a7
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
| keyboard input | Trigger |
|
||||
| :------------: | :--------------------------------------------------------------------------: |
|
||||
| Left shit | Shift |
|
||||
| Right shit | Toggle case locking |
|
||||
| Shift | Shift |
|
||||
| alt+Right shift| Toggle case locking |
|
||||
| sym | Enter numbers and characters (only triggered once, not locked) |
|
||||
| alt+left shit | ctrl+shift(Switch the input method) |
|
||||
| alt+left shift | ctrl+shift(Switch the input method) |
|
||||
| alt+b | Change keyboard backlight status |
|
||||
| ... | More custom features can be modified source code implementation, or feedback |
|
||||
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ void loop()
|
|||
clear_sccreen();
|
||||
}
|
||||
|
||||
if (keyPressed(2, 3)) { //Right Shit ,Toggle case locking
|
||||
if (keyActive(0, 4) && keyPressed(2, 3)) { //Alt + Right Shit, Toggle case locking
|
||||
case_locking = !case_locking;
|
||||
}
|
||||
|
||||
|
|
@ -337,7 +337,7 @@ void printMatrix()
|
|||
return;
|
||||
}
|
||||
// keys 1,6 and 2,3 are Shift keys, so we want to upper case
|
||||
if (case_locking || keyActive(1, 6)) {
|
||||
if (case_locking || keyActive(1, 6) || keyActive(2, 3)) { // Left or right shift
|
||||
toPrint.toUpperCase();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue