|
|
|
|
|
|
|
|
#include "bootloader.h" |
|
|
#include "bootloader.h" |
|
|
#include "layer_switch.h" |
|
|
#include "layer_switch.h" |
|
|
#include "eeconfig.h" |
|
|
#include "eeconfig.h" |
|
|
|
|
|
#include "sleep_led.h" |
|
|
|
|
|
#include "led.h" |
|
|
#include "command.h" |
|
|
#include "command.h" |
|
|
|
|
|
|
|
|
#ifdef MOUSEKEY_ENABLE |
|
|
#ifdef MOUSEKEY_ENABLE |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
static host_driver_t *host_driver = 0; |
|
|
static host_driver_t *host_driver = 0; |
|
|
switch (code) { |
|
|
switch (code) { |
|
|
|
|
|
case KC_Z: |
|
|
|
|
|
// test breathing sleep LED |
|
|
|
|
|
print("Sleep LED test\n"); |
|
|
|
|
|
sleep_led_toggle(); |
|
|
|
|
|
led_set(host_keyboard_leds()); |
|
|
|
|
|
break; |
|
|
#ifdef BOOTMAGIC_ENABLE |
|
|
#ifdef BOOTMAGIC_ENABLE |
|
|
case KC_E: |
|
|
case KC_E: |
|
|
print("eeprom config\n"); |
|
|
print("eeprom config\n"); |