A photo of Evan Pratten
Evan Pratten

Rainbow keyboard

Game-specific keyboard layouts are really handy

In my ever-continuing quest to do interesting things with custom keyboards, I recently had the idea to take the left half of my Ferris sweep and configure it specifically for use in the game Rainbow Six Siege.

This post isn’t much of a tutorial, just a showcase of the end result.

Movement

Actions

The code

The actual firmware file lives here. In short, the QMK layout definition behind this is as follows:

[_RAINBOW] = LAYOUT(
  KC_ESC,  KC_Q, KC_W, KC_E, KC_T,       KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
  KC_LSFT, KC_A, KC_S, KC_D, KC_G,       KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
  KC_LCTL, KC_Z, KC_X, KC_C, KC_V,       KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
                   KC_SPACE, KC_X,       KC_NO, KC_NO
)