diff --git a/source-code/data/plugins/keyconfig_template.bin b/source-code/data/plugins/keyconfig_template.bin index 6c57b66..cb5d94d 100644 --- a/source-code/data/plugins/keyconfig_template.bin +++ b/source-code/data/plugins/keyconfig_template.bin @@ -91,8 +91,9 @@ RIGHT_SIDE_SLIDE_RIGHT = O, Ds4_R_Stick_Right, XINPUT_RRIGHT # - Arrow Keys # "Up", "Down", "Left", "Right" -# - Special Keys +# - Special Keys (may vary depending on the layout) # "Enter", "Tab", "Backspace", "Spacebar", "Insert", "Delete", "Home", "End", "PageUp", "PageDown", "Escape" +# "Comma", "Period", "Colon", "Slash", "Tilde", "LeftBracket", "Backslash", "RightBracket", "SingleDoubleQuote", "OEM_8" # --- MOUSE BUTTON NAMES: --- # "MouseLeft", "MouseMiddle", "MouseRight", "MouseX1", "MouseX2" diff --git a/source-code/source/plugins/TLAC/Input/KeyConfig/Config.cpp b/source-code/source/plugins/TLAC/Input/KeyConfig/Config.cpp index 0009a6d..8878337 100644 --- a/source-code/source/plugins/TLAC/Input/KeyConfig/Config.cpp +++ b/source-code/source/plugins/TLAC/Input/KeyConfig/Config.cpp @@ -26,9 +26,6 @@ namespace TLAC::Input::KeyConfig { "Minus", VK_SUBTRACT }, { "Divide", VK_DIVIDE }, { "Multiply", VK_MULTIPLY }, - { "Comma", VK_OEM_COMMA }, - { "Period", VK_OEM_PERIOD }, - { "Slash", VK_OEM_2 }, // F-Keys { "F1", VK_F1 }, { "F2", VK_F2 }, @@ -91,7 +88,14 @@ namespace TLAC::Input::KeyConfig { "Escape", VK_ESCAPE }, { "Comma", VK_OEM_COMMA }, { "Period", VK_OEM_PERIOD }, + { "Colon", VK_OEM_1 }, { "Slash", VK_OEM_2 }, + { "Tilde", VK_OEM_3 }, + { "LeftBracket", VK_OEM_4 }, + { "Backslash", VK_OEM_5 }, + { "RightBracket", VK_OEM_6 }, + { "SingleDoubleQuote", VK_OEM_7 }, + { "OEM_8", VK_OEM_8 }, // Mouse buttons { "MouseLeft", VK_LBUTTON }, { "MouseMiddle", VK_MBUTTON },