summaryrefslogtreecommitdiffstats
path: root/keyboards/qvex/lynepad2/config.h
diff options
context:
space:
mode:
authorseflm <marek.sefl@seznam.cz>2023-07-11 11:15:08 +0300
committerGitHub <noreply@github.com>2023-07-11 01:15:08 -0700
commit8a955a2428132aa68c48b4d2215911e288512aa4 (patch)
treebe1bb4da273880f855baec8b7eb8de1ee6c67656 /keyboards/qvex/lynepad2/config.h
parentfed4becdf4e67da93c98af912f11d41acbc8b8ab (diff)
[Keyboard] Add QVEX Lynepad 2.0 (#21070)
Diffstat (limited to 'keyboards/qvex/lynepad2/config.h')
-rw-r--r--keyboards/qvex/lynepad2/config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/qvex/lynepad2/config.h b/keyboards/qvex/lynepad2/config.h
new file mode 100644
index 0000000000..7b9d3ce306
--- /dev/null
+++ b/keyboards/qvex/lynepad2/config.h
@@ -0,0 +1,35 @@
+/*
+Copyright 2023 QVEX Tech
+
+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
+
+#define DYNAMIC_KEYMAP_LAYER_COUNT 5
+
+//Digital joystick (4-way switch + encoder)
+#define PIN_JU D4
+#define PIN_JD B6
+#define PIN_JL D7
+#define PIN_JR B4
+#define PIN_JC C6
+
+//Thumbwheel
+#define PIN_TC D2
+
+//Backlighting
+#define BACKLIGHT_DEFAULT_LEVEL 5
+
+//RGB arc
+#define RGBLIGHT_DEFAULT_VAL 64 \ No newline at end of file