mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2026-03-19 18:32:39 +01:00
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:
@@ -1,7 +1,7 @@
|
||||
#ifndef DEVTERM_H
|
||||
#define DEVTERM_H
|
||||
|
||||
#define KEY_LATENCY 140
|
||||
#define KEY_LATENCY 1400
|
||||
|
||||
#include <USBComposite.h>
|
||||
typedef struct key_debouncing{
|
||||
@@ -16,6 +16,7 @@ typedef struct keyboard_state{
|
||||
uint8_t layer;
|
||||
uint8_t prev_layer;
|
||||
uint8_t fn_on;
|
||||
uint8_t shift;
|
||||
|
||||
}KEYBOARD_STATE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user