Skip to content

Instantly share code, notes, and snippets.

View DavidRambo's full-sized avatar

David Rambo DavidRambo

View GitHub Profile
@DavidRambo
DavidRambo / shift_caps_word_fn.c
Created July 5, 2022 21:30
identical code works in one keyboard, not in another
enum custom_keycodes {
PLACEHOLDER = SAFE_RANGE,
SET_RGB,
SFT_CAPS,
};
#define SftCap TD(SFT_CAPS)
// SftCap is in my keymap matrix
#include "planck.h"
//alias for clarity in layering
#define _______ KC_TRNS
#define A_BSPC LALT(KC_BSPC)
#define A_LEFT LALT(KC_LEFT)
#define A_RGHT LALT(KC_RGHT)
#define C_TAB LCTL(KC_TAB)
#define GSL LGUI(S(KC_LEFT))
#define GSR LGUI(S(KC_RGHT))
@DavidRambo
DavidRambo / Iris_rambo_keymap.c
Last active February 25, 2021 00:17
Iris QMK keymap 2/3/18
#include "iris.h"
#include "action_layer.h"
#include "eeconfig.h"
extern keymap_config_t keymap_config;
//keycode shorthands
#define KC____ KC_TRNS
#define KC_SYM MO(3)
#define KC_MAC TO(0)
@DavidRambo
DavidRambo / keymap.c
Last active October 7, 2017 13:40
rambo keymap
#include "planck.h" // This is in ../qmk_firmware/keyboards/planck
//alias for clarity in layering
#define _______ KC_TRNS
#define _COLEMAK 0
#define _SYMBOL 1
//tapdance declarations
enum {