summaryrefslogtreecommitdiff
path: root/keyboards/contra/keymaps/maxr1998
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-12-18 16:05:50 +1100
committerGitHub <noreply@github.com>2023-12-18 16:05:50 +1100
commitd235352504f82eae5dedc399bae36c65f1348fa8 (patch)
tree775021fd419c2099ab75d7aa6481924290894b35 /keyboards/contra/keymaps/maxr1998
parentf25226453fb253b5d1c2f1684365d6248d8b5750 (diff)
Remove obvious user keymaps, `keyboards/{b,c}*` edition. (#22693)
Diffstat (limited to 'keyboards/contra/keymaps/maxr1998')
-rw-r--r--keyboards/contra/keymaps/maxr1998/config.h23
-rw-r--r--keyboards/contra/keymaps/maxr1998/keymap.c186
-rw-r--r--keyboards/contra/keymaps/maxr1998/readme.md2
-rw-r--r--keyboards/contra/keymaps/maxr1998/rules.mk11
4 files changed, 0 insertions, 222 deletions
diff --git a/keyboards/contra/keymaps/maxr1998/config.h b/keyboards/contra/keymaps/maxr1998/config.h
deleted file mode 100644
index 5580ffeae8..0000000000
--- a/keyboards/contra/keymaps/maxr1998/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-
-#define TAPPING_TOGGLE 2
-
-#define WS2812_DI_PIN F7 // pin the DI on the WS2812B is hooked-up to
-#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 // number of LEDs
-#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
-#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
-#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
-
-#endif
diff --git a/keyboards/contra/keymaps/maxr1998/keymap.c b/keyboards/contra/keymaps/maxr1998/keymap.c
deleted file mode 100644
index 0802a211f0..0000000000
--- a/keyboards/contra/keymaps/maxr1998/keymap.c
+++ /dev/null
@@ -1,186 +0,0 @@
-/* Copyright 2015-2017 Jack Humbert
- *
- * 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 "keymap_german.h"
-
-enum contra_layers {
- _QWERTZ,
- _FN,
- _NR,
- _NR_L3,
- _FX,
- _GAMING
-};
-
-#define KC_I3 LM(_NR, MOD_LALT)
-#define KC_NR SAFE_RANGE
-#define KC_N3 (SAFE_RANGE + 1)
-#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 | Q | W | E | R | T | Z | U | I | O | P | Bksp |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Tab | A | S | D | F | G | H | J | K | L | +* ~ | Enter|
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | Shift| Y | X | C | V | B | N | M | , | . | Up | Shift|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | Sup | Alt | i3 | NumR | Space | Spec | Fun | Left | Down | Right|
- * `-----------------------------------------------------------------------------------'
- */
-[_QWERTZ] = {
- {QK_GESC, 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_RSFT},
- {KC_LCTL, KC_LGUI, KC_LALT, KC_I3, KC_NR, KC_SPC, KC_SPC, KC_N3, KC_FN, KC_LEFT, KC_DOWN, KC_RGHT}
-},
-
-/* Function layer
- * ,-----------------------------------------------------------------------------------.
- * | | | | | | | | Ü | | Ö | | Del |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Lock | Ä | ß | | | GAME | | RGBS | RGBB | RGBS | | |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | | | | | | | RGBH-| RGBT | RGBH+| PgUp | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | ---- | ---- | | ---- | ---- | Home | PgDn | End |
- * `-----------------------------------------------------------------------------------'
- */
-[_FN] = {
- {_______, _______, _______, _______, _______, _______, _______, DE_UDIA, _______, DE_ODIA, _______, KC_DEL },
- {QK_LOCK, DE_ADIA, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_B, RGB_M_SW,_______, _______},
- {_______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______},
- {_______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END }
-},
-
-/* Numrow layer (special characters with Shift and ISO_L3_Shift)
- * ,-----------------------------------------------------------------------------------.
- * | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | \ |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | | | | | | | | | | | #' | |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | <> | | | | | | | | | | -_ | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | ---- | ---- | | ---- | ---- | | | |
- * `-----------------------------------------------------------------------------------'
- */
-[_NR] = {
- {_______, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, _______},
- {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DE_HASH, _______},
- {_______, DE_LABK, _______, _______, _______, _______, _______, _______, _______, _______, DE_MINS, _______},
- {_______, _______, _______, XXXXXXX, _______, _______, _______, _______, XXXXXXX, _______, _______, _______}
-},
-[_NR_L3] = {
- {_______, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, DE_SS },
- {_______, DE_Q, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
- {_______, DE_LABK, _______, _______, _______, _______, _______, _______, _______, _______, DE_MINS, _______},
- {_______, _______, _______, XXXXXXX, _______, _______, _______, _______, XXXXXXX, _______, _______, _______}
-},
-
-/* Function keys
- * ,-----------------------------------------------------------------------------------.
- * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | | | | | | | | |
- * `-----------------------------------------------------------------------------------'
- */
-[_FX] = {
- {KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12 },
- {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
- {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
- {_______, _______, _______, XXXXXXX, _______, _______, _______, _______, XXXXXXX, _______, _______, _______}
-},
-
-/* Gaming
- * ,-----------------------------------------------------------------------------------.
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Space| | | | | | | Leave| | | |
- * `-----------------------------------------------------------------------------------'
- */
-[_GAMING] = {
- {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
- {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
- {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
- {KC_SPC, XXXXXXX, _______, _______, _______, KC_LCTL, KC_LCTL, _______, G_0, _______, _______, _______}
-}
-};
-
-void update_tri_layer_user(void);
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch(keycode) {
- case KC_BSPC:
- if (record->event.pressed) {
- if (get_mods() & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT))) {
- register_code(DE_SS);
- return false;
- }
- } else {
- unregister_code(DE_SS);
- }
- return true;
- case KC_NR:
- if (record->event.pressed) {
- layer_on(_NR);
- } else {
- layer_off(_NR);
- }
- update_tri_layer_user();
- return false;
- case KC_N3:
- if (record->event.pressed) {
- layer_on(_NR_L3);
- } else {
- layer_off(_NR_L3);
- }
- update_tri_layer_user();
- return false;
- default:
- return true;
- }
-}
-
-void update_tri_layer_user(void) {
- update_tri_layer(_NR, _NR_L3, _FX);
- if (layer_state_is(_NR_L3) && !layer_state_is(_FX)) {
- register_code(KC_ALGR);
- } else {
- unregister_code(KC_ALGR);
- }
-}
-
-bool led_update_user(led_t led_state) {
- // Force-enable Numlock
- if (!led_state.num_lock) {
- register_code(KC_NUM_LOCK);
- unregister_code(KC_NUM_LOCK);
- }
- return false;
-}
diff --git a/keyboards/contra/keymaps/maxr1998/readme.md b/keyboards/contra/keymaps/maxr1998/readme.md
deleted file mode 100644
index 18d57e2cbc..0000000000
--- a/keyboards/contra/keymaps/maxr1998/readme.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# Contra Layout by Maxr1998
-![img](https://i.imgur.com/dVnnRDT.jpg) \ No newline at end of file
diff --git a/keyboards/contra/keymaps/maxr1998/rules.mk b/keyboards/contra/keymaps/maxr1998/rules.mk
deleted file mode 100644
index 8607ce19ef..0000000000
--- a/keyboards/contra/keymaps/maxr1998/rules.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-RGBLIGHT_ENABLE = yes
-KEY_LOCK_ENABLE = yes
-
-LTO_ENABLE = yes
-UNICODE_ENABLE = no
-MOUSEKEY_ENABLE = no
-
-### Debugging ###
-CONSOLE_ENABLE = no # yes
-COMMAND_ENABLE = no
-