mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-22 05:34:18 -04:00
feat: auto convert keysym to keycode bind
This commit is contained in:
parent
776738cc28
commit
e9565f88f6
4 changed files with 232 additions and 41 deletions
|
|
@ -114,6 +114,15 @@ char xkb_rules_layout[256];
|
|||
char xkb_rules_variant[256];
|
||||
char xkb_rules_options[256];
|
||||
|
||||
/* keyboard */
|
||||
static const struct xkb_rule_names xkb_fallback_rules = {
|
||||
.layout = "us",
|
||||
.variant = NULL,
|
||||
.model = NULL,
|
||||
.rules = NULL,
|
||||
.options = NULL,
|
||||
};
|
||||
|
||||
struct xkb_rule_names xkb_rules = {
|
||||
/* can specify fields: rules, model, layout, variant, options */
|
||||
/* example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue