summaryrefslogtreecommitdiffstats
path: root/keyboards/woodkeys/bigseries
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-12-06 17:10:48 +0800
committerlokher <lokher@gmail.com>2022-12-07 15:50:49 +0800
commita336c2c5005251e4cb0f3a62ccabdb4cfccad915 (patch)
tree3c948b631a5e3b6f940dabe02fad3c7487e6f350 /keyboards/woodkeys/bigseries
parent27fc28fd2ff52e079a5bc58d6aaea4c752420615 (diff)
Merge upstream master to 2022 Q4 breaking change
Diffstat (limited to 'keyboards/woodkeys/bigseries')
-rwxr-xr-xkeyboards/woodkeys/bigseries/1key/config.h58
-rwxr-xr-xkeyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c140
-rwxr-xr-xkeyboards/woodkeys/bigseries/2key/config.h58
-rwxr-xr-xkeyboards/woodkeys/bigseries/3key/config.h58
-rwxr-xr-xkeyboards/woodkeys/bigseries/4key/config.h58
5 files changed, 0 insertions, 372 deletions
diff --git a/keyboards/woodkeys/bigseries/1key/config.h b/keyboards/woodkeys/bigseries/1key/config.h
deleted file mode 100755
index d8692711c4..0000000000
--- a/keyboards/woodkeys/bigseries/1key/config.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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 "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 1
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B0 }
-#define MATRIX_COL_PINS { B4 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 50
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- false \
-)
-
-#ifdef RGBLIGHT_ENABLE
-#define RGB_DI_PIN D3
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 5
-#ifdef RGBLIGHT_LIMIT_VAL
-#undef RGBLIGHT_LIMIT_VAL
-#endif
-#define RGBLIGHT_LIMIT_VAL 128
-#endif
diff --git a/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c b/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c
deleted file mode 100755
index 500fddd53f..0000000000
--- a/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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
-
-static const char * const ANSWERS[] = {
-// "Yes" answers
-"It is certain\n",
-"It is decidedly so\n",
-"Without a doubt\n",
-"Yes definitely\n",
-"You may rely on it\n",
-"As I see it, yes\n",
-"Most likely\n",
-"Outlook good\n",
-"Yes\n",
-"Signs point to yes\n",
-// Uncertain answers, index 10
-"Reply hazy try again\n",
-"Ask again later\n",
-"Better not tell you now\n",
-"Cannot predict now\n",
-"Concentrate and ask again\n",
-// "No" answers, index 15
-"Don't count on it\n",
-"My reply is no\n",
-"My sources say no\n",
-"Outlook not so good\n",
-"Very doubtful\n"
-};
-
-#define UNCERTAIN_BREAK 10
-#define NO_BREAK 15
-#define NUM_ANSWERS 20
-// Timeout of answer color in ms
-#define ANSWER_TIMEOUT 3000
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-LAYOUT(
- KC_A),
-};
-
-
-void reset_rgb(void);
-
-bool initialized = 0;
-uint32_t lastTime = 0;
-
-void matrix_init_user(void) {
- if (!initialized){
- dprintf("Initializing in matrix_scan_user");
- rgblight_enable();
- reset_rgb();
- initialized = 1;
- }
-}
-
-void matrix_scan_user(void) {
- if (lastTime > 0 && timer_elapsed32(lastTime) > ANSWER_TIMEOUT) {
- lastTime = 0;
- reset_rgb();
- }
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case KC_A:
- if (record->event.pressed) {
- uint8_t num = rand() / (RAND_MAX / NUM_ANSWERS + 1);
- rgblight_mode(1);
- if (num < UNCERTAIN_BREAK) {
- rgblight_setrgb(RGB_GREEN);
- } else if (num < NO_BREAK) {
- rgblight_setrgb(RGB_YELLOW);
- } else {
- rgblight_setrgb(RGB_RED);
- }
- send_string(ANSWERS[num]);
- lastTime = timer_read32();
- return false;
- }
- }
- return true;
-}
-
-void led_set_user(uint8_t usb_led) {
-
- if (usb_led & (1 << USB_LED_NUM_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
-
-void reset_rgb(void) {
- // This gets called on init and after the timeout for the answer color
- // If you want to change the default color/mode, do it here
- rgblight_sethsv(HSV_BLUE);
- rgblight_mode(7);
-}
diff --git a/keyboards/woodkeys/bigseries/2key/config.h b/keyboards/woodkeys/bigseries/2key/config.h
deleted file mode 100755
index af04a93d7c..0000000000
--- a/keyboards/woodkeys/bigseries/2key/config.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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 "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 2
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B0 }
-#define MATRIX_COL_PINS { B4, B3 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 50
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- false \
-)
-
-#ifdef RGBLIGHT_ENABLE
-#define RGB_DI_PIN D3
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 8
-#ifdef RGBLIGHT_LIMIT_VAL
-#undef RGBLIGHT_LIMIT_VAL
-#endif
-#define RGBLIGHT_LIMIT_VAL 128
-#endif
diff --git a/keyboards/woodkeys/bigseries/3key/config.h b/keyboards/woodkeys/bigseries/3key/config.h
deleted file mode 100755
index 9b1eab3d17..0000000000
--- a/keyboards/woodkeys/bigseries/3key/config.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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 "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 3
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B0 }
-#define MATRIX_COL_PINS { B4, B3, B5 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 50
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- false \
-)
-
-#ifdef RGBLIGHT_ENABLE
-#define RGB_DI_PIN D3
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 11
-#ifdef RGBLIGHT_LIMIT_VAL
-#undef RGBLIGHT_LIMIT_VAL
-#endif
-#define RGBLIGHT_LIMIT_VAL 128
-#endif
diff --git a/keyboards/woodkeys/bigseries/4key/config.h b/keyboards/woodkeys/bigseries/4key/config.h
deleted file mode 100755
index 9ee685fa1d..0000000000
--- a/keyboards/woodkeys/bigseries/4key/config.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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 "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 2
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B0, B5 }
-#define MATRIX_COL_PINS { B4, B3 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 50
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- false \
-)
-
-#ifdef RGBLIGHT_ENABLE
-#define RGB_DI_PIN D3
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 12
-#ifdef RGBLIGHT_LIMIT_VAL
-#undef RGBLIGHT_LIMIT_VAL
-#endif
-#define RGBLIGHT_LIMIT_VAL 128
-#endif