aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/keymap.h
diff options
context:
space:
mode:
authorGravatar shela <shela.weblog@gmail.com>2016-08-12 20:38:26 +0900
committerGravatar shela <shela.weblog@gmail.com>2016-08-12 20:38:26 +0900
commite692ebf86a962e90c51302e7b17a953ea2858f79 (patch)
tree66e0bf536692e722f6c7b819684e7e740b2e51fa /quantum/keymap.h
parent97cd7afc3272efb4fecf5ff85548cbeabe683431 (diff)
downloadqmk_firmware-e692ebf86a962e90c51302e7b17a953ea2858f79.tar.gz
fix typo
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r--quantum/keymap.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h
index a15865183..f2d94d75c 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))