|
|
@ -251,6 +251,7 @@ static void print_status(void)
|
|
|
|
#ifdef BOOTMAGIC_ENABLE
|
|
|
|
#ifdef BOOTMAGIC_ENABLE
|
|
|
|
static void print_eeconfig(void)
|
|
|
|
static void print_eeconfig(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
#ifndef NO_PRINT
|
|
|
|
print("default_layer: "); print_dec(eeconfig_read_default_layer()); print("\n");
|
|
|
|
print("default_layer: "); print_dec(eeconfig_read_default_layer()); print("\n");
|
|
|
|
|
|
|
|
|
|
|
|
debug_config_t dc;
|
|
|
|
debug_config_t dc;
|
|
|
@ -279,9 +280,12 @@ static void print_eeconfig(void)
|
|
|
|
print("backlight_config.raw: "); print_hex8(bc.raw); print("\n");
|
|
|
|
print("backlight_config.raw: "); print_hex8(bc.raw); print("\n");
|
|
|
|
print(".enable: "); print_dec(bc.enable); print("\n");
|
|
|
|
print(".enable: "); print_dec(bc.enable); print("\n");
|
|
|
|
print(".level: "); print_dec(bc.level); print("\n");
|
|
|
|
print(".level: "); print_dec(bc.level); print("\n");
|
|
|
|
#endif
|
|
|
|
#endif /* BACKLIGHT_ENABLE */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* !NO_PRINT */
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* BOOTMAGIC_ENABLE */
|
|
|
|
|
|
|
|
|
|
|
|
static bool command_common(uint8_t code)
|
|
|
|
static bool command_common(uint8_t code)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -551,6 +555,7 @@ static uint8_t mousekey_param = 0;
|
|
|
|
|
|
|
|
|
|
|
|
static void mousekey_param_print(void)
|
|
|
|
static void mousekey_param_print(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
#ifndef NO_PRINT
|
|
|
|
print("\n\t- Values -\n");
|
|
|
|
print("\n\t- Values -\n");
|
|
|
|
print("1: delay(*10ms): "); pdec(mk_delay); print("\n");
|
|
|
|
print("1: delay(*10ms): "); pdec(mk_delay); print("\n");
|
|
|
|
print("2: interval(ms): "); pdec(mk_interval); print("\n");
|
|
|
|
print("2: interval(ms): "); pdec(mk_interval); print("\n");
|
|
|
@ -558,6 +563,8 @@ static void mousekey_param_print(void)
|
|
|
|
print("4: time_to_max: "); pdec(mk_time_to_max); print("\n");
|
|
|
|
print("4: time_to_max: "); pdec(mk_time_to_max); print("\n");
|
|
|
|
print("5: wheel_max_speed: "); pdec(mk_wheel_max_speed); print("\n");
|
|
|
|
print("5: wheel_max_speed: "); pdec(mk_wheel_max_speed); print("\n");
|
|
|
|
print("6: wheel_time_to_max: "); pdec(mk_wheel_time_to_max); print("\n");
|
|
|
|
print("6: wheel_time_to_max: "); pdec(mk_wheel_time_to_max); print("\n");
|
|
|
|
|
|
|
|
#endif /* !NO_PRINT */
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//#define PRINT_SET_VAL(v) print(#v " = "); print_dec(v); print("\n");
|
|
|
|
//#define PRINT_SET_VAL(v) print(#v " = "); print_dec(v); print("\n");
|
|
|
|