summaryrefslogtreecommitdiffstats
path: root/keyboards/geekboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/geekboards')
-rw-r--r--keyboards/geekboards/macropad_v2/chconf.h31
-rw-r--r--keyboards/geekboards/macropad_v2/halconf.h31
-rw-r--r--keyboards/geekboards/macropad_v2/keymaps/default/keymap.c23
-rw-r--r--keyboards/geekboards/macropad_v2/keymaps/default/readme.md1
-rw-r--r--keyboards/geekboards/macropad_v2/keymaps/via/keymap.c83
-rw-r--r--keyboards/geekboards/macropad_v2/keymaps/via/readme.md3
-rw-r--r--keyboards/geekboards/macropad_v2/keymaps/via/rules.mk2
-rw-r--r--keyboards/geekboards/macropad_v2/macropad_v2.c65
-rw-r--r--keyboards/geekboards/macropad_v2/macropad_v2.h26
-rw-r--r--keyboards/geekboards/macropad_v2/mcuconf.h34
-rw-r--r--keyboards/geekboards/macropad_v2/readme.md32
-rw-r--r--keyboards/geekboards/macropad_v2/rules.mk24
-rw-r--r--keyboards/geekboards/tester/info.json26
-rw-r--r--keyboards/geekboards/tester/keymaps/default/keymap.c11
-rw-r--r--keyboards/geekboards/tester/readme.md12
-rw-r--r--keyboards/geekboards/tester/rules.mk19
-rw-r--r--keyboards/geekboards/tester/tester.h10
17 files changed, 0 insertions, 433 deletions
diff --git a/keyboards/geekboards/macropad_v2/chconf.h b/keyboards/geekboards/macropad_v2/chconf.h
deleted file mode 100644
index 13cb5645d9..0000000000
--- a/keyboards/geekboards/macropad_v2/chconf.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright 2020 QMK
- *
- * 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/>.
- */
-
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/geekboards/macropad_v2/chconf.h -r platforms/chibios/common/configs/chconf.h`
- */
-
-#pragma once
-
-#define CH_CFG_ST_FREQUENCY 10000
-
-#define CH_CFG_OPTIMIZE_SPEED FALSE
-
-#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
-
-#include_next <chconf.h>
-
diff --git a/keyboards/geekboards/macropad_v2/halconf.h b/keyboards/geekboards/macropad_v2/halconf.h
deleted file mode 100644
index 2e41c9a60f..0000000000
--- a/keyboards/geekboards/macropad_v2/halconf.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright 2020 QMK
- *
- * 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/>.
- */
-
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/geekboards/macropad_v2/halconf.h -r platforms/chibios/common/configs/halconf.h`
- */
-
-#pragma once
-
-#define HAL_USE_I2C TRUE
-
-#define HAL_USE_PWM TRUE
-
-#define HAL_USE_SPI TRUE
-
-#include_next <halconf.h>
-
diff --git a/keyboards/geekboards/macropad_v2/keymaps/default/keymap.c b/keyboards/geekboards/macropad_v2/keymaps/default/keymap.c
deleted file mode 100644
index 26ba55e65c..0000000000
--- a/keyboards/geekboards/macropad_v2/keymaps/default/keymap.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2020 Geekboards ltd. (geekboards.ru / geekboards.de)
- *
- * 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 keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- LAYOUT_ortho_2x4(
- KC_1, KC_2, KC_3, KC_4,
- KC_5, KC_6, KC_7, KC_8
- )
-};
diff --git a/keyboards/geekboards/macropad_v2/keymaps/default/readme.md b/keyboards/geekboards/macropad_v2/keymaps/default/readme.md
deleted file mode 100644
index 8846bd5916..0000000000
--- a/keyboards/geekboards/macropad_v2/keymaps/default/readme.md
+++ /dev/null
@@ -1 +0,0 @@
-# The default keymap for Geekboards Macropad v2
diff --git a/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c b/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c
deleted file mode 100644
index b0e5b9327d..0000000000
--- a/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c
+++ /dev/null
@@ -1,83 +0,0 @@
-/* Copyright 2020 Geekboards ltd. (geekboards.ru / geekboards.de)
- *
- * 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
-#include <string.h>
-
-bool is_alt_tab_active = false;
-uint16_t alt_tab_timer = 0;
-
-enum custom_keycodes {
- ALT_TAB = USER00,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_ortho_2x4(
- LT(1, KC_MUTE), KC_VOLD, KC_VOLU, MACRO00,
- ALT_TAB, KC_MPRV, KC_MNXT, KC_MPLY
- ),
- [1] = LAYOUT_ortho_2x4(
- KC_TRNS, RGB_VAI, RGB_HUI, RGB_SPI,
- RGB_MOD, RGB_VAD, RGB_HUD, RGB_SPD
- ),
- [2] = LAYOUT_ortho_2x4(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [3] = LAYOUT_ortho_2x4(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- )
-};
-
-//------------ SUPER ALTTAB ---------------
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case ALT_TAB:
- if (record->event.pressed) {
- if (!is_alt_tab_active) {
- is_alt_tab_active = true;
- register_code(KC_LALT);
- }
- alt_tab_timer = timer_read();
- register_code(KC_TAB);
- } else {
- unregister_code(KC_TAB);
- }
- break;
- }
- return true;
-}
-
-void matrix_scan_user(void) {
- if (is_alt_tab_active) {
- if (timer_elapsed(alt_tab_timer) > 1000) {
- unregister_code(KC_LALT);
- is_alt_tab_active = false;
- }
- }
-}
-
-void keyboard_post_init_user(void) {
- // set default macro after reset (alt-tab)
- uint8_t get[16] = {0};
- uint8_t zero[16] = {0};
- dynamic_keymap_macro_get_buffer(0,16,get);
- if(memcmp(get, zero, 16) == 0)
- {
- uint8_t set[] = {2, 0xe2, 2, 0xe1, 3, 0xe1, 3, 0xe2, 0};
- dynamic_keymap_macro_set_buffer(0, 9, set);
- }
-} \ No newline at end of file
diff --git a/keyboards/geekboards/macropad_v2/keymaps/via/readme.md b/keyboards/geekboards/macropad_v2/keymaps/via/readme.md
deleted file mode 100644
index 79130f4d11..0000000000
--- a/keyboards/geekboards/macropad_v2/keymaps/via/readme.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Geekboards Macropad v2 - VIA layout
-
-Flash with this layout to use [VIA](https://caniusevia.com/) for customising layout.
diff --git a/keyboards/geekboards/macropad_v2/keymaps/via/rules.mk b/keyboards/geekboards/macropad_v2/keymaps/via/rules.mk
deleted file mode 100644
index f2208a3b97..0000000000
--- a/keyboards/geekboards/macropad_v2/keymaps/via/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-VIA_ENABLE = yes
-# LTO_ENABLE = yes
diff --git a/keyboards/geekboards/macropad_v2/macropad_v2.c b/keyboards/geekboards/macropad_v2/macropad_v2.c
deleted file mode 100644
index df8581cc58..0000000000
--- a/keyboards/geekboards/macropad_v2/macropad_v2.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Copyright 2020 Geekboards ltd. (geekboards.ru / geekboards.de)
- *
- * 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
-
-#ifdef RGB_MATRIX_ENABLE
-led_config_t g_led_config = { {
- // Key Matrix to LED Index
- {13,19,20,26}, {6,0,38,33},
-}, {
- // LED Index to Physical Position
- {85,46},
- {85,64},{67,64},{49,64},{31,64},{13,64},
- {31,46},
- {0,55},{0,46},{0,37},{0,27},{0,18},{0,9},
- {31,18},
- {13,0},{31,0},{49,0},{67,0},{85,0},
- {85,18},{139,18},
- {139,0},{157,0},{175,0},{193,0},{211,0},
- {193,18},
- {224,9},{224,18},{224,27},{224,37},{224,46},{224,55},
- {193,46},
- {211,64},{193,64},{175,64},{157,64},
- {139,46},
- {139,64},{121,64},{103,64},
-}, {
- // LED Index to Flag, 2=backlight, 4=key
- 4,
- 2, 2, 2, 2, 2,
- 4,
- 2, 2, 2, 2, 2, 2,
- 4,
- 2, 2, 2, 2, 2,
- 4, 4,
- 2, 2, 2, 2, 2,
- 4,
- 2, 2, 2, 2, 2, 2,
- 4,
- 2, 2, 2, 2,
- 4,
- 2, 2, 2
-} };
-
-void suspend_power_down_kb(void) {
- rgb_matrix_set_suspend_state(true);
- suspend_power_down_user();
-}
-
-void suspend_wakeup_init_kb(void) {
- rgb_matrix_set_suspend_state(false);
- suspend_wakeup_init_user();
-}
-#endif
diff --git a/keyboards/geekboards/macropad_v2/macropad_v2.h b/keyboards/geekboards/macropad_v2/macropad_v2.h
deleted file mode 100644
index 7fe684deb7..0000000000
--- a/keyboards/geekboards/macropad_v2/macropad_v2.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright 2020 Geekboards ltd. (geekboards.ru / geekboards.de)
- *
- * 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 LAYOUT_ortho_2x4( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13 \
-) { \
- { k00, k01, k02, k03 }, \
- { k10, k11, k12, k13 } \
-}
diff --git a/keyboards/geekboards/macropad_v2/mcuconf.h b/keyboards/geekboards/macropad_v2/mcuconf.h
deleted file mode 100644
index 8daf054a51..0000000000
--- a/keyboards/geekboards/macropad_v2/mcuconf.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright 2020 QMK
- *
- * 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/>.
- */
-
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/geekboards/macropad_v2/mcuconf.h -r platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h`
- */
-
-#pragma once
-
-#include_next <mcuconf.h>
-
-#undef STM32_I2C_USE_I2C1
-#define STM32_I2C_USE_I2C1 TRUE
-
-#undef STM32_PWM_USE_TIM3
-#define STM32_PWM_USE_TIM3 TRUE
-
-#undef STM32_SPI_USE_SPI1
-#define STM32_SPI_USE_SPI1 TRUE
-
diff --git a/keyboards/geekboards/macropad_v2/readme.md b/keyboards/geekboards/macropad_v2/readme.md
deleted file mode 100644
index 45bb7df6f3..0000000000
--- a/keyboards/geekboards/macropad_v2/readme.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# geekboards/macropad_v2
-
-![Geekboards Macropad v2](https://github.com/ruddy17/my_files/blob/main/macropad_v2.jpg)
-
-8-keys macropad with CNC aluminium case, RGB LEDs for both backlight and switches, hot-swap connectors.
-
-Keyboard Maintainer: [ruddy17](https://github.com/ruddy17)
-Hardware Supported: Geekboards Macropad v2, STM32F072C8T6
-Hardware Availability: https://geekboards.ru
-
-Compile instruction for this keyboard (after setting up your build environment):
-
- make geekboards/macropad_v2:via
-
-## Update firmware
-### Enter bootloader
-1. Press and hold leftmost button on top row (where ESC usually is)
-2. Plug in USB
-3. Keep holding the button for 3 more seconds
-4. Release the button
-
-Alternatively:
-1. Remove bottom cover
-1. On the pcb short together two contacts labeled BOOT0
-2. Plug in USB
-3. Release BOOT0
-
-### Flash
-
- make geekboards/macropad_v2:via:flash
-
-See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/geekboards/macropad_v2/rules.mk b/keyboards/geekboards/macropad_v2/rules.mk
deleted file mode 100644
index 4aa4ccfdef..0000000000
--- a/keyboards/geekboards/macropad_v2/rules.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# MCU name
-MCU = STM32F072
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812
-WS2812_DRIVER = pwm
-
-# Enter lower-power sleep mode when on the ChibiOS idle thread
-OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/geekboards/tester/info.json b/keyboards/geekboards/tester/info.json
deleted file mode 100644
index 2da610fb3f..0000000000
--- a/keyboards/geekboards/tester/info.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "keyboard_name": "Tester",
- "manufacturer": "Geekboards",
- "url": "",
- "maintainer": "moyi4681",
- "usb": {
- "vid": "0xFEED",
- "pid": "0x1319",
- "device_version": "0.0.1"
- },
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
-
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
- {"x":3, "y":1}
- ]
- }
- }
-}
diff --git a/keyboards/geekboards/tester/keymaps/default/keymap.c b/keyboards/geekboards/tester/keymaps/default/keymap.c
deleted file mode 100644
index acf63cb36a..0000000000
--- a/keyboards/geekboards/tester/keymaps/default/keymap.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include QMK_KEYBOARD_H
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-[0] = LAYOUT( /* Base */
- RGB_MOD, KC_1, KC_2, KC_3,
- KC_4, KC_5, KC_6, MO(1)
- ),
-[1] = LAYOUT( /* Base */
- KC_ESC, KC_F1, KC_F2, KC_F3,
- KC_F4, KC_F5, KC_F6, KC_F7
- ),
-};
diff --git a/keyboards/geekboards/tester/readme.md b/keyboards/geekboards/tester/readme.md
deleted file mode 100644
index 7da0693082..0000000000
--- a/keyboards/geekboards/tester/readme.md
+++ /dev/null
@@ -1,12 +0,0 @@
-Geekboards 8-keys macropad
-=====
-
-Keyboard Maintainer: [dztech](https://github.com/moyi4681)
-Hardware Supported: Geekboards 8-keys macropad
-Hardware Availability: geekboards.ru(https://geekboards.ru/)
-
-Make example for this keyboard (after setting up your build environment):
-
- make geekboards/tester:default
-
-See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/geekboards/tester/rules.mk b/keyboards/geekboards/tester/rules.mk
deleted file mode 100644
index 923f1f383c..0000000000
--- a/keyboards/geekboards/tester/rules.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = qmk-dfu
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-RGB_MATRIX_ENABLE = yes # Use RGB matrix
-RGB_MATRIX_DRIVER = IS31FL3731
diff --git a/keyboards/geekboards/tester/tester.h b/keyboards/geekboards/tester/tester.h
deleted file mode 100644
index 28c555f0b6..0000000000
--- a/keyboards/geekboards/tester/tester.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#pragma once
-#include "quantum.h"
-#define LAYOUT( \
- k00, k01, k02, k03,\
- k10, k11, k12, k13\
-) \
-{ \
- { k00, k01, k02, k03 }, \
- { k10, k11, k12, k13 } \
-}