X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fnews_usb%2Fconfig_pjrc.h;h=adce014c9e408ddc9b457feb3812541fdc2775b6;hb=3730666b9788ce93a93185ef8ca76a5f5b770abd;hp=e9cf7dedb689f9796a2a1f47b82177d07ed0ff86;hpb=62d1ebb91c7b381ce3d88aad9ee0b03bea9fce26;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 */