Fix Locking CapsLock support in ADB converter
This commit is contained in:
parent
c0137b4b32
commit
c4ab832be0
5 changed files with 16 additions and 37 deletions
|
@ -32,13 +32,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define MATRIX_ROWS 16 // keycode bit: 3-0
|
||||
#define MATRIX_COLS 8 // keycode bit: 6-4
|
||||
|
||||
/* Locking Caps Lock support */
|
||||
#define MATRIX_HAS_LOCKING_CAPS
|
||||
|
||||
#define MATRIX_ROW(code) ((code)>>3&0x0F)
|
||||
#define MATRIX_COL(code) ((code)&0x07)
|
||||
|
||||
|
||||
/* Locking Caps Lock support */
|
||||
//#define MATRIX_HAS_LOCKING_CAPS
|
||||
/* Mechanical locking CapsLock support. Use KC_LCAP instead of KC_CAPS in keymap */
|
||||
#define CAPSLOCK_LOCKING_ENABLE
|
||||
/* Locking CapsLock resynchronize hack */
|
||||
#define CAPSLOCK_LOCKING_RESYNC_ENABLE
|
||||
|
||||
|
||||
/* legacy keymap support */
|
||||
#define USE_LEGACY_KEYMAP
|
||||
|
||||
|
||||
/* mouse keys */
|
||||
#ifdef MOUSEKEY_ENABLE
|
||||
# define MOUSEKEY_DELAY_TIME 192
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue