X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fadb_usb%2Fconfig.h;h=da87eed6a7df8a021056293e228f53508c03a6ac;hb=2795b7a0a30c351a85f17cb4c0b414297e096282;hp=875c48ce84de9e2482eb7ff3de20bf524c91860f;hpb=9f05dc6f444e159af3805baf5117be4d0da2d349;p=max%2Ftmk_keyboard.git
diff --git a/converter/adb_usb/config.h b/converter/adb_usb/config.h
index 875c48ce..da87eed6 100644
--- a/converter/adb_usb/config.h
+++ b/converter/adb_usb/config.h
@@ -32,13 +32,22 @@ along with this program. If not, see .
#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
@@ -54,6 +63,7 @@ along with this program. If not, see .
/* key combination for command */
#include "adb.h"
+#include "matrix.h"
#define IS_COMMAND() ( \
matrix_is_on(MATRIX_ROW(ADB_POWER), MATRIX_COL(ADB_POWER)) \
)