bug fix,increase delay in matrix/keys scan process

fn+arrow keys to be page up/dn, home end

bottom mouse middle key fixed

shift caps lock bug fix
now there are only two layers in keyboard
remove bug code,layers, use USBComposite_stm32f1's modifiers and setAdjustForHostCapsLock  to do shift / caps lock job
This commit is contained in:
cuu
2021-05-18 20:59:30 +08:00
parent ccc90142a6
commit e82cde880e
6 changed files with 47 additions and 36 deletions

View File

@@ -34,6 +34,7 @@ void setup() {
dev_term.Keyboard_state.layer = 0;
dev_term.Keyboard_state.prev_layer = 0;
dev_term.Keyboard_state.fn_on = 0;
dev_term.Keyboard_state.shift = 0;
dev_term._Serial = new USBCompositeSerial;
@@ -48,7 +49,7 @@ void setup() {
dev_term._Serial->println("setup done");
//delay(3000);
delay(1000);
}
void loop() {