summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorshela <shela.weblog@gmail.com>2016-08-12 20:38:26 +0900
committershela <shela.weblog@gmail.com>2016-08-12 20:38:26 +0900
commite692ebf86a962e90c51302e7b17a953ea2858f79 (patch)
tree66e0bf536692e722f6c7b819684e7e740b2e51fa /quantum
parent97cd7afc3272efb4fecf5ff85548cbeabe683431 (diff)
fix typo
Diffstat (limited to 'quantum')
-rw-r--r--quantum/keymap.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h
index a158651839..f2d94d75c3 100644
--- a/quantum/keymap.h
+++ b/quantum/keymap.h
@@ -156,16 +156,16 @@ enum quantum_keycodes {
BL_INC,
BL_TOGG,
BL_STEP,
-
- // RGB functionality
- RGB_TOG,
- RGB_MOD,
- RGB_HUI,
- RGB_HUD,
- RGB_SAI,
- RGB_SAD,
- RGB_VAI,
- RGB_VAD,
+
+ // RGB functionality
+ RGB_TOG,
+ RGB_MOD,
+ RGB_HUI,
+ RGB_HUD,
+ RGB_SAI,
+ RGB_SAD,
+ RGB_VAI,
+ RGB_VAD,
// Left shift, open paren
KC_LSPO,
@@ -309,7 +309,7 @@ enum quantum_keycodes {
#define OSL(layer) (layer | QK_ONE_SHOT_LAYER)
// One-shot mod
-#define OSM(layer) (layer | QK_ONE_SHOT_MOD)
+#define OSM(mod) (mod | QK_ONE_SHOT_MOD)
// M-od, T-ap - 256 keycode max
#define MT(mod, kc) (kc | QK_MOD_TAP | ((mod & 0xF) << 8))