summaryrefslogtreecommitdiff
path: root/board/volmar/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/volmar/keyboard.c')
-rw-r--r--board/volmar/keyboard.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/volmar/keyboard.c b/board/volmar/keyboard.c
new file mode 100644
index 0000000000..133d574dfa
--- /dev/null
+++ b/board/volmar/keyboard.c
@@ -0,0 +1,25 @@
+/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "common.h"
+
+#include "keyboard_scan.h"
+#include "timer.h"
+
+/* Keyboard scan setting */
+__override struct keyboard_scan_config keyscan_config = {
+ /* Increase from 50 us, because KSO_02 passes through the H1. */
+ .output_settle_us = 80,
+ /* Other values should be the same as the default configuration. */
+ .debounce_down_us = 9 * MSEC,
+ .debounce_up_us = 30 * MSEC,
+ .scan_period_us = 3 * MSEC,
+ .min_post_scan_delay_us = 1000,
+ .poll_timeout_us = 100 * MSEC,
+ .actual_key_mask = {
+ 0x14, 0xff, 0xff, 0xff, 0xff, 0xf5, 0xff,
+ 0xa4, 0xff, 0xfe, 0x55, 0xfa, 0xca /* full set */
+ },
+};