X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=converter%2Fnews_usb%2Fconfig_pjrc.h;h=adce014c9e408ddc9b457feb3812541fdc2775b6;hb=c6e533ce83d6ae4393e6cdf1f6d39ffefc790115;hp=e9cf7dedb689f9796a2a1f47b82177d07ed0ff86;hpb=81706d1130fdc3c0d6d110f4d8665c47ffd7fb59;p=max%2Ftmk_keyboard.git
diff --git a/converter/news_usb/config_pjrc.h b/converter/news_usb/config_pjrc.h
index e9cf7ded..adce014c 100644
--- a/converter/news_usb/config_pjrc.h
+++ b/converter/news_usb/config_pjrc.h
@@ -18,8 +18,6 @@ along with this program. If not, see .
#ifndef CONFIG_H
#define CONFIG_H
-/* controller configuration */
-#include "controller_teensy.h"
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x5021
@@ -33,19 +31,17 @@ along with this program. If not, see .
#define MATRIX_COLS 8 // keycode bit: 6-4
+/* legacy keymap support */
+#define USE_LEGACY_KEYMAP
+
+
/* key combination for command */
#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_RSHIFT)) || \
- keyboard_report->mods == (MOD_BIT(KB_LCTRL) | MOD_BIT(KB_RSHIFT)) \
+ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) || \
+ keyboard_report->mods == (MOD_BIT(KC_LCTRL) | MOD_BIT(KC_RSHIFT)) \
)
-/* mouse keys */
-#ifdef MOUSEKEY_ENABLE
-# define MOUSEKEY_DELAY_TIME 255
-#endif
-
-
/* Asynchronous USART
* 8-data bit, non parity, 1-stop bit, no flow control
*/