summaryrefslogtreecommitdiffstats
path: root/keyboards/maxr1998/pulse4k
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
committerlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
commit9581289745736ce068a1040f44cec37a2ca8830d (patch)
tree24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/maxr1998/pulse4k
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/maxr1998/pulse4k')
-rw-r--r--keyboards/maxr1998/pulse4k/config.h64
-rw-r--r--keyboards/maxr1998/pulse4k/info.json22
-rw-r--r--keyboards/maxr1998/pulse4k/keymaps/default/keymap.c71
-rw-r--r--keyboards/maxr1998/pulse4k/keymaps/default/rules.mk1
-rw-r--r--keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c75
-rw-r--r--keyboards/maxr1998/pulse4k/keymaps/maxr1998/rules.mk1
-rw-r--r--keyboards/maxr1998/pulse4k/pulse4k.c37
-rw-r--r--keyboards/maxr1998/pulse4k/pulse4k.h33
-rw-r--r--keyboards/maxr1998/pulse4k/readme.md13
-rw-r--r--keyboards/maxr1998/pulse4k/rules.mk19
10 files changed, 0 insertions, 336 deletions
diff --git a/keyboards/maxr1998/pulse4k/config.h b/keyboards/maxr1998/pulse4k/config.h
deleted file mode 100644
index 697fe10621..0000000000
--- a/keyboards/maxr1998/pulse4k/config.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (C) 2019-2020 Maxr1998 <max.rumpf1998@gmail.com>
- *
- * 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 3
-
-/* Matrix pins */
-#define MATRIX_ROW_PINS { B4, E6 }
-#define MATRIX_COL_PINS { B7, B3, F0 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
-/* Rotary encoders */
-#define ENCODERS_PAD_A { D2, F6 }
-#define ENCODERS_PAD_B { D3, F5 }
-#define ENCODER_RESOLUTION 4
-
-/* Combo setup */
-#define COMBO_COUNT 1
-#define COMBO_TERM 150
-
-/* RGB LED Setup */
-#define RGB_DI_PIN F7 // pin the DI on the WS2812B is hooked-up to
-#define RGBLIGHT_ANIMATIONS // run RGB animations
-#define RGBLED_NUM 2 // number of LEDs
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/maxr1998/pulse4k/info.json b/keyboards/maxr1998/pulse4k/info.json
deleted file mode 100644
index f5ff668edf..0000000000
--- a/keyboards/maxr1998/pulse4k/info.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "keyboard_name": "Pulse 4k",
- "manufacturer": "Maxr1998",
- "url": "https://github.com/Maxr1998/Pulse_4k",
- "maintainer": "Maxr1998",
- "usb": {
- "vid": "0xFEED",
- "pid": "0x6060",
- "device_version": "0.0.1"
- },
- "layouts": {
- "LAYOUT": {
- "layout": [
- { "w": 1, "x": 0, "y": 0 },
- { "w": 1, "x": 1, "y": 0 },
- { "w": 1, "x": 2, "y": 0 },
- { "w": 1, "x": 0, "y": 1 },
- { "w": 1, "x": 1, "y": 1 },
- { "w": 1, "x": 2, "y": 1 } ]
- }
- }
-}
diff --git a/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c b/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c
deleted file mode 100644
index 243a96ba74..0000000000
--- a/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2019-2020 Maxr1998 <max.rumpf1998@gmail.com>
- *
- * 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
-
-enum layers {
- DEFAULT
-};
-
-enum combo_events {
- LED_ADJUST
-};
-
-const uint16_t PROGMEM led_adjust_combo[] = {KC_LEFT, KC_RGHT, COMBO_END};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [DEFAULT] = LAYOUT(
- KC_END, KC_UP, KC_MUTE,
- KC_LEFT, KC_DOWN, KC_RGHT
- )
-};
-
-combo_t key_combos[COMBO_COUNT] = {
- [LED_ADJUST] = COMBO_ACTION(led_adjust_combo)
-};
-
-bool led_adjust_active = false;
-
-void process_combo_event(uint16_t combo_index, bool pressed) {
- if (combo_index == LED_ADJUST) {
- led_adjust_active = pressed;
- }
-}
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- if (led_adjust_active) {
- if (clockwise) {
- rgblight_increase_val();
- } else {
- rgblight_decrease_val();
- }
- return false;
- }
- } else if (index == 1) {
- if (led_adjust_active) {
- if (clockwise) {
- rgblight_increase_hue();
- } else {
- rgblight_decrease_hue();
- }
- return false;
- }
- }
-
- return true;
-}
diff --git a/keyboards/maxr1998/pulse4k/keymaps/default/rules.mk b/keyboards/maxr1998/pulse4k/keymaps/default/rules.mk
deleted file mode 100644
index ab1e438182..0000000000
--- a/keyboards/maxr1998/pulse4k/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-COMBO_ENABLE = yes
diff --git a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c b/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c
deleted file mode 100644
index 2aad1fa346..0000000000
--- a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (C) 2020 Maxr1998 <max.rumpf1998@gmail.com>
- *
- * 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
-
-enum layers {
- DEFAULT
-};
-
-enum combo_events {
- LED_ADJUST
-};
-
-const uint16_t PROGMEM led_adjust_combo[] = {KC_F22, KC_F24, COMBO_END};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [DEFAULT] = LAYOUT(
- KC_F20, KC_F21, KC_MUTE,
- KC_F22, KC_F23, KC_F24
- )
-};
-
-combo_t key_combos[COMBO_COUNT] = {
- [LED_ADJUST] = COMBO_ACTION(led_adjust_combo)
-};
-
-bool led_adjust_active = false;
-
-void process_combo_event(uint16_t combo_index, bool pressed) {
- if (combo_index == LED_ADJUST) {
- led_adjust_active = pressed;
- }
-}
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- if (led_adjust_active) {
- if (clockwise) {
- rgblight_increase_val();
- } else {
- rgblight_decrease_val();
- }
- return false;
- }
- } else if (index == 1) {
- if (led_adjust_active) {
- if (clockwise) {
- rgblight_increase_hue();
- } else {
- rgblight_decrease_hue();
- }
- return false;
- }
- }
-
- return true;
-}
-
-void encoder_one_update(bool clockwise) {
- tap_code(!clockwise ? KC_F18 : KC_F19);
-}
diff --git a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/rules.mk b/keyboards/maxr1998/pulse4k/keymaps/maxr1998/rules.mk
deleted file mode 100644
index ab1e438182..0000000000
--- a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-COMBO_ENABLE = yes
diff --git a/keyboards/maxr1998/pulse4k/pulse4k.c b/keyboards/maxr1998/pulse4k/pulse4k.c
deleted file mode 100644
index f31eb6db37..0000000000
--- a/keyboards/maxr1998/pulse4k/pulse4k.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2019-2020 Maxr1998 <max.rumpf1998@gmail.com>
- *
- * 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 "pulse4k.h"
-
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) return false;
-
- if (index == 0) {
- encoder_one_update(clockwise);
- } else if (index == 1) {
- encoder_two_update(clockwise);
- }
- return true;
-}
-
-__attribute__((weak)) void encoder_one_update(bool clockwise) {
- tap_code(!clockwise ? KC_PGUP : KC_PGDN);
-}
-
-__attribute__((weak)) void encoder_two_update(bool clockwise) {
- tap_code(!clockwise ? KC_VOLD : KC_VOLU);
-}
diff --git a/keyboards/maxr1998/pulse4k/pulse4k.h b/keyboards/maxr1998/pulse4k/pulse4k.h
deleted file mode 100644
index cc0a373b66..0000000000
--- a/keyboards/maxr1998/pulse4k/pulse4k.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2019-2020 Maxr1998 <max.rumpf1998@gmail.com>
- *
- * 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( \
- k00, k01, k02, \
- k10, k11, k12 \
-) \
-{ \
- { k00, k01, k02 }, \
- { k10, k11, k12 }, \
-}
-
-void encoder_one_update(bool clockwise);
-
-void encoder_two_update(bool clockwise);
diff --git a/keyboards/maxr1998/pulse4k/readme.md b/keyboards/maxr1998/pulse4k/readme.md
deleted file mode 100644
index 197e024cf1..0000000000
--- a/keyboards/maxr1998/pulse4k/readme.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Pulse 4k
-A four-key macropad with two rotary encoders, developed by Maxr1998, [fully open-source](https://github.com/Maxr1998/Pulse_4k).
-
-<p align="center"><img width="60%" src="https://i.imgur.com/g1QyqxS.jpg"></p>
-
-Keyboard Maintainer: [Maxr1998](https://github.com/Maxr1998)
-Hardware Availability: DIY from the [open-source design files](https://github.com/Maxr1998/Pulse_4k), potential official distribution in the future
-
-Make example for this keyboard (after setting up your build environment):
-
- make maxr1998/pulse4k: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/maxr1998/pulse4k/rules.mk b/keyboards/maxr1998/pulse4k/rules.mk
deleted file mode 100644
index 5533ac6f35..0000000000
--- a/keyboards/maxr1998/pulse4k/rules.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-ENCODER_ENABLE = yes # Rotary encoders
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # 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
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.