From 27967f20086c4e3a86a4a442429a12acc330495c Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 24 Sep 2014 15:50:29 +0900 Subject: Add TMK converter support to Next converter - change protocol stack to LUFA --- converter/next_usb/config.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'converter/next_usb/config.h') diff --git a/converter/next_usb/config.h b/converter/next_usb/config.h index b3d188b0c..cd80b5af1 100644 --- a/converter/next_usb/config.h +++ b/converter/next_usb/config.h @@ -60,6 +60,7 @@ POSSIBILITY OF SUCH DAMAGE. //#define TEENSY_CONFIG 1 #define PRO_MICRO_CONFIG 1 +//#define TMK_CONFIG 1 // comment out if you don't want the keyboard's LEDs to flash upon initialization #define NEXT_KBD_INIT_FLASH_LEDS @@ -143,6 +144,43 @@ POSSIBILITY OF SUCH DAMAGE. #endif //================= End of Teensy 2.0 Configuration ================== + +//================ Start of TMK converter Configuration ================= +#ifdef TMK_CONFIG + +// this is the debugging LED that flashes when a key is being pressed +// comment out in order to disable debugging LED +#define NEXT_KBD_LED1_PORT PORTD +#define NEXT_KBD_LED1_PIN PIND +#define NEXT_KBD_LED1_DDR DDRD +#define NEXT_KBD_LED1_BIT 6 + +#define NEXT_KBD_LED1_ON NEXT_KBD_LED1_PORT |= (1<mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))|| \ -- cgit v1.2.3-70-g09d2