bsnes/purify/phoenix/reference/keyboard.cpp

11 lines
237 B
C++
Executable File

bool pKeyboard::pressed(Keyboard::Scancode scancode) {
return false;
}
array<bool> pKeyboard::state() {
array<bool> output;
output.resize((unsigned)Keyboard::Scancode::Limit);
for(auto &n : output) n = false;
return output;
}