mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-24 02:54:35 +00:00
CLang fix
This commit is contained in:
parent
5a874b18ba
commit
57a997ecff
@ -67,11 +67,10 @@ const std::vector<Key> kUppercaseLayout = {
|
||||
// Row 6
|
||||
{5, 0, 1, 1, "UP", "", KeyType::CursorUp}, //{5, 0, 1, 1, "▲", "", KeyType::CursorUp},
|
||||
{5, 1, 1, 1, "DN", "", KeyType::CursorDown}, //{5, 1, 1, 1, "▼", "", KeyType::CursorDown},
|
||||
{5, 2, 1, 1, "LT", "L1", KeyType::CursorLeft}, //{5, 2, 1, 1, "◀", "L1", KeyType::CursorLeft},
|
||||
{5, 3, 1, 1, "RT", "R1",
|
||||
KeyType::CursorRight}, //{5, 3, 1, 1, "▶", "R1", KeyType::CursorRight},
|
||||
{5, 2, 1, 1, "LT", "L1", KeyType::CursorLeft}, //{5, 2, 1, 1, "◀", "L1", KeyType::CursorLeft},
|
||||
{5, 3, 1, 1, "RT", "R1", KeyType::CursorRight}, //{5, 3, 1, 1, "▶", "R1", KeyType::CursorRight},
|
||||
{5, 4, 1, 1, "KB", "",
|
||||
KeyType::ToggleKeyboard}, //{5, 4, 1, 1, "⌨", "", KeyType::ToggleKeyboard},
|
||||
KeyType::ToggleKeyboard}, //{5, 4, 1, 1, "⌨", "", KeyType::ToggleKeyboard},
|
||||
{5, 5, 1, 1, "...", "", KeyType::MoreOptions}, //{5, 5, 1, 1, "…", "", KeyType::MoreOptions},
|
||||
{5, 6, 1, 1, "CR", "R1",
|
||||
KeyType::ControllerAction}, //{5, 6, 1, 1, "🎮⊕", "R1", KeyType::ControllerAction},
|
||||
@ -145,11 +144,10 @@ const std::vector<Key> kLowercaseLayout = {
|
||||
// Row 6
|
||||
{5, 0, 1, 1, "UP", "", KeyType::CursorUp}, // {5, 0, 1, 1, "▲", "", KeyType::CursorUp},
|
||||
{5, 1, 1, 1, "DN", "", KeyType::CursorDown}, //{5, 1, 1, 1, "▼", "", KeyType::CursorDown},
|
||||
{5, 2, 1, 1, "LT", "L1", KeyType::CursorLeft}, //{5, 2, 1, 1, "◀", "L1", KeyType::CursorLeft},
|
||||
{5, 3, 1, 1, "RT", "R1",
|
||||
KeyType::CursorRight}, //{5, 3, 1, 1, "▶", "R1", KeyType::CursorRight},
|
||||
{5, 2, 1, 1, "LT", "L1", KeyType::CursorLeft}, //{5, 2, 1, 1, "◀", "L1", KeyType::CursorLeft},
|
||||
{5, 3, 1, 1, "RT", "R1", KeyType::CursorRight}, //{5, 3, 1, 1, "▶", "R1", KeyType::CursorRight},
|
||||
{5, 4, 1, 1, "KB", "",
|
||||
KeyType::ToggleKeyboard}, //{5, 4, 1, 1, "⌨", "", KeyType::ToggleKeyboard},
|
||||
KeyType::ToggleKeyboard}, //{5, 4, 1, 1, "⌨", "", KeyType::ToggleKeyboard},
|
||||
{5, 5, 1, 1, "...", "", KeyType::MoreOptions}, //{5, 5, 1, 1, "…", "", KeyType::MoreOptions},
|
||||
{5, 6, 1, 1, "CR", "R1",
|
||||
KeyType::ControllerAction}, //{5, 6, 1, 1, "🎮⊕", "R1", KeyType::ControllerAction},
|
||||
@ -223,11 +221,10 @@ const std::vector<Key> kSymbols1Layout = {
|
||||
// Row 6
|
||||
{5, 0, 1, 1, "UP", "", KeyType::CursorUp}, // {5, 0, 1, 1, "▲", "", KeyType::CursorUp},
|
||||
{5, 1, 1, 1, "DN", "", KeyType::CursorDown}, //{5, 1, 1, 1, "▼", "", KeyType::CursorDown},
|
||||
{5, 2, 1, 1, "LT", "L1", KeyType::CursorLeft}, //{5, 2, 1, 1, "◀", "L1", KeyType::CursorLeft},
|
||||
{5, 3, 1, 1, "RT", "R1",
|
||||
KeyType::CursorRight}, //{5, 3, 1, 1, "▶", "R1", KeyType::CursorRight},
|
||||
{5, 2, 1, 1, "LT", "L1", KeyType::CursorLeft}, //{5, 2, 1, 1, "◀", "L1", KeyType::CursorLeft},
|
||||
{5, 3, 1, 1, "RT", "R1", KeyType::CursorRight}, //{5, 3, 1, 1, "▶", "R1", KeyType::CursorRight},
|
||||
{5, 4, 1, 1, "KB", "",
|
||||
KeyType::ToggleKeyboard}, //{5, 4, 1, 1, "⌨", "", KeyType::ToggleKeyboard},
|
||||
KeyType::ToggleKeyboard}, //{5, 4, 1, 1, "⌨", "", KeyType::ToggleKeyboard},
|
||||
{5, 5, 1, 1, "...", "", KeyType::MoreOptions}, //{5, 5, 1, 1, "…", "", KeyType::MoreOptions},
|
||||
{5, 6, 1, 1, "CR", "R1",
|
||||
KeyType::ControllerAction}, //{5, 6, 1, 1, "🎮⊕", "R1", KeyType::ControllerAction},
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include <vector>
|
||||
|
||||
enum class KeyType {
|
||||
Text, // Inserts character(s) into input buffer
|
||||
Backspace, // Deletes last character
|
||||
Space, // Adds space
|
||||
Enter, // Submits input
|
||||
Shift, // Toggle uppercase/lowercase
|
||||
SymbolsLayout, // Switch to symbols layout
|
||||
TextLayout, // Switch to text layout
|
||||
Done, // Finish and close keyboard
|
||||
Text, // Inserts character(s) into input buffer
|
||||
Backspace, // Deletes last character
|
||||
Space, // Adds space
|
||||
Enter, // Submits input
|
||||
Shift, // Toggle uppercase/lowercase
|
||||
SymbolsLayout, // Switch to symbols layout
|
||||
TextLayout, // Switch to text layout
|
||||
Done, // Finish and close keyboard
|
||||
CursorLeft,
|
||||
CursorRight,
|
||||
CursorUp,
|
||||
|
Loading…
Reference in New Issue
Block a user