add option to enable numlock/capslock

Co-authored-by: A Frederick Christensen <dwl@ivories.org>
This commit is contained in:
Leonardo Hernández Hernández 2021-04-04 19:56:09 -05:00 committed by Leonardo Hernández Hernández
parent 4b8c1bf31e
commit f863a9b0b9
No known key found for this signature in database
GPG key ID: E538897EE11B9624
2 changed files with 35 additions and 0 deletions

View file

@ -45,6 +45,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;