add option to enable numlock/capslock

This commit is contained in:
Leonardo Hernández Hernández 2021-04-04 19:56:09 -05:00
parent ea0217a76b
commit 5c4542c118
No known key found for this signature in database
GPG key ID: E538897EE11B9624
2 changed files with 34 additions and 0 deletions

View file

@ -47,6 +47,10 @@ static const struct xkb_rule_names xkb_rules = {
.options = NULL,
};
/* numlock and capslock */
static const int numlock = 1;
static const int capslock = 0;
static const int repeat_rate = 25;
static const int repeat_delay = 600;