X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=converter%2Fadb_usb%2Fconfig.h;h=4ce27bbfeb1ae00fa8a99ac4963a7920a36f15fb;hb=2721022078c30dd00c1063e4a2f8199b2b53e0d5;hp=9aa3489da71fd5853127a96befbf3aad21b7640d;hpb=540d0700dc0a8172e32d419a9b99c30e2e82a98a;p=max%2Ftmk_keyboard.git
diff --git a/converter/adb_usb/config.h b/converter/adb_usb/config.h
index 9aa3489d..4ce27bbf 100644
--- a/converter/adb_usb/config.h
+++ b/converter/adb_usb/config.h
@@ -34,10 +34,10 @@ along with this program. If not, see .
#define MATRIX_COL(code) ((code)&0x07)
-/* 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
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
/* legacy keymap support */
@@ -51,17 +51,19 @@ along with this program. If not, see .
/* ADB port setting */
-#define ADB_PORT PORTF
-#define ADB_PIN PINF
-#define ADB_DDR DDRF
+#define ADB_PORT PORTD
+#define ADB_PIN PIND
+#define ADB_DDR DDRD
#define ADB_DATA_BIT 0
//#define ADB_PSW_BIT 1 // optional
/* key combination for command */
+#ifndef __ASSEMBLER__
#include "adb.h"
#include "matrix.h"
#define IS_COMMAND() ( \
matrix_is_on(MATRIX_ROW(ADB_POWER), MATRIX_COL(ADB_POWER)) \
)
+#endif
#endif