mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Qt: Wire up new key glyphs
This commit is contained in:
@@ -297,6 +297,21 @@
|
||||
#define ICON_PF_KEY_Z "\xF0\x9F\xB3\x83"
|
||||
#define ICON_PF_KEY_SEMICOLON "\xF0\x9F\xB3\x84"
|
||||
#define ICON_PF_KEY_APOSTROPHE "\xF0\x9F\xB3\x85"
|
||||
#define ICON_PF_KEY_COMMA "\xF0\x9F\xB3\x93"
|
||||
#define ICON_PF_KEY_PERIOD "\xF0\x9F\xB3\x94"
|
||||
#define ICON_PF_KEY_SLASH "\xF0\x9F\xB3\x95"
|
||||
#define ICON_PF_KEY_OPEN_BRACKET "\xF0\x9F\xB3\x96"
|
||||
#define ICON_PF_KEY_CLOSE_BRACKET "\xF0\x9F\xB3\x97"
|
||||
#define ICON_PF_KEY_BACKSLASH "\xF0\x9F\xB3\x98"
|
||||
#define ICON_PF_KEY_TILDE "\xF0\x9F\xB3\x99"
|
||||
#define ICON_PF_KEY_DASH "\xF0\x9F\xB3\x9A"
|
||||
#define ICON_PF_KEY_EQUAL "\xF0\x9F\xB3\x9B"
|
||||
#define ICON_PF_KEY_LEFT_ALT "\xF0\x9F\xB3\x9C"
|
||||
#define ICON_PF_KEY_RIGHT_ALT "\xF0\x9F\xB3\x9D"
|
||||
#define ICON_PF_KEY_LEFT_CTRL "\xF0\x9F\xB3\x9E"
|
||||
#define ICON_PF_KEY_RIGHT_CTRL "\xF0\x9F\xB3\x9F"
|
||||
#define ICON_PF_KEY_LEFT_SHIFT "\xF0\x9F\xB3\xA0"
|
||||
#define ICON_PF_KEY_RIGHT_SHIFT "\xF0\x9F\xB3\xA1"
|
||||
#define ICON_PF_HEADPHONES "\xF0\x9F\xB0\xB5"
|
||||
#define ICON_PF_MUSIC "\xF0\x9F\xB0\xB6"
|
||||
#define ICON_PF_FLAG_2 "\xF0\x9F\xB0\xB7"
|
||||
|
||||
@@ -102,10 +102,10 @@ static constexpr KeyCodeName s_qt_key_names[] = {{Qt::Key_Escape, "Escape", ICON
|
||||
{Qt::Key_ParenRight, "ParenRight", nullptr},
|
||||
{Qt::Key_Asterisk, "Asterisk", nullptr},
|
||||
{Qt::Key_Plus, "Plus", nullptr},
|
||||
{Qt::Key_Comma, "Comma", nullptr},
|
||||
{Qt::Key_Minus, "Minus", nullptr},
|
||||
{Qt::Key_Period, "Period", nullptr},
|
||||
{Qt::Key_Slash, "Slash", nullptr},
|
||||
{Qt::Key_Comma, "Comma", ICON_PF_KEY_COMMA},
|
||||
{Qt::Key_Minus, "Minus", ICON_PF_KEY_DASH},
|
||||
{Qt::Key_Period, "Period", ICON_PF_KEY_PERIOD},
|
||||
{Qt::Key_Slash, "Slash", ICON_PF_KEY_SLASH},
|
||||
{Qt::Key_0, "0", ICON_PF_0},
|
||||
{Qt::Key_1, "1", ICON_PF_1},
|
||||
{Qt::Key_2, "2", ICON_PF_2},
|
||||
@@ -119,7 +119,7 @@ static constexpr KeyCodeName s_qt_key_names[] = {{Qt::Key_Escape, "Escape", ICON
|
||||
{Qt::Key_Colon, "Colon", nullptr},
|
||||
{Qt::Key_Semicolon, "Semicolon", ICON_PF_KEY_SEMICOLON},
|
||||
{Qt::Key_Less, "Less", nullptr},
|
||||
{Qt::Key_Equal, "Equal", nullptr},
|
||||
{Qt::Key_Equal, "Equal", ICON_PF_KEY_EQUAL},
|
||||
{Qt::Key_Greater, "Greater", nullptr},
|
||||
{Qt::Key_Question, "Question", nullptr},
|
||||
{Qt::Key_At, "At", nullptr},
|
||||
@@ -149,12 +149,12 @@ static constexpr KeyCodeName s_qt_key_names[] = {{Qt::Key_Escape, "Escape", ICON
|
||||
{Qt::Key_X, "X", ICON_PF_KEY_X},
|
||||
{Qt::Key_Y, "Y", ICON_PF_KEY_Y},
|
||||
{Qt::Key_Z, "Z", ICON_PF_KEY_Z},
|
||||
{Qt::Key_BracketLeft, "BracketLeft", nullptr},
|
||||
{Qt::Key_Backslash, "Backslash", nullptr},
|
||||
{Qt::Key_BracketRight, "BracketRight", nullptr},
|
||||
{Qt::Key_BracketLeft, "BracketLeft", ICON_PF_KEY_OPEN_BRACKET},
|
||||
{Qt::Key_Backslash, "Backslash", ICON_PF_KEY_BACKSLASH},
|
||||
{Qt::Key_BracketRight, "BracketRight", ICON_PF_KEY_CLOSE_BRACKET},
|
||||
{Qt::Key_AsciiCircum, "AsciiCircum", nullptr},
|
||||
{Qt::Key_Underscore, "Underscore", nullptr},
|
||||
{Qt::Key_QuoteLeft, "QuoteLeft", nullptr},
|
||||
{Qt::Key_QuoteLeft, "QuoteLeft", ICON_PF_KEY_TILDE},
|
||||
{Qt::Key_BraceLeft, "BraceLeft", nullptr},
|
||||
{Qt::Key_Bar, "Bar", nullptr},
|
||||
{Qt::Key_BraceRight, "BraceRight", nullptr},
|
||||
|
||||
Reference in New Issue
Block a user