aboutsummaryrefslogtreecommitdiffstats
path: root/src/hid.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-12-19 00:33:54 +0100
committerLouis Burda <quent.burda@gmail.com>2022-12-19 00:41:30 +0100
commite4783bbcc4214416befceb53f6af9ebdfb35ba86 (patch)
tree71ae9268017cb3f0b7dabe1e9016970fb137872c /src/hid.c
parent8e60c68eac5dbe749c80d1b42160ad1f7de42200 (diff)
downloadsxkbd-e4783bbcc4214416befceb53f6af9ebdfb35ba86.tar.gz
sxkbd-e4783bbcc4214416befceb53f6af9ebdfb35ba86.zip
Add more keys to keymap and add split role detection
Diffstat (limited to 'src/hid.c')
-rw-r--r--src/hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hid.c b/src/hid.c
index a406a2c..e322292 100644
--- a/src/hid.c
+++ b/src/hid.c
@@ -162,7 +162,7 @@ update_report(void)
for (y = 0; y < KEY_ROWS; y++) {
for (x = 0; x < KEY_COLS; x++) {
if (keymat[y][x] != keymat_prev[y][x]) {
- if (bounce_mat[y][x] > now_us - 25000) {
+ if (bounce_mat[y][x] > now_us - 50000) {
WARN("Bouncing prevented %i vs %i",
keymat[y][x], keymat_prev[y][x]);
keymat[y][x] = keymat_prev[y][x];