]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/orthodox/rev3/config.h
Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955)
[qmk_firmware.git] / keyboards / orthodox / rev3 / config.h
index 2e4018e91bfd7f65ff6f0c8e0248aff85985abc2..d727ae674b469d1a32270850a0260b5cc54ecb32 100644 (file)
@@ -70,7 +70,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* key combination for command */
 #define IS_COMMAND() ( \
-    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LGUI)) \
+    get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LGUI)) \
 )
 
 /* ws2812 RGB LED */