diff options
author | tmk <nobody@nowhere> | 2013-07-23 10:56:03 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-07-23 10:56:03 +0900 |
commit | 2721022078c30dd00c1063e4a2f8199b2b53e0d5 (patch) | |
tree | 421f2d6bdaad59fb338b1dbaffe38b5468aa66bb /converter/adb_usb/config.h | |
parent | 5b425731c5b662d107ba0f970a7ae7c7fe97d01b (diff) | |
download | firmware-2721022078c30dd00c1063e4a2f8199b2b53e0d5.tar.gz firmware-2721022078c30dd00c1063e4a2f8199b2b53e0d5.tar.bz2 firmware-2721022078c30dd00c1063e4a2f8199b2b53e0d5.zip |
Add mechanical locking switch support for NumLock and ScrollLock
Diffstat (limited to 'converter/adb_usb/config.h')
-rw-r--r-- | converter/adb_usb/config.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/converter/adb_usb/config.h b/converter/adb_usb/config.h index 7e2372edf..4ce27bbfe 100644 --- a/converter/adb_usb/config.h +++ b/converter/adb_usb/config.h @@ -34,10 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #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,9 +51,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* 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 |