summaryrefslogtreecommitdiff
path: root/keyboards/frobiac/hypernano/config.h
diff options
context:
space:
mode:
authorfrobiac <frobiac@gmail.com>2023-03-10 08:05:20 +0100
committerGitHub <noreply@github.com>2023-03-09 23:05:20 -0800
commit313fc4cb8f4e41c921112d0b105b82ad5d8a653e (patch)
tree9d13787460b6fc9391517f4ccd35be8e873fc28a /keyboards/frobiac/hypernano/config.h
parent62a8f412093c582a51a27e0fa1d7ad8596433cb9 (diff)
[Keyboard] frobiac custom boards and layout (#19883)
Diffstat (limited to 'keyboards/frobiac/hypernano/config.h')
-rw-r--r--keyboards/frobiac/hypernano/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/frobiac/hypernano/config.h b/keyboards/frobiac/hypernano/config.h
new file mode 100644
index 0000000000..843ad6f55b
--- /dev/null
+++ b/keyboards/frobiac/hypernano/config.h
@@ -0,0 +1,17 @@
+// Copyright 2023 @frobiac
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#ifdef PS2_MOUSE_ENABLE
+# define PS2_RESET_PIN B0
+# define PS2_DATA_PIN B1
+# define PS2_CLOCK_PIN B2
+
+# define PS2_MOUSE_INVERT_X
+# define PS2_MOUSE_INVERT_Y
+
+# define PS2_MOUSE_USE_REMOTE_MODE
+# define PS2_MOUSE_INIT_DELAY 1000
+#endif
+