summaryrefslogtreecommitdiffstats
path: root/keyboards/dekunukem
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-12-06 17:04:10 +0800
committerlokher <lokher@gmail.com>2022-12-06 17:04:10 +0800
commit27fc28fd2ff52e079a5bc58d6aaea4c752420615 (patch)
tree7ac943fb1ba4f430a7220efd18f66f6a77205c30 /keyboards/dekunukem
parente736133392fe6427cfb995da0787337189828272 (diff)
parent2709b6ed616f8012ff4cfd3ee69a822a8d188351 (diff)
Merge upstream master
Diffstat (limited to 'keyboards/dekunukem')
-rw-r--r--keyboards/dekunukem/duckypad/config.h101
-rw-r--r--keyboards/dekunukem/duckypad/keymaps/default/config.h59
-rw-r--r--keyboards/dekunukem/duckypad/keymaps/m4cs/config.h75
3 files changed, 235 insertions, 0 deletions
diff --git a/keyboards/dekunukem/duckypad/config.h b/keyboards/dekunukem/duckypad/config.h
new file mode 100644
index 0000000000..04364e405a
--- /dev/null
+++ b/keyboards/dekunukem/duckypad/config.h
@@ -0,0 +1,101 @@
+/*
+
+QMK Firmware for dekuNukem/duckyPad
+
+Copyright (C) 2020 Max Bridgland <@M4cs>
+
+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 3 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 "config_common.h"
+
+#define MATRIX_ROWS 1
+#define MATRIX_COLS 17
+
+#define DIRECT_PINS {{ B13, B14, B15, A8, A15, B3, B4, B5, B6, B7, C13, C14, C15, F0, F1, A1, A2 }}
+
+#define RGB_DI_PIN A10
+#define RGBLED_NUM 15
+#define RGB_MATRIX_LED_COUNT 15
+
+#ifdef RGB_MATRIX_ENABLE
+
+#define RGB_MATRIX_KEYPRESSES
+#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
+#define RGB_MATRIX_DEFAULT_HUE 221
+// RGB Matrix Animation modes. Explicitly enabled
+// For full list of effects, see:
+// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
+# define ENABLE_RGB_MATRIX_ALPHAS_MODS
+# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
+# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
+# define ENABLE_RGB_MATRIX_BREATHING
+# define ENABLE_RGB_MATRIX_BAND_SAT
+# define ENABLE_RGB_MATRIX_BAND_VAL
+# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
+# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
+# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
+# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
+# define ENABLE_RGB_MATRIX_CYCLE_ALL
+# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
+# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
+# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
+# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
+# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
+# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
+# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
+# define ENABLE_RGB_MATRIX_DUAL_BEACON
+# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
+# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
+# define ENABLE_RGB_MATRIX_RAINDROPS
+# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
+# define ENABLE_RGB_MATRIX_HUE_BREATHING
+# define ENABLE_RGB_MATRIX_HUE_PENDULUM
+# define ENABLE_RGB_MATRIX_HUE_WAVE
+# define ENABLE_RGB_MATRIX_PIXEL_RAIN
+# define ENABLE_RGB_MATRIX_PIXEL_FLOW
+# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
+// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
+# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
+# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
+// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
+# define ENABLE_RGB_MATRIX_SPLASH
+# define ENABLE_RGB_MATRIX_MULTISPLASH
+# define ENABLE_RGB_MATRIX_SOLID_SPLASH
+# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
+
+#endif
+
+#define I2C1_SCL_PIN B8
+#define I2C1_SDA_PIN B9
+
+#define I2C1_SCL_PAL_MODE 1
+#define I2C1_SDA_PAL_MODE 1
+
+#define OLED_DISPLAY_ADDRESS 0x3C
+#define OLED_DISPLAY_128X64
+#define OLED_COM_PINS 0x12
+
+#define OLED_IC OLED_IC_SH1106
+#define OLED_COLUMN_OFFSET 2
diff --git a/keyboards/dekunukem/duckypad/keymaps/default/config.h b/keyboards/dekunukem/duckypad/keymaps/default/config.h
new file mode 100644
index 0000000000..2fe4c6f15b
--- /dev/null
+++ b/keyboards/dekunukem/duckypad/keymaps/default/config.h
@@ -0,0 +1,59 @@
+/*
+
+Default Keymap Config for dekuNukem/duckyPad QMK firmware
+
+Copyright (C) 2020 Max Bridgland
+
+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 3 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 NO_ACTION_FUNCTION
+#define NO_ACTION_ONESHOT
+
+#define OLED_TIMEOUT 90000
+#define RGB_MATRIX_TIMEOUT 90000
+
+#define MT_0_0 " 1 "
+#define MT_0_1 " 2 "
+#define MT_0_2 " 3 "
+#define MT_0_3 " 4 "
+#define MT_0_4 " 5 "
+#define MT_0_5 " 6 "
+#define MT_0_6 " 7 "
+#define MT_0_7 " 8 "
+#define MT_0_8 " 9 "
+#define MT_0_9 " . "
+#define MT_0_10 " 0 "
+#define MT_0_11 " = "
+#define MT_0_12 " - "
+#define MT_0_13 " + "
+#define MT_0_14 " enter"
+
+#define MT_1_0 " stat "
+#define MT_1_1 " brth "
+#define MT_1_2 " rbow "
+#define MT_1_3 " swrl "
+#define MT_1_4 " spd- "
+#define MT_1_5 " spd+ "
+#define MT_1_6 " eff- "
+#define MT_1_7 " sat- "
+#define MT_1_8 " sat+ "
+#define MT_1_9 " eff+ "
+#define MT_1_10 " hue- "
+#define MT_1_11 " hue+ "
+#define MT_1_12 " powr "
+#define MT_1_13 " bri- "
+#define MT_1_14 " bri+ "
diff --git a/keyboards/dekunukem/duckypad/keymaps/m4cs/config.h b/keyboards/dekunukem/duckypad/keymaps/m4cs/config.h
new file mode 100644
index 0000000000..bb66e1b754
--- /dev/null
+++ b/keyboards/dekunukem/duckypad/keymaps/m4cs/config.h
@@ -0,0 +1,75 @@
+/*
+
+M4cs Keymap for dekuNukem/duckyPad QMK firmware
+
+Copyright (C) 2020 Max Bridgland
+
+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 3 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 NO_ACTION_FUNCTION
+#define NO_ACTION_ONESHOT
+
+#define OLED_TIMEOUT 90000
+#define RGB_MATRIX_TIMEOUT 90000
+
+#define MT_0_0 " prev "
+#define MT_0_1 " pl/pa"
+#define MT_0_2 " next "
+#define MT_0_3 " volx "
+#define MT_0_4 " vol- "
+#define MT_0_5 " vol+ "
+#define MT_0_6 " spot "
+#define MT_0_7 " ffox "
+#define MT_0_8 " code "
+#define MT_0_9 " term "
+#define MT_0_10 " steam"
+#define MT_0_11 " dscd "
+#define MT_0_12 " "
+#define MT_0_13 " micx "
+#define MT_0_14 " "
+
+#define MT_1_0 " stat "
+#define MT_1_1 " brth "
+#define MT_1_2 " rbow "
+#define MT_1_3 " swrl "
+#define MT_1_4 " spd- "
+#define MT_1_5 " spd+ "
+#define MT_1_6 " eff- "
+#define MT_1_7 " sat- "
+#define MT_1_8 " sat+ "
+#define MT_1_9 " eff+ "
+#define MT_1_10 " hue- "
+#define MT_1_11 " hue+ "
+#define MT_1_12 " powr "
+#define MT_1_13 " bri- "
+#define MT_1_14 " bri+ "
+
+#define MT_2_0 " "
+#define MT_2_1 " "
+#define MT_2_2 " "
+#define MT_2_3 " undo "
+#define MT_2_4 " cut "
+#define MT_2_5 " copy "
+#define MT_2_6 " paste"
+#define MT_2_7 " find "
+#define MT_2_8 " pscr "
+#define MT_2_9 " "
+#define MT_2_10 " "
+#define MT_2_11 " "
+#define MT_2_12 " "
+#define MT_2_13 " "
+#define MT_2_14 " "