Add waits to prevent KVM from hanging
parent
fb3b7f32c0
commit
cf986ba504
|
@ -225,22 +225,22 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||||
break;
|
break;
|
||||||
case PC1:
|
case PC1:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(1), T(ENT), END);
|
return MACRO(T(SLCK), W(50), T(SLCK), W(50), T(1), W(50), T(ENT), END);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PC2:
|
case PC2:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(2), T(ENT), END);
|
return MACRO(T(SLCK), W(50), T(SLCK), W(50), T(2), W(50), T(ENT), END);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PC3:
|
case PC3:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(3), T(ENT), END);
|
return MACRO(T(SLCK), W(50), T(SLCK), W(50), T(3), W(50), T(ENT), END);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PC4:
|
case PC4:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(4), T(ENT), END);
|
return MACRO(T(SLCK), W(50), T(SLCK), W(50), T(4), W(50), T(ENT), END);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue