From 2aa5e4464010a9292b50571243d8ef6e749a5ca4 Mon Sep 17 00:00:00 2001 From: Balz Guenat Date: Sat, 12 Aug 2017 18:24:15 +0200 Subject: some major steps toward making the usb-usb converter work --- keyboards/converter/usb_usb/config.h | 2 ++ keyboards/converter/usb_usb/keymaps/default/keymap.c | 2 +- keyboards/converter/usb_usb/rules.mk | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'keyboards/converter') diff --git a/keyboards/converter/usb_usb/config.h b/keyboards/converter/usb_usb/config.h index ff764ee4fa..fa059feeaf 100644 --- a/keyboards/converter/usb_usb/config.h +++ b/keyboards/converter/usb_usb/config.h @@ -31,6 +31,8 @@ along with this program. If not, see . #define MATRIX_ROWS 16 #define MATRIX_COLS 16 +#define DIODE_DIRECTION CUSTOM_MATRIX + /* key combination for command */ #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) diff --git a/keyboards/converter/usb_usb/keymaps/default/keymap.c b/keyboards/converter/usb_usb/keymaps/default/keymap.c index fbbbd1cfa6..050332384c 100644 --- a/keyboards/converter/usb_usb/keymaps/default/keymap.c +++ b/keyboards/converter/usb_usb/keymaps/default/keymap.c @@ -27,7 +27,7 @@ along with this program. If not, see . #include "usb_usb.h" -const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { +const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { /* 0: plain Qwerty without layer switching * ,---------------. ,---------------. ,---------------. * |F13|F14|F15|F16| |F17|F18|F19|F20| |F21|F22|F23|F24| diff --git a/keyboards/converter/usb_usb/rules.mk b/keyboards/converter/usb_usb/rules.mk index 2ae908fec7..f6b816966c 100644 --- a/keyboards/converter/usb_usb/rules.mk +++ b/keyboards/converter/usb_usb/rules.mk @@ -146,7 +146,7 @@ SRC = matrix.cpp -# include $(TMK_DIR)/protocol/usb_hid.mk +include $(TMK_DIR)/protocol/usb_hid.mk # include $(TMK_DIR)/protocol/lufa.mk # include $(TMK_DIR)/common.mk # include $(TMK_DIR)/rules.mk -- cgit v1.2.3