mirror of https://github.com/PCSX2/pcsx2.git
change uint8_t to u8 for consistency
This commit is contained in:
parent
f8f8049fd3
commit
6f7416425a
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include <QtGui/QKeyEvent>
|
#include <QtGui/QKeyEvent>
|
||||||
|
|
||||||
uint8_t map_text_to_keycode(const QString& text)
|
u8 map_text_to_keycode(const QString& text)
|
||||||
{
|
{
|
||||||
if (text == "!")
|
if (text == "!")
|
||||||
return Qt::Key_1;
|
return Qt::Key_1;
|
||||||
|
@ -567,7 +567,7 @@ const char* InputManager::ConvertHostKeyboardCodeToIcon(u32 code)
|
||||||
u32 QtUtils::KeyEventToCode(const QKeyEvent* ev)
|
u32 QtUtils::KeyEventToCode(const QKeyEvent* ev)
|
||||||
{
|
{
|
||||||
QString text = ev->text();
|
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();
|
int key = ev->key();
|
||||||
|
|
||||||
if (keycode != 0)
|
if (keycode != 0)
|
||||||
|
|
Loading…
Reference in New Issue