1
0
Fork 0
qmk_firmware/keyboards/westfoxtrot/cypher/keymaps/kwer
kwerdenker 67ca9e0c85 [Keymap] Add kwer keymap and RGB mod description to cypher (#5479)
* Add kwer keymap and RGB mod description to cypher

* Add custom led_set_user to keymap

* Remove unneccessary include path from keyboards/westfoxtrot/cypher/keymaps/kwer/keymap.c

Co-Authored-By: kwerdenker <sebastian.spindler@gmail.com>
2019-03-27 10:39:23 -07:00
..
config.h [Keymap] Add kwer keymap and RGB mod description to cypher (#5479) 2019-03-27 10:39:23 -07:00
keymap.c [Keymap] Add kwer keymap and RGB mod description to cypher (#5479) 2019-03-27 10:39:23 -07:00
readme.md [Keymap] Add kwer keymap and RGB mod description to cypher (#5479) 2019-03-27 10:39:23 -07:00
rules.mk [Keymap] Add kwer keymap and RGB mod description to cypher (#5479) 2019-03-27 10:39:23 -07:00

The kwer keymap and RGB MOD for cypher

Hardware

To make this mod, all you need a piece of WS2812b RGB strip (I used one with 144 LEDs per meter, so it's rather dense), some wiring (I used 0.6mm solid core wire) and steady hands for soldering to the MCU pin.

Installed mod

As you can see, the wiring is relatively simple. VCC and GND can be easily accessed through the ISP header on the right side of the spacebar while the DATA line can be routed relatively easy through one of the stabilizer holes. While it isn't important where exactly you solder the VCC/GND wires to their respective lines on the strip, you have to keep the direction of the data line in mind. Most strip have arrows printed on them to show you in which direction the data is shifted through the LEDs and your should always solder your DATA line on the from side, as seen in the above picture.

Close-up for the VCC/GND connections

Since there is no pinout availble for the pin we're gonna use to control the strip, the line has to be soldered to the MCU directly. While this is not a very complex process, you should have a fine tipped soldering irong and a steady hand. Make sure you do not bridge any of the neighboring pins when soldering the wire to the MCU pin. As shown in the picture below, you want to connect the DATA line to the third pin from the right on the top of the controller chip.

Close-up for the DATA connection

Software

To enable your RGB strip in QMK, you have to add change/add the following lines

rules.mk

[...]
RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
[...]

config.h

[...]
#define RGB_DI_PIN F7
#define RGBLED_NUM 15        // Change this number to the amount of LEDs on the strip you soldered
#define RGBLIGHT_ANIMATIONS
[...]

To control the RGB color, animation, etc. you need to add the appropriate keycodes to your keymap. Either see my keymap or the official QMK documentation for references.