]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - keyboard/macway/config.h
Add option 7bit data to serial_soft.c
[tmk_firmware.git] / keyboard / macway / config.h
index 6ab0dec9272e7117b2dd2e878d5d875d4eabd97b..e87da1ffa68ce518a5250deef650ee91d682bb41 100644 (file)
@@ -18,9 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #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 <http://www.gnu.org/licenses/>.
 #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 <http://www.gnu.org/licenses/>.
     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