diff options
author | Joel Challis <[email protected]> | 2024-05-21 13:25:28 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-21 13:25:28 +0100 |
commit | 3400908b08284a8e2e17efa19053af874cd44e0c (patch) | |
tree | 650ee59426bae11c83c694f1081b754986b071a3 /keyboards/cannonkeys | |
parent | 73f9fb91a391555748d4839161154b98f95eb8fc (diff) | |
download | qmk_firmware-3400908b08284a8e2e17efa19053af874cd44e0c.tar.gz qmk_firmware-3400908b08284a8e2e17efa19053af874cd44e0c.zip |
Move VIA config to keymap level (#23754)
Diffstat (limited to 'keyboards/cannonkeys')
-rw-r--r-- | keyboards/cannonkeys/malicious_ergo/config.h | 8 | ||||
-rw-r--r-- | keyboards/cannonkeys/malicious_ergo/keymaps/via/config.h | 21 |
2 files changed, 21 insertions, 8 deletions
diff --git a/keyboards/cannonkeys/malicious_ergo/config.h b/keyboards/cannonkeys/malicious_ergo/config.h index 8dce4c5c2e..5736094ee5 100644 --- a/keyboards/cannonkeys/malicious_ergo/config.h +++ b/keyboards/cannonkeys/malicious_ergo/config.h @@ -1,5 +1,3 @@ -#pragma once - /* Copyright 2022 Andrew Kannan @@ -28,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define WS2812_SPI_SCK_PAL_MODE 0 #define WS2812_SPI_SCK_PIN B13 -// 2 bits for 4 layout options -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 - #define SLEEP_LED_GPT_DRIVER GPTD1 /* @@ -48,6 +43,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT - - - diff --git a/keyboards/cannonkeys/malicious_ergo/keymaps/via/config.h b/keyboards/cannonkeys/malicious_ergo/keymaps/via/config.h new file mode 100644 index 0000000000..9a8629d439 --- /dev/null +++ b/keyboards/cannonkeys/malicious_ergo/keymaps/via/config.h @@ -0,0 +1,21 @@ +/* +Copyright 2022 Andrew Kannan + +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 + +// 2 bits for 4 layout options +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 |