Maskdrop: A RGB bitmask generator for the Massdrop Alt

Instructions / Background

Do you want to know more? (expand explanation)

To use this page, click on a set of buttons in the table below to define a region of keys you want to share a common color, and then add the ranges to as line in your led_instruction_t set in keymap.c.

QMK uses a bitmask to define subsets of keys to apply RGB effects to. An example of this is found here. The problem becomes that this is not a straightforward thing to calculate. You can use the Configurator, but that doesn't expose access to more customized colors and features that only a custom QMK configuration can provide.

To use this page, click on a set of buttons in the table below to define a region of keys you want to share a common color, and then add the ranges to as line in your led_instruction_t set in keymap.c.

The below example will set your home keys (ASDFJKL;) to be green:

 {.flags = LED_FLAG_MATCH_LAYER | LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .layer = 0, .id0 = 2147483648, .id1 = 487, .r = 0, .g = 255, .b = 0},

Massdrop Alt Layout:

Reset layout

Generated bitmask string:

.id0 =
0,
.id1 =
0,
.id2 =
0,
.id3 =
0,

Disclaimers, licenses, and et cetera: