aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/sinc
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-05-21 13:25:28 +0100
committerGitHub <[email protected]>2024-05-21 13:25:28 +0100
commit3400908b08284a8e2e17efa19053af874cd44e0c (patch)
tree650ee59426bae11c83c694f1081b754986b071a3 /keyboards/keebio/sinc
parent73f9fb91a391555748d4839161154b98f95eb8fc (diff)
downloadqmk_firmware-3400908b08284a8e2e17efa19053af874cd44e0c.tar.gz
qmk_firmware-3400908b08284a8e2e17efa19053af874cd44e0c.zip
Move VIA config to keymap level (#23754)
Diffstat (limited to 'keyboards/keebio/sinc')
-rw-r--r--keyboards/keebio/sinc/keymaps/via/config.h23
-rw-r--r--keyboards/keebio/sinc/rev1/config.h2
-rw-r--r--keyboards/keebio/sinc/rev2/config.h2
3 files changed, 23 insertions, 4 deletions
diff --git a/keyboards/keebio/sinc/keymaps/via/config.h b/keyboards/keebio/sinc/keymaps/via/config.h
new file mode 100644
index 0000000000..c1b110bf86
--- /dev/null
+++ b/keyboards/keebio/sinc/keymaps/via/config.h
@@ -0,0 +1,23 @@
+/* Copyright 2021 Danny Nguyen <[email protected]>
+
+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
+
+#if defined(KEYBOARD_keebio_sinc_rev1) || defined(KEYBOARD_keebio_sinc_rev2)
+
+ #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
+
+#endif
diff --git a/keyboards/keebio/sinc/rev1/config.h b/keyboards/keebio/sinc/rev1/config.h
index e8024190b4..7ddfa79faf 100644
--- a/keyboards/keebio/sinc/rev1/config.h
+++ b/keyboards/keebio/sinc/rev1/config.h
@@ -25,5 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
-
-#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h
index e8024190b4..7ddfa79faf 100644
--- a/keyboards/keebio/sinc/rev2/config.h
+++ b/keyboards/keebio/sinc/rev2/config.h
@@ -25,5 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
-
-#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2