summaryrefslogtreecommitdiff
path: root/keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h
diff options
context:
space:
mode:
authorGloriousThrall <74627436+GloriousThrall@users.noreply.github.com>2022-07-12 02:30:54 -0500
committerGitHub <noreply@github.com>2022-07-12 17:30:54 +1000
commitbbd6ea977c87dc610e487ef5b787047e09b0f551 (patch)
tree326d4248ac80fd0420a1184d56b8e1ef2523bd1b /keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h
parenta768ec265d514846a87db412c5b87318de7d1e04 (diff)
GMMK 2 WBG7 MCU compatibility (#16436)
* GMMK V2 QMK Compatibility * fix problems * Update keyboards/gmmk/gmmk2/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/gmmk/gmmk2/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Fix a minor problem * Optimize the code * Update config.h * Update * Update config.h * Update keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update config.h * Update keyboards/gmmk/gmmk2/p96/iso/keymaps/via/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update config.h * Update keyboards/gmmk/gmmk2/p65/ansi/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/gmmk/gmmk2/p96/ansi/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/gmmk/gmmk2/p96/ansi/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/gmmk/gmmk2/p96/iso/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/gmmk/gmmk2/p65/iso/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update config.h * Update config.h * Update config.h * Modify device pid * Add gmmk2_p96 keyboard. * Add gmmk2_p96 keyboard. * Update led matrix. * Update led matrix. * Delete eeprom_flash.c * Update keyboards/gmmk/gmmk2/p96/ansi/rules.mk Co-authored-by: Nick Brassel <nick@tzarc.org> * Update from qmk develop branch * Increased compatibility with wear_leveling. * Update config.h Co-authored-by: Joy <chang.li@westberrytech.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h')
-rw-r--r--keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h b/keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h
new file mode 100644
index 0000000000..8fe214e8a7
--- /dev/null
+++ b/keyboards/gmmk/gmmk2/p96/ansi/keymaps/via/config.h
@@ -0,0 +1,22 @@
+/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "config_common.h"
+
+#define DYNAMIC_KEYMAP_LAYER_COUNT 3
+#define STM32_USB_USE_OTG1 TRUE