diff options
| author | Joel Challis <git@zvecr.com> | 2024-02-19 09:48:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-19 09:48:06 +0000 |
| commit | e26e12402b7a5a619a95999f5c8a2a73defcd9b3 (patch) | |
| tree | 22b25da1370626c7f1cb31ff6c6683115b2ba968 /keyboards/wilba_tech | |
| parent | db1df185c9f779bc36f85786f87135e03cfafd29 (diff) | |
Manual user keymap removal (#23104)
Diffstat (limited to 'keyboards/wilba_tech')
4 files changed, 0 insertions, 178 deletions
diff --git a/keyboards/wilba_tech/zeal60/keymaps/tusing/README.md b/keyboards/wilba_tech/zeal60/keymaps/tusing/README.md deleted file mode 100644 index 1fbd745742..0000000000 --- a/keyboards/wilba_tech/zeal60/keymaps/tusing/README.md +++ /dev/null | |||
| @@ -1,79 +0,0 @@ | |||
| 1 | # RGB Underglow Strip on the Zeal60: A Guide | ||
| 2 | |||
| 3 | <img src="https://i.imgur.com/UuUdOCb.jpg" width="800"> | ||
| 4 | |||
| 5 | ## Requirements | ||
| 6 | |||
| 7 | - WS2812B RGB strip, preferably 60 LEDs/meter | ||
| 8 | - Wire, solder | ||
| 9 | - Tape, hot glue, or some sort of adhesive | ||
| 10 | |||
| 11 | ## A. Connecting the strip | ||
| 12 | You might find the [**full PCB image**](https://cdn.shopify.com/s/files/1/0490/7329/files/zeal60jumpers.png) helpful. Ignore the red boxes! | ||
| 13 | |||
| 14 | 1. Connect V+ to the receiving end of the thermistor labeled F1; connect GND to the board's GND pin. (*Avoid connecting +V to the board's +5V pin* - you will likely overload the thermistor, and you will limit your maximum brightness.) | ||
| 15 | |||
| 16 | <img src="https://i.imgur.com/jd7qivh.png" width="300"> | ||
| 17 | |||
| 18 | 2. Connect DI to PB0. | ||
| 19 | |||
| 20 | <img src="https://i.imgur.com/BiMyMLv.jpg" width="300"> | ||
| 21 | |||
| 22 | 3. Should look something like this when finished: | ||
| 23 | |||
| 24 | <img src="https://i.imgur.com/ngxYMuA.jpg" width="600"> | ||
| 25 | |||
| 26 | *Optional:* To allow considerably more light to escape, consider angling the strip outwards by using some sort of fulcrum under the strip. (I used a thick wire.) | ||
| 27 | |||
| 28 | ## B. Enabling the strip | ||
| 29 | 1. If it is not present already, add the following to your ***keymap's*** ```Makefile```: | ||
| 30 | |||
| 31 | ```Makefile | ||
| 32 | RGBLIGHT_ENABLE = yes | ||
| 33 | AUDIO_ENABLE = no #Underglow animations cannot be used with audio. | ||
| 34 | ``` | ||
| 35 | 2. If it is not present already, add the following to your *keymap's* ```config.h```, and edit the values as necessary: | ||
| 36 | |||
| 37 | ```c | ||
| 38 | // Set up RGB underglow. | ||
| 39 | #define WS2812_DI_PIN B0 // The pin your RGB strip is wired to | ||
| 40 | #define RGBLED_NUM 35 // Number of LEDs | ||
| 41 | #define RGBLIGHT_HUE_STEP 5 // How much each press of rgb_hue changes hue | ||
| 42 | #define RGBLIGHT_SAT_STEP 10 // How much each press of rgb_sat changes sat | ||
| 43 | #define RGBLIGHT_VAL_STEP 10 // How much each press of rgb_val changes val | ||
| 44 | ``` | ||
| 45 | 3. If they are not present already, add the following keycodes to your keymap to control the RGB strip: ```RGB_TOG``` (on/off), ```RGB_MOD``` (step through modes), ```RGB_HUI```, ```RGB_HUD```, ```RGB_SAI```, ```RGB_SAD```, ```RGB_VAI```, ```RGB_VAD``` (HSV increase/decrease). Add these to your keymap. | ||
| 46 | |||
| 47 | ## C. Dealing with current limits | ||
| 48 | USB 2.0 ports on laptops provide up to 500mA max, but USB 3.0 ports can provide up to 900mA; USB 3.1 up to 1.5A; and powered USB hubs even more. We can run our keyboard at a higher brightness if we draw more power. **The Zeal60 uses 500mA at max brightness.** This means that **you have about 400mA remaining for the strip to use on a USB 3.0 port**; 1000mA free on a USB 3.1 port, so on and so forth. | ||
| 49 | |||
| 50 | ***Warning:*** **This means you will need to turn *off* your RGB strip before connecting to a USB 2.0 port**, as USB 2.0 cannot sustain the current necessary! | ||
| 51 | |||
| 52 | 1. If not present already, add the following to your keymap's ```config.h```. Change the numbers based on your needs. The ones below are safe underestimates. | ||
| 53 | |||
| 54 | ```c | ||
| 55 | // Enable current limiting for RGB underglow. | ||
| 56 | #define RGBSTRIP_CURRENT_LIMIT 400 // Strip current limit in mA. (USB amperage - 500mA for keyboard) | ||
| 57 | #define RGBSTRIP_MAX_CURRENT_PER_LIGHT 50 // mA per light when at max brightness. | ||
| 58 | ``` | ||
| 59 | *Example:* I use a USB port capable of providing 1800 mA. The keyboard uses 500mA, so my personal value (in the `tusing` keymap) for `RGBSTRIP_CURRENT_LIMIT` is 1300. The particular WS2812B RGB strip I have uses a maximum of 60 mA per LED, so that is my personal value for `RGBSTRIP_MAX_CURRENT_PER_LIGHT`. | ||
| 60 | 2. Toggle on the LED strip (```RGB_TOG```) and step through animations (```RGB_MOD```) to test it out! | ||
| 61 | |||
| 62 | ## D. Sources and resources | ||
| 63 | ### A. Connecting the strip. | ||
| 64 | * [In-depth description of connecting an RGB strip to the GH60](https://www.reddit.com/r/MechanicalKeyboards/comments/4d5or2/my_first_custom_build_satan_gh60_rbg_underglow_in/d1nz3o7/) | ||
| 65 | * [32U4 Pinout](https://40.media.tumblr.com/93b6bbd4113418c2b45459bb177e67c5/tumblr_mi49a20QMB1s5t695o1_1280.png) | ||
| 66 | * [Redditor describes connecting RGB strips on his Satan GH60](https://www.reddit.com/r/MechanicalKeyboards/comments/4hbjw4/finally_finished_my_satan_gh60_also_granite_o/d2qn8zx/?context=3) | ||
| 67 | * [Another Redditor on RGB with the Satan GH60](https://www.reddit.com/r/MechanicalKeyboards/comments/4ewzdx/gh60_satan_with_the_rgb_mod/d251uu6/ ) | ||
| 68 | |||
| 69 | ### B. Enabling the strip. | ||
| 70 | * [QMK Wiki portion on underglow](https://github.com/jackhumbert/qmk_firmware/wiki#rgb-under-glow-mod) | ||
| 71 | * [Planck ```Makefile```, ```config.h```, and ```keymap.c``` config example](https://github.com/jackhumbert/qmk_firmware/tree/master/keyboards/planck/keymaps/yang) | ||
| 72 | * [Video demonstrating keycode functions and RGB modes on a KC60](https://www.youtube.com/watch?v=VKrpPAHlisY) | ||
| 73 | |||
| 74 | ### C. Dealing with current limits. | ||
| 75 | * [Discussion of cutting jumpers and adding resistors to lower current from Zeal60](https://www.reddit.com/r/MechanicalKeyboards/comments/5hou92/photos_zeal60_lets_just_say_santa_came_early_this/db23qid/) | ||
| 76 | * [A selection of 900mA-1.5A current hold fuses - look for an SMD 0805-sized fuse.](https://goo.gl/748avG) | ||
| 77 | * [Video detailing technique to solder 0805 resistors](https://www.youtube.com/watch?v=PU7wLcuqc-I&t=123s&list=FLheMlKEVQ5cmVXazUt6HrxQ&index=2) | ||
| 78 | * [QMK feature request to implement max power draw limits in ```config.h```](https://github.com/jackhumbert/qmk_firmware/issues/954) | ||
| 79 | * [Commit enabling max power draw limits in ```config.h```](https://github.com/jackhumbert/qmk_firmware/commit/83e613ad239459582ae28f78b6c81535b9b138d7) | ||
diff --git a/keyboards/wilba_tech/zeal60/keymaps/tusing/config.h b/keyboards/wilba_tech/zeal60/keymaps/tusing/config.h deleted file mode 100644 index e797f81941..0000000000 --- a/keyboards/wilba_tech/zeal60/keymaps/tusing/config.h +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | /* Enable/disable LEDs based on layout. */ | ||
| 4 | #undef RGB_BACKLIGHT_USE_SPLIT_BACKSPACE | ||
| 5 | #define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 0 | ||
| 6 | |||
| 7 | #undef RGB_BACKLIGHT_USE_SPLIT_LEFT_SHIFT | ||
| 8 | #define RGB_BACKLIGHT_USE_SPLIT_LEFT_SHIFT 0 | ||
| 9 | |||
| 10 | #undef RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT | ||
| 11 | #define RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT 0 | ||
| 12 | |||
| 13 | #undef RGB_BACKLIGHT_USE_7U_SPACEBAR | ||
| 14 | #define RGB_BACKLIGHT_USE_7U_SPACEBAR 0 | ||
| 15 | |||
| 16 | #undef RGB_BACKLIGHT_USE_ISO_ENTER | ||
| 17 | #define RGB_BACKLIGHT_USE_ISO_ENTER 0 | ||
| 18 | |||
| 19 | #undef RGB_BACKLIGHT_DISABLE_HHKB_BLOCKER_LEDS | ||
| 20 | #define RGB_BACKLIGHT_DISABLE_HHKB_BLOCKER_LEDS 0 | ||
| 21 | |||
| 22 | // Set up RGB underglow. | ||
| 23 | #define WS2812_DI_PIN B0 // The pin your RGB strip is wired to | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 27 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 28 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 29 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 34 | #define RGBLED_NUM 35 // Number of LEDs | ||
| 35 | #define RGBLIGHT_HUE_STEP 5 // How much each press of rgb_hue changes hue | ||
| 36 | #define RGBLIGHT_SAT_STEP 10 // How much each press of rgb_sat changes sat | ||
| 37 | #define RGBLIGHT_VAL_STEP 10 // How much each press of rgb_val changes val | ||
| 38 | |||
| 39 | // Enable current limiting for RGB underglow. | ||
| 40 | #define RGBSTRIP_CURRENT_LIMIT 1300 // Strip current limit in mA. (USB amperage - 500mA for keyboard) | ||
| 41 | #define RGBSTRIP_MAX_CURRENT_PER_LIGHT 40 // mA per light when at max brightness. | ||
| 42 | |||
| 43 | // Scale brightnes according to BRIGHTNESS_CORRECTION_TABLE in quantum/rgblight.c. | ||
| 44 | // This allows to mitigate uneven brightness from LED underglow strips. | ||
| 45 | // #define LED_BRIGHTNESS_CORRECTION | ||
diff --git a/keyboards/wilba_tech/zeal60/keymaps/tusing/keymap.c b/keyboards/wilba_tech/zeal60/keymaps/tusing/keymap.c deleted file mode 100644 index 21cb2cd73f..0000000000 --- a/keyboards/wilba_tech/zeal60/keymaps/tusing/keymap.c +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | // Default layout for Zeal60 | ||
| 2 | #include QMK_KEYBOARD_H | ||
| 3 | |||
| 4 | // For readability. | ||
| 5 | #define _x_ KC_NO | ||
| 6 | #define AUD_PRV LCTL(KC_MPRV) // Previous music track | ||
| 7 | #define AUD_PLY LCTL(KC_MPLY) // Pause music | ||
| 8 | #define AUD_NXT LCTL(KC_MNXT) // Next music track | ||
| 9 | |||
| 10 | // Zeal60-specific keys: | ||
| 11 | // EF_INC, EF_DEC, // next/previous backlight effect | ||
| 12 | // H1_INC, H1_DEC, // Color 1 hue increase/decrease | ||
| 13 | // S1_INC, S1_DEC, // Color 1 saturation increase/decrease | ||
| 14 | // H2_INC, H2_DEC, // Color 2 hue increase/decrease | ||
| 15 | // S2_INC, S2_DEC, // Color 2 saturation increase/decrease | ||
| 16 | // BR_INC, BR_DEC, // backlight brightness increase/decrease | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | // Default layer: Pressing caps-lock momentarily switches to Layer 1. | ||
| 20 | // This is the default layer. Pressing an empty keycode on another layer will take you here. | ||
| 21 | [0] = { | ||
| 22 | {KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC}, | ||
| 23 | {KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS}, | ||
| 24 | {MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, _x_ }, | ||
| 25 | {KC_LSFT, _x_ , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, _x_ }, | ||
| 26 | {KC_LCTL, KC_LGUI, KC_LALT, _x_ , _x_ , _x_ , _x_ , KC_SPC, _x_ , _x_ , KC_LEFT, KC_UP, KC_DOWN, KC_RGHT} | ||
| 27 | }, | ||
| 28 | |||
| 29 | // Layer 1: Pressing enter switches to layer 2, where backlight controls live. | ||
| 30 | // This is a momentary layer: once you let go of caps, you'll be back in layer 1. | ||
| 31 | [1] = { | ||
| 32 | {KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL }, | ||
| 33 | {_______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_INS, KC_DEL, _______}, | ||
| 34 | {_______, AUD_PRV, AUD_PLY, AUD_NXT, _______, _______, _______, _______, _______, _______, _______, _______, TO(2) , _x_ }, | ||
| 35 | {KC_CAPS, _x_ , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _x_ }, | ||
| 36 | {KC_RCTL, KC_RGUI, KC_RALT, _x_ , _x_ , _x_ , _x_ , _______, _x_ , _x_ , KC_HOME, KC_PGUP, KC_PGDN, KC_END} | ||
| 37 | }, | ||
| 38 | |||
| 39 | // Layer 2: Zeal60 and backlight configuration. (Get here quickly by pressing Caps+Enter from Layer 1.) | ||
| 40 | // This is a persistent layer. Get back to the default layer by pressing enter. | ||
| 41 | [2] = { | ||
| 42 | {QK_BOOT, EF_DEC, EF_INC, BR_DEC, BR_INC, ES_DEC, ES_INC, _______, _______, _______, _______, _______, _______, _______}, | ||
| 43 | {_______, H1_DEC, H1_INC, S1_DEC, S1_INC, _______, _______, _______, _______, _______, _______, _______, _______, _______}, | ||
| 44 | {_______, H2_DEC, H2_INC, S2_DEC, S2_INC, _______, _______, _______, _______, _______, _______, _______, TO(0) , _x_ }, | ||
| 45 | {RGB_MOD, _x_ , RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _x_ }, | ||
| 46 | {RGB_TOG, RGB_VAD, RGB_VAI, _x_ , _x_ , _x_ , _x_ , _______, _x_ , _x_ , _______, _______, _______, _______} | ||
| 47 | } | ||
| 48 | }; | ||
diff --git a/keyboards/wilba_tech/zeal60/keymaps/tusing/rules.mk b/keyboards/wilba_tech/zeal60/keymaps/tusing/rules.mk deleted file mode 100644 index 762905da03..0000000000 --- a/keyboards/wilba_tech/zeal60/keymaps/tusing/rules.mk +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 3 | # the appropriate keymap folder that will get included automatically | ||
| 4 | # | ||
| 5 | RGBLIGHT_ENABLE = yes | ||
| 6 | AUDIO_ENABLE = no # Underglow cannot be used with audio. | ||
