diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-08 12:27:05 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-08 12:27:05 +0200 |
| commit | 92e17f29256af4db05ebd17b9f2d013ee3ca37ab (patch) | |
| tree | 0f2934a9c8e5098731e7bcc662a61aacfcb4648e /src/helpers | |
| parent | 491b99c61ea19f2e9048f215eace07e126af890b (diff) | |
added rules to hyprctl devices and fixed rules
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index b6c38416..06f58f0a 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -69,6 +69,14 @@ struct SRenderData { bool blur = false; }; +struct SStringRuleNames { + std::string layout = ""; + std::string model = ""; + std::string variant = ""; + std::string options = ""; + std::string rules = ""; +}; + struct SKeyboard { wlr_input_device* keyboard; @@ -80,7 +88,7 @@ struct SKeyboard { std::string name = ""; - xkb_rule_names currentRules = {0}; + SStringRuleNames currentRules; int repeatRate = 0; int repeatDelay = 0; int numlockOn = -1; |
