diff --git a/pcsx2-qt/QtKeyCodes.cpp b/pcsx2-qt/QtKeyCodes.cpp index 81caba442d..aec29c9862 100644 --- a/pcsx2-qt/QtKeyCodes.cpp +++ b/pcsx2-qt/QtKeyCodes.cpp @@ -13,7 +13,7 @@ #include -uint8_t map_text_to_keycode(const QString& text) +u8 map_text_to_keycode(const QString& text) { if (text == "!") return Qt::Key_1; @@ -567,7 +567,7 @@ const char* InputManager::ConvertHostKeyboardCodeToIcon(u32 code) u32 QtUtils::KeyEventToCode(const QKeyEvent* ev) { QString text = ev->text(); - uint8_t keycode = map_text_to_keycode(text); // Map special text symbols to keycodes + u8 keycode = map_text_to_keycode(text); // Map special text symbols to keycodes int key = ev->key(); if (keycode != 0)