summaryrefslogtreecommitdiffstats
path: root/keyboards/anavi/knob1/knob1.h
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2022-11-15 18:54:45 +0200
committerGitHub <noreply@github.com>2022-11-15 16:54:45 +0000
commit7e843d0eca7c9189425b9ee9660d23b03342d03c (patch)
tree0068e153c7cb8ef42763462c8f12d5ea3b6d4b19 /keyboards/anavi/knob1/knob1.h
parentc21b77fbd2ef72c04894006fb16d6fd6f511114d (diff)
keyboards/anavi: Add ANAVI Knob 1 (#18623)
ANAVI Knob 1 is a mini mechanical keyboard with a clickable rotary encoder, USB-C, RP2040 microcontroller and I2C slot for a display. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'keyboards/anavi/knob1/knob1.h')
-rw-r--r--keyboards/anavi/knob1/knob1.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/anavi/knob1/knob1.h b/keyboards/anavi/knob1/knob1.h
new file mode 100644
index 0000000000..c48170928c
--- /dev/null
+++ b/keyboards/anavi/knob1/knob1.h
@@ -0,0 +1,30 @@
+/* Copyright 2022 Leon Anavi <leon@anavi.org>
+ *
+ * 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 ___ KC_NO
+
+// clang-format off
+ #define LAYOUT_k1( \
+ K02 \
+ ) \
+ { \
+ { K02 } \
+ }
+// clang-format on