1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-18 23:23:56 +00:00
CLK/Machines/Commodore/Vic-20/KeyboardMapper.hpp
Thomas Harte 78ee46270b Transfers possession of keyboard mappings from the Mac side over to individual machines.
Specifically by establishing an intermediate representation of a useful mix between the American and British IBM and Mac keyboard layouts, and routing through that.
2017-10-12 22:25:02 -04:00

25 lines
505 B
C++

//
// KeyboardMapper.hpp
// Clock Signal
//
// Created by Thomas Harte on 10/10/2017.
// Copyright © 2017 Thomas Harte. All rights reserved.
//
#ifndef Machines_Commodore_Vic20_KeyboardMapper_hpp
#define Machines_Commodore_Vic20_KeyboardMapper_hpp
#include "../../KeyboardMachine.hpp"
namespace Commodore {
namespace Vic20 {
struct KeyboardMapper: public KeyboardMachine::Machine::KeyboardMapper {
uint16_t mapped_key_for_key(Inputs::Keyboard::Key key);
};
}
}
#endif /* KeyboardMapper_hpp */