1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Adds a reference to the calling keyboard in reset_all_keys.

This commit is contained in:
Thomas Harte
2017-10-14 22:07:11 -04:00
parent 4f289ab10b
commit 3a05ce36de
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void Machine::keyboard_did_change_key(Inputs::Keyboard *keyboard, Inputs::Keyboa
if(mapped_key != KeyNotMapped) set_key_state(mapped_key, is_pressed);
}
void Machine::reset_all_keys() {
void Machine::reset_all_keys(Inputs::Keyboard *keyboard) {
// TODO: unify naming.
clear_all_keys();
}