添加飞行键值

This commit is contained in:
Augenblick 2024-04-08 17:32:42 +08:00
parent 1123710fb6
commit ed2c8380a9
3 changed files with 4 additions and 3 deletions

View File

@ -1085,7 +1085,7 @@ public:
Key_Find = 0x01000122,
Key_Undo = 0x01000123,
Key_Redo = 0x01000124,
Key_RFKill = 0x01000125,
Key_MediaLast = 0x0100ffff,
// Keypad navigation keys

View File

@ -588,7 +588,7 @@ static const struct {
{ Qt::Key_TopMenu, QT_TRANSLATE_NOOP("QShortcut", "Top Menu") },
{ Qt::Key_PowerDown, QT_TRANSLATE_NOOP("QShortcut", "Power Down") },
{ Qt::Key_Suspend, QT_TRANSLATE_NOOP("QShortcut", "Suspend") },
{ Qt::Key_RFKill, QT_TRANSLATE_NOOP("QShortcut", "RFKill") },
{ Qt::Key_MicMute, QT_TRANSLATE_NOOP("QShortcut", "Microphone Mute") },
{ Qt::Key_Red, QT_TRANSLATE_NOOP("QShortcut", "Red") },

View File

@ -423,7 +423,8 @@ static constexpr const auto KeyTbl = qMakeArray(
Xkb2Qt<XKB_KEY_XF86LaunchC, Qt::Key_LaunchE>,
Xkb2Qt<XKB_KEY_XF86LaunchD, Qt::Key_LaunchF>,
Xkb2Qt<XKB_KEY_XF86LaunchE, Qt::Key_LaunchG>,
Xkb2Qt<XKB_KEY_XF86LaunchF, Qt::Key_LaunchH>
Xkb2Qt<XKB_KEY_XF86LaunchF, Qt::Key_LaunchH>,
Xkb2Qt<XKB_KEY_XF86RFKill, Qt::Key_RFKill>
>::Data{}
);