change uint8_t to u8 for consistency

This commit is contained in:
Joe Wagner 2024-09-18 19:27:07 -07:00 committed by GitHub
parent f8f8049fd3
commit 6f7416425a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#include <QtGui/QKeyEvent>
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)