diff options
author | tmk <nobody@nowhere> | 2013-03-12 12:10:12 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-03-12 12:10:12 +0900 |
commit | c4ab832be0f110a127b20e8df2b5223bceb8dcd1 (patch) | |
tree | 62c7f90ab55af319f7ce62c3cc7fd5cdab463280 /converter/adb_usb/config.h | |
parent | c0137b4b32f10d6a5b5a405ccd284b4194fe2497 (diff) |
Fix Locking CapsLock support in ADB converter
Diffstat (limited to 'converter/adb_usb/config.h')
-rw-r--r-- | converter/adb_usb/config.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/converter/adb_usb/config.h b/converter/adb_usb/config.h index 094252f742..da87eed6a7 100644 --- a/converter/adb_usb/config.h +++ b/converter/adb_usb/config.h @@ -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 |