X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Fmacway%2Fconfig.h;h=e87da1ffa68ce518a5250deef650ee91d682bb41;hb=c672cbc31c67335050dc3ba9d54acb97e5d3da0c;hp=6ab0dec9272e7117b2dd2e878d5d875d4eabd97b;hpb=ce2e06c39465b76a1780e5d594eaea7697afafd6;p=tmk_firmware.git diff --git a/keyboard/macway/config.h b/keyboard/macway/config.h index 6ab0dec..e87da1f 100644 --- a/keyboard/macway/config.h +++ b/keyboard/macway/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" - /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED @@ -29,19 +26,21 @@ along with this program. If not, see . #define MANUFACTURER t.m.k. #define PRODUCT Macway mod - /* message strings */ #define DESCRIPTION t.m.k. keyboard firmware for Macway mod - /* matrix size */ #define MATRIX_ROWS 9 #define MATRIX_COLS 8 + /* define if matrix has ghost */ #define MATRIX_HAS_GHOST + /* Set 0 if need no debouncing */ #define DEBOUNCE 5 +/* legacy keymap support */ +#define USE_LEGACY_KEYMAP /* key combination for command */ #define IS_COMMAND() ( \ @@ -49,18 +48,6 @@ along with this program. If not, see . keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) - -/* layer switching */ -#define LAYER_SWITCH_DELAY 100 -#define LAYER_SEND_FN_TERM 300 - - -/* mouse keys */ -#ifdef MOUSEKEY_ENABLE -# define MOUSEKEY_DELAY_TIME 192 -#endif - - /* PS/2 mouse */ #ifdef PS2_MOUSE_ENABLE # define PS2_CLOCK_PORT PORTF