summaryrefslogtreecommitdiff
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authorJS Deck <jsdeckerido@gmail.com>2025-09-20 12:57:39 -0300
committerGitHub <noreply@github.com>2025-09-20 17:57:39 +0200
commit838439080a9feaac3386d694dc7f8463e41c51df (patch)
tree11492db963560ea2016b089356fab0f61dca3b6a /src/config/ConfigDescriptions.hpp
parent6a88f2e8800d4540ecbbb0d5b3d7f85a05387300 (diff)
vkeyboard: update cached mods before IME; add share_states = 2 config option (#11720)
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index f2d384b2..a3a6e1b0 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -683,9 +683,9 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
SConfigOptionDescription{
.value = "input:virtualkeyboard:share_states",
- .description = "Unify key down states and modifier states with other keyboards",
- .type = CONFIG_OPTION_BOOL,
- .data = SConfigOptionDescription::SBoolData{false},
+ .description = "Unify key down states and modifier states with other keyboards. 0 -> no, 1 -> yes, 2 -> yes unless IME client",
+ .type = CONFIG_OPTION_INT,
+ .data = SConfigOptionDescription::SRangeData{2, 0, 2},
},
SConfigOptionDescription{
.value = "input:virtualkeyboard:release_pressed_on_close",