Add support for Unicode input messages on Windows

This commit is contained in:
Cameron Gutman
2022-11-22 19:17:53 -06:00
parent d912cce5ba
commit e39d9bc662
5 changed files with 56 additions and 0 deletions

View File

@@ -994,6 +994,10 @@ void keyboard(input_t &input, uint16_t modcode, bool release) {
keycode.pressed = 1;
}
void unicode(input_t &input, char *utf8, int size) {
BOOST_LOG(info) << "unicode: Unicode input not yet implemented for Linux."sv;
}
int alloc_gamepad(input_t &input, int nr, rumble_queue_t rumble_queue) {
return ((input_raw_t *)input.get())->alloc_gamepad(nr, std::move(rumble_queue));
}