Update to work with the latest OneShot APIs

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent 523cb38ff5
commit 53435e0556

@ -35,10 +35,10 @@ Key EscapeOneShot::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t
!key_toggled_on(key_state))
return mapped_key;
if (!OneShot.isActive())
if (!::OneShot.isActive())
return mapped_key;
OneShot.cancel();
::OneShot.cancel();
return Key_NoKey;
}

Loading…
Cancel
Save