1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00

Adds multiple target versions of all the DynamicMachine-vended types.

This commit is contained in:
Thomas Harte
2018-02-09 16:31:05 -05:00
parent 043fd5d404
commit 43b682a5af
22 changed files with 304 additions and 32 deletions
+5 -1
View File
@@ -15,7 +15,7 @@ Machine::Machine() {
}
void Machine::keyboard_did_change_key(Inputs::Keyboard *keyboard, Inputs::Keyboard::Key key, bool is_pressed) {
uint16_t mapped_key = get_keyboard_mapper().mapped_key_for_key(key);
uint16_t mapped_key = get_keyboard_mapper()->mapped_key_for_key(key);
if(mapped_key != KeyNotMapped) set_key_state(mapped_key, is_pressed);
}
@@ -30,3 +30,7 @@ Inputs::Keyboard &Machine::get_keyboard() {
void Machine::type_string(const std::string &) {
}
Machine::KeyboardMapper *Machine::get_keyboard_mapper() {
return nullptr;
}