mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Merge remote-tracking branch 'upstream/master' into omega-hotfix
This commit is contained in:
@@ -9,5 +9,6 @@ extern "C" {
|
||||
mp_obj_t modion_keyboard_keydown(mp_obj_t key_o) {
|
||||
Ion::Keyboard::Key key = static_cast<Ion::Keyboard::Key>(mp_obj_get_int(key_o));
|
||||
Ion::Keyboard::State state = Ion::Keyboard::scan();
|
||||
micropython_port_interrupt_if_needed();
|
||||
return mp_obj_new_bool(state.keyDown(key));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user