Add numlock capslock patch

This commit is contained in:
Sravan Balaji
2024-09-22 19:51:46 -04:00
parent 5867d3723d
commit 9775f02d0c
6 changed files with 140 additions and 0 deletions

View File

@@ -73,6 +73,12 @@ static const struct xkb_rule_names xkb_rules = {
.options = NULL,
};
#if NUMLOCK_CAPSLOCK_PATCH
/* numlock and capslock */
static const int numlock = 1;
static const int capslock = 0;
#endif // NUMLOCK_CAPSLOCK_PATCH
static const int repeat_rate = 25;
static const int repeat_delay = 600;