1
0
Fork 0

some major steps toward making the usb-usb converter work

This commit is contained in:
Balz Guenat 2017-08-12 18:24:15 +02:00 committed by Jack Humbert
parent 42f895a4bc
commit 2aa5e44640
9 changed files with 59 additions and 24 deletions

View file

@ -31,6 +31,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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)))

View file

@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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|

View file

@ -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