summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/plugin/plugin.cpp
diff options
context:
space:
mode:
authorJS Deck <jsdeckerido@gmail.com>2025-08-04 16:29:39 -0300
committerGitHub <noreply@github.com>2025-08-04 21:29:39 +0200
commit2be309de1df5e4262175fbcc58e6dd8de4e0e6d3 (patch)
tree866629ba5a4b9b45d8720383e4332726444f3566 /hyprtester/src/tests/plugin/plugin.cpp
parent6491bb4fb7c7e86d9168a104d5b87ace4e1b978d (diff)
virtualkeyboard: Add options to skip releasing pressed keys on close and to skip sharing key states (#11214)
Diffstat (limited to 'hyprtester/src/tests/plugin/plugin.cpp')
-rw-r--r--hyprtester/src/tests/plugin/plugin.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/hyprtester/src/tests/plugin/plugin.cpp b/hyprtester/src/tests/plugin/plugin.cpp
index 94470d6f..ffcc351a 100644
--- a/hyprtester/src/tests/plugin/plugin.cpp
+++ b/hyprtester/src/tests/plugin/plugin.cpp
@@ -19,3 +19,13 @@ bool testPlugin() {
}
return true;
}
+
+bool testVkb() {
+ const auto RESPONSE = getFromSocket("/dispatch plugin:test:vkb");
+
+ if (RESPONSE != "ok") {
+ NLog::log("{}Vkb tests failed, tests returned:\n{}{}", Colors::RED, Colors::RESET, RESPONSE);
+ return false;
+ }
+ return true;
+}