summaryrefslogtreecommitdiff
path: root/keyboards/nacly/sodium42/sodium42.h
diff options
context:
space:
mode:
authorDerek <dschmell91@gmail.com>2022-06-09 23:42:53 -0400
committerGitHub <noreply@github.com>2022-06-09 20:42:53 -0700
commit7c097ee6b404503f35ce43c85d46a5adde926146 (patch)
tree0eb31ceb738e56526dfb9235193ebc4d9b5e43c7 /keyboards/nacly/sodium42/sodium42.h
parent93c3a959a7b12bb7f204e176742585892e6a5d50 (diff)
downloadqmk_firmware-7c097ee6b404503f35ce43c85d46a5adde926146.tar.gz
qmk_firmware-7c097ee6b404503f35ce43c85d46a5adde926146.zip
[Keyboard] Add Sodium keyboards (#17078)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: nacly <nacly@pop-os.localdomain>
Diffstat (limited to 'keyboards/nacly/sodium42/sodium42.h')
-rw-r--r--keyboards/nacly/sodium42/sodium42.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/nacly/sodium42/sodium42.h b/keyboards/nacly/sodium42/sodium42.h
new file mode 100644
index 0000000000..427b6f4d43
--- /dev/null
+++ b/keyboards/nacly/sodium42/sodium42.h
@@ -0,0 +1,36 @@
+/* Copyright 2022 NaCly
+ *
+ * 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 "quantum.h"
+
+#define LAYOUT(\
+ L00, L01, L02, L03, L04, R04, R03, R02, R01, R00, \
+ L10, L11, L12, L13, L14, R14, R13, R12, R11, R10, \
+ L20, L21, L22, L23, L24, R24, R23, R22, R21, R20, \
+ L30, L31, L32, L33, L34, L35, R35, R34, R33, R32, R31, R30 \
+)\
+ {\
+ { L00, L01, L02, L03, L04, KC_NO }, \
+ { L10, L11, L12, L13, L14, KC_NO }, \
+ { L20, L21, L22, L23, L24, KC_NO }, \
+ { L30, L31, L32, L33, L34, L35 }, \
+\
+ { R00, R01, R02, R03, R04, KC_NO }, \
+ { R10, R11, R12, R13, R14, KC_NO }, \
+ { R20, R21, R22, R23, R24, KC_NO }, \
+ { R30, R31, R32, R33, R34, R35 } \
+}