Move KEYMAP definition to common
This commit is contained in:
committed by
Jeremy Soller
parent
c2125aa99c
commit
fc2c3511d2
@@ -5,9 +5,16 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(KM_LAY) && defined(KM_OUT) && defined(KM_IN)
|
||||
extern uint16_t __xdata KEYMAP[KM_LAY][KM_OUT][KM_IN];
|
||||
#endif
|
||||
|
||||
// Translate a keycode from PS/2 set 2 to PS/2 set 1
|
||||
uint16_t keymap_translate(uint16_t key);
|
||||
|
||||
// Helper definition for empty key
|
||||
#define ___ 0
|
||||
|
||||
// Key types
|
||||
#define KT_MASK (0xF000)
|
||||
|
||||
|
Reference in New Issue
Block a user