summaryrefslogtreecommitdiff
path: root/keyboards/gkeyboard/greatpad/config.h
diff options
context:
space:
mode:
authorgkeyboard <giggox_man@hotmail.com>2024-02-02 23:01:10 +0700
committerGitHub <noreply@github.com>2024-02-02 09:01:10 -0700
commite97ec68692ffee20e92921e7c913471359cd5377 (patch)
tree44105f1173a0d0f23491b1801048913fef133368 /keyboards/gkeyboard/greatpad/config.h
parent39f06c3afb2a59d04bfc1e5ef52020bfd4e68f84 (diff)
Add GreatPad macropad under gkeyboard (#22696)
* Add GreatPad under gkeyboard Add GreatPad macropad * Update keyboards/gkeyboard/greatpad/config.h Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/greatpad.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/info.json Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/info.json Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/default/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/default/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/via/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/via/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Add a license header Add a license header to glcdfont.c * Update glcdfont.c * delete file * Revert "delete file" This reverts commit 388e6f03e47bd646df374e37cd82fc3c46330b38. * Update keyboards/gkeyboard/greatpad/mcuconf.h Co-authored-by: jack <0x6a73@protonmail.com> * Update .vscode/settings.json Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/gkeyboard/greatpad/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Enable encoder Enable encoder in file info.json * Update keyboards/gkeyboard/greatpad/greatpad.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update info.json Run qmk format-json -i file info.json --------- Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/gkeyboard/greatpad/config.h')
-rw-r--r--keyboards/gkeyboard/greatpad/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/gkeyboard/greatpad/config.h b/keyboards/gkeyboard/greatpad/config.h
new file mode 100644
index 0000000000..4c745779b4
--- /dev/null
+++ b/keyboards/gkeyboard/greatpad/config.h
@@ -0,0 +1,11 @@
+// Copyright 2023 gkeyboard (@gkeyboard)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define OLED_DISPLAY_128X64
+#define I2C1_SCL_PIN GP21
+#define I2C1_SDA_PIN GP20
+#define I2C_DRIVER I2CD0
+#define OLED_BRIGHTNESS 128
+#define OLED_FONT_H "lib/glcdfont.c"