diff options
Diffstat (limited to 'keyboards/maxr1998')
-rw-r--r-- | keyboards/maxr1998/phoebe/config.h | 31 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/info.json | 356 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/keymaps/default/config.h | 3 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/keymaps/default/keymap.c | 147 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/phoebe.c | 3 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/phoebe.h | 18 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/readme.md | 13 | ||||
-rw-r--r-- | keyboards/maxr1998/phoebe/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/config.h | 64 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/info.json | 22 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/keymaps/default/keymap.c | 71 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/keymaps/default/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c | 75 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/keymaps/maxr1998/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/pulse4k.c | 37 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/pulse4k.h | 33 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/readme.md | 13 | ||||
-rw-r--r-- | keyboards/maxr1998/pulse4k/rules.mk | 19 |
18 files changed, 0 insertions, 907 deletions
diff --git a/keyboards/maxr1998/phoebe/config.h b/keyboards/maxr1998/phoebe/config.h deleted file mode 100644 index b410a836c9..0000000000 --- a/keyboards/maxr1998/phoebe/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@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" - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* Selectively enable animation effects */ -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1 diff --git a/keyboards/maxr1998/phoebe/info.json b/keyboards/maxr1998/phoebe/info.json deleted file mode 100644 index 03a2dd94f8..0000000000 --- a/keyboards/maxr1998/phoebe/info.json +++ /dev/null @@ -1,356 +0,0 @@ -{ - "keyboard_name": "Phoebe", - "maintainer": "Maxr1998", - "manufacturer": "Maxr1998", - "url": "https://github.com/Maxr1998/Phoebe_Keyboard", - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "bootloader_instructions": "Tap reset button on the back.", - "diode_direction": "COL2ROW", - "debounce": 5, - "features": { - "bootmagic": true, - "nkro": true, - "backlight": false, - "rgblight": true, - "key_lock": true, - "leader": true - }, - "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": 3, - "y": 0 - }, - { - "w": 1, - "x": 4, - "y": 0 - }, - { - "w": 1, - "x": 5, - "y": 0 - }, - { - "w": 1, - "x": 6, - "y": 0 - }, - { - "w": 1, - "x": 7, - "y": 0 - }, - { - "w": 1, - "x": 8, - "y": 0 - }, - { - "w": 1, - "x": 9, - "y": 0 - }, - { - "w": 1, - "x": 10, - "y": 0 - }, - { - "w": 1, - "x": 11, - "y": 0 - }, - { - "w": 1, - "x": 0, - "y": 1 - }, - { - "w": 1, - "x": 1, - "y": 1 - }, - { - "w": 1, - "x": 2, - "y": 1 - }, - { - "w": 1, - "x": 3, - "y": 1 - }, - { - "w": 1, - "x": 4, - "y": 1 - }, - { - "w": 1, - "x": 5, - "y": 1 - }, - { - "w": 1, - "x": 6, - "y": 1 - }, - { - "w": 1, - "x": 7, - "y": 1 - }, - { - "w": 1, - "x": 8, - "y": 1 - }, - { - "w": 1, - "x": 9, - "y": 1 - }, - { - "w": 1, - "x": 10, - "y": 1 - }, - { - "w": 1, - "x": 11, - "y": 1 - }, - { - "w": 1, - "x": 0, - "y": 2 - }, - { - "w": 1, - "x": 1, - "y": 2 - }, - { - "w": 1, - "x": 2, - "y": 2 - }, - { - "w": 1, - "x": 3, - "y": 2 - }, - { - "w": 1, - "x": 4, - "y": 2 - }, - { - "w": 1, - "x": 5, - "y": 2 - }, - { - "w": 1, - "x": 6, - "y": 2 - }, - { - "w": 1, - "x": 7, - "y": 2 - }, - { - "w": 1, - "x": 8, - "y": 2 - }, - { - "w": 1, - "x": 9, - "y": 2 - }, - { - "w": 1, - "x": 10, - "y": 2 - }, - { - "w": 1, - "x": 11, - "y": 2 - }, - { - "w": 1, - "x": 0, - "y": 3 - }, - { - "w": 1, - "x": 1, - "y": 3 - }, - { - "w": 1, - "x": 2, - "y": 3 - }, - { - "w": 1, - "x": 3, - "y": 3 - }, - { - "w": 1, - "x": 4, - "y": 3 - }, - { - "w": 1, - "x": 5, - "y": 3 - }, - { - "w": 1, - "x": 6, - "y": 3 - }, - { - "w": 1, - "x": 7, - "y": 3 - }, - { - "w": 1, - "x": 8, - "y": 3 - }, - { - "w": 1, - "x": 9, - "y": 3 - }, - { - "w": 1, - "x": 10, - "y": 3 - }, - { - "w": 1, - "x": 11, - "y": 3 - }, - { - "w": 1, - "x": 0, - "y": 4 - }, - { - "w": 1, - "x": 1, - "y": 4 - }, - { - "w": 1, - "x": 2, - "y": 4 - }, - { - "w": 1, - "x": 3, - "y": 4 - }, - { - "w": 1, - "x": 4, - "y": 4 - }, - { - "w": 2, - "x": 5, - "y": 4 - }, - { - "w": 1, - "x": 7, - "y": 4 - }, - { - "w": 1, - "x": 8, - "y": 4 - }, - { - "w": 1, - "x": 9, - "y": 4 - }, - { - "w": 1, - "x": 10, - "y": 4 - }, - { - "w": 1, - "x": 11, - "y": 4 - } - ] - } - }, - "leader_key": { - "timing": true, - "timeout": 250 - }, - "matrix_pins": { - "cols": [ - "D7", - "B4", - "B5", - "B6", - "C6", - "C7", - "B0", - "F1", - "F4", - "F5", - "F6", - "F7" - ], - "rows": [ - "B7", - "B3", - "B2", - "B1", - "D6" - ] - }, - "rgblight": { - "led_count": 8, - "pin": "F0" - } -} diff --git a/keyboards/maxr1998/phoebe/keymaps/default/config.h b/keyboards/maxr1998/phoebe/keymaps/default/config.h deleted file mode 100644 index 593ac440c1..0000000000 --- a/keyboards/maxr1998/phoebe/keymaps/default/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define RSPC_KEYS KC_RSFT, KC_RALT, KC_7 diff --git a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c deleted file mode 100644 index 11ac657751..0000000000 --- a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c +++ /dev/null @@ -1,147 +0,0 @@ -#include QMK_KEYBOARD_H - -#include "keymap_german.h" -#include "sendstring_german.h" - -enum layers { - _QWERTZ, - _SC, - _FN, - _GAMING -}; - -#define KC_SC MO(_SC) -#define KC_FN MO(_FN) -#define G_1 TO(_GAMING) -#define G_0 TG(_GAMING) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* QWERTZ - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ? │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ ^ ° │ Q │ W │ E │ R │ T │ Z │ U │ I │ O │ P │Bkspc│ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ Tab │ A │ S │ D │ F │ G │ H │ J │ K │ L │ +*~ │Enter│ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │Shift│ Y │ X │ C │ V │ B │ N │ M │ , │ . │ ↑ │Shift│ - * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┤ - * │ Ctl │ Sup │ Alt │LeadK│SpcCh│ Space │AltGr│ Fun │ ← │ ↓ │ → │ - * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┘ - */ -[_QWERTZ] = LAYOUT( - KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, DE_QUES, - KC_GRV, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, DE_PLUS, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSPC, - KC_LCTL, KC_LGUI, KC_LALT, KC_LEAD, KC_SC, KC_SPC, KC_ALGR, KC_FN, KC_LEFT, KC_DOWN, KC_RGHT -), - -/* Special characters - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ ´ ` │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ # ' │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ <>| │ │ │ │ │ │ │ │ │ - _ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ X │ │ │ │ X │ │ │ │ - * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┘ -*/ -[_SC] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - DE_ACUT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DE_HASH, _______, - _______, DE_LABK, _______, _______, _______, _______, _______, _______, _______, _______, DE_MINS, _______, - _______, _______, _______, XXXXXXX, _______, _______, _______, XXXXXXX, _______, _______, _______ -), - -/* Function layer - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F10 │ F11 │ F12 │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ Ü │ F9 │ Ö │ │ Del │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ Lck │ Ä │ ß │ │ │ GAME│ │RGB S│RGB B│RGB S│ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │RGBH-│RGB T│RGBH+│ Pg↑ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┤ - * │ X │ │ X │ X │ X │ │ X │ X │ Home│ Pg↓ │ End │ - * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┘ - */ -[_FN] = LAYOUT( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F10, KC_F11, KC_F12, - _______, _______, _______, _______, _______, _______, _______, DE_UDIA, KC_F9, DE_ODIA, _______, KC_DEL, - KC_LOCK, DE_ADIA, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_SW,RGB_M_SN,_______, _______, - _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______, - XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END -), - -/* Gaming - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┤ - * │Space│ │ │ │ │ Ctl │ │Leave│ │ │ │ - * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┘ -*/ -[_GAMING] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_SPC, XXXXXXX, _______, _______, _______, KC_LCTL, _______, G_0, _______, _______, _______ -) -}; - -#define MODS_ALGR_MASK (MOD_BIT(KC_ALGR)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case DE_QUES: - if (get_mods() & MODS_ALGR_MASK) { - if (record->event.pressed) { - register_code(DE_SS); - } else { - unregister_code(DE_SS); - } - return false; - } - break; - case KC_Z: - if (get_mods() & MODS_ALGR_MASK) { - if (record->event.pressed) { - register_code(DE_LABK); - } else { - unregister_code(DE_LABK); - } - return false; - } - break; - } - return true; -}; - -LEADER_EXTERNS(); - -void matrix_scan_user(void) { - LEADER_DICTIONARY() { - leading = false; - leader_end(); - - SEQ_TWO_KEYS(KC_G, KC_P) { - SEND_STRING("git push"); - } - SEQ_THREE_KEYS(KC_G, KC_F, KC_P) { - SEND_STRING("git push --force-with-lease"); - } - } -} diff --git a/keyboards/maxr1998/phoebe/phoebe.c b/keyboards/maxr1998/phoebe/phoebe.c deleted file mode 100644 index 28d3afea50..0000000000 --- a/keyboards/maxr1998/phoebe/phoebe.c +++ /dev/null @@ -1,3 +0,0 @@ -#include "phoebe.h" - -const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {50, 50, 50}; diff --git a/keyboards/maxr1998/phoebe/phoebe.h b/keyboards/maxr1998/phoebe/phoebe.h deleted file mode 100644 index f3e61756a3..0000000000 --- a/keyboards/maxr1998/phoebe/phoebe.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ - k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, \ - k40, k41, k42, k43, k44, k45, k47, k48, k49, k4a, k4b \ -) \ -{ \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b }, \ - { k40, k41, k42, k43, k44, k45, k45, k47, k48, k49, k4a, k4b } \ -} diff --git a/keyboards/maxr1998/phoebe/readme.md b/keyboards/maxr1998/phoebe/readme.md deleted file mode 100644 index 72238e5db8..0000000000 --- a/keyboards/maxr1998/phoebe/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# Phoebe -A 5x12 ortolinear keyboard, developed by Maxr1998, [fully open-source](https://github.com/Maxr1998/Phoebe_Keyboard). - -![Image](https://i.imgur.com/zEZxqZC.jpg) - -Keyboard Maintainer: [Maxr1998](https://github.com/Maxr1998) -Hardware Availability: DIY from the [open-source design files](https://github.com/Maxr1998/Phoebe), potential official distribution in the future - -Make example for this keyboard (after setting up your build environment): - - make maxr1998/phoebe: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/phoebe/rules.mk b/keyboards/maxr1998/phoebe/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/maxr1998/phoebe/rules.mk +++ /dev/null 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); -} |