summaryrefslogtreecommitdiff
path: root/keyboards/labbe/labbeminiv1/keymaps
diff options
context:
space:
mode:
authoralabbe9545 <57238155+alabbe9545@users.noreply.github.com>2022-06-21 05:33:29 +0200
committerGitHub <noreply@github.com>2022-06-20 20:33:29 -0700
commit84718c0ab7fc3661d9420e9872e3a86732da52a9 (patch)
treeb82247a8e944df864f71cc2fa7aa984aefbcabb9 /keyboards/labbe/labbeminiv1/keymaps
parent712f6cf45077c4638cbbce063f003904c4a3c368 (diff)
[Keyboard] Add labbeminiv1 (#16401)
* [Keyboard] Add labbeminiv1 * Adjust vendor id The used vendor id was in use * Remove comment in the rgb keymap * Update keyboards/labbe/labbeminiv1/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Rename rgb matrix keymap folder Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/labbe/labbeminiv1/keymaps')
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/default/keymap.c20
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/default/readme.md1
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgb/config.h28
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgb/keymap.c20
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgb/rules.mk1
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h26
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/keymap.c20
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/rules.mk2
8 files changed, 118 insertions, 0 deletions
diff --git a/keyboards/labbe/labbeminiv1/keymaps/default/keymap.c b/keyboards/labbe/labbeminiv1/keymaps/default/keymap.c
new file mode 100644
index 0000000000..3457acc011
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/default/keymap.c
@@ -0,0 +1,20 @@
+/*
+ * 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/>.
+ */
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_wasd( KC_W, KC_A, KC_S, KC_D),
+}; \ No newline at end of file
diff --git a/keyboards/labbe/labbeminiv1/keymaps/default/readme.md b/keyboards/labbe/labbeminiv1/keymaps/default/readme.md
new file mode 100644
index 0000000000..1bb8466406
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/default/readme.md
@@ -0,0 +1 @@
+# The default keymap for the labbe mini v1
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h b/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h
new file mode 100644
index 0000000000..7261bdb1d1
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h
@@ -0,0 +1,28 @@
+/*
+ * 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
+
+// ws2812 options
+#define RGB_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to
+
+#define RGBLED_NUM 4 // number of LEDs
+#define RGBLIGHT_DEFAULT_MODE 6 // set the rainbow mode
+#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
+#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
+#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
+#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
+#define RGBLIGHT_SLEEP // If defined, the RGB lighting will be switched off when the host goes to sleep
+#define RGBLIGHT_EFFECT_RAINBOW_MOOD \ No newline at end of file
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgb/keymap.c b/keyboards/labbe/labbeminiv1/keymaps/rgb/keymap.c
new file mode 100644
index 0000000000..b708dee5e9
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgb/keymap.c
@@ -0,0 +1,20 @@
+/*
+ * 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/>.
+ */
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_wasd( KC_W, KC_A, KC_S, KC_D),
+}; \ No newline at end of file
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgb/rules.mk b/keyboards/labbe/labbeminiv1/keymaps/rgb/rules.mk
new file mode 100644
index 0000000000..7ad666d1a3
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgb/rules.mk
@@ -0,0 +1 @@
+RGBLIGHT_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h
new file mode 100644
index 0000000000..601744beb7
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h
@@ -0,0 +1,26 @@
+/*
+ * 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
+
+// ws2812 options
+#define RGB_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to
+#define RGBLED_NUM 4 // number of LEDs
+#define DRIVER_LED_TOTAL RGBLED_NUM
+
+#define RGB_MATRIX_KEYPRESSES
+
+#define ENABLE_RGB_MATRIX_MULTISPLASH
+#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_MULTISPLASH \ No newline at end of file
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/keymap.c b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/keymap.c
new file mode 100644
index 0000000000..b708dee5e9
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/keymap.c
@@ -0,0 +1,20 @@
+/*
+ * 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/>.
+ */
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_wasd( KC_W, KC_A, KC_S, KC_D),
+}; \ No newline at end of file
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/rules.mk b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/rules.mk
new file mode 100644
index 0000000000..cfdb94059b
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/rules.mk
@@ -0,0 +1,2 @@
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = WS2812 \ No newline at end of file