summaryrefslogtreecommitdiff
path: root/keyboards/moky/moky88/halconf.h
diff options
context:
space:
mode:
authorVertorWang <1479115496@qq.com>2024-02-20 05:51:04 +0800
committerGitHub <noreply@github.com>2024-02-19 14:51:04 -0700
commit672986a0780d1168a07e285cafe72fcbfce2f7fa (patch)
tree06c828c8ddc31e927695e2a23a07e121ba38885e /keyboards/moky/moky88/halconf.h
parent958ddea52e915b9b12d5bfac5c84bf5b0eb75184 (diff)
[Keyboard] Add moky88 (#22954)
* Update * 代码对齐 * 修改键盘名称 * 增加Readme * Add copyright notice * Update keyboards/moky/moky88/info.json Delete solid_color Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/moky88.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/config.h Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/keymaps/via/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/keymaps/default/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/moky/moky88/keymaps/default/keymap.c Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/moky/moky88/keymaps/via/keymap.c Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/moky/moky88/config.h Co-authored-by: Joel Challis <git@zvecr.com> * Add a key to enter the bootloader, and add instructions to the readme documentation * delete maintainer * add default/rules.mk * Update readme.md * Update readme.md --------- Co-authored-by: vertor <zhen.wang@westberrytech.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Diffstat (limited to 'keyboards/moky/moky88/halconf.h')
-rw-r--r--keyboards/moky/moky88/halconf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/moky/moky88/halconf.h b/keyboards/moky/moky88/halconf.h
new file mode 100644
index 0000000000..0a59a1fcb8
--- /dev/null
+++ b/keyboards/moky/moky88/halconf.h
@@ -0,0 +1,10 @@
+// Copyright 2023 VertorWang (@itarze)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define HAL_USE_SPI TRUE
+#define SPI_USE_WAIT TRUE
+#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+
+#include_next <halconf.h>