X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fnext_usb%2Fconfig.h;h=cd80b5af1b3e6ebfe03732a2258ed7a9febccf62;hb=c1ac7f159f12626aaef68e6caab0423b6bd00114;hp=b3d188b0c112489eb389c6da070ae569bef8f4b4;hpb=f7bb7c4fa99e6bfae311bd6674b6a2bd8537ea73;p=max%2Ftmk_keyboard.git diff --git a/converter/next_usb/config.h b/converter/next_usb/config.h index b3d188b0..cd80b5af 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)))|| \