]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix media/consumer keys
authortmk <hasu@tmk-kbd.com>
Mon, 28 Mar 2016 21:58:58 +0000 (06:58 +0900)
committertmk <hasu@tmk-kbd.com>
Mon, 28 Mar 2016 21:58:58 +0000 (06:58 +0900)
tmk_core/common/keymap.c

index 134e01c20942451fe19edcd16c2db8ef32d651cd..25161748bd9cf3bc687be997fff148d7b99755e7 100644 (file)
@@ -142,7 +142,7 @@ static action_t keycode_to_action(uint8_t keycode)
         case KC_SYSTEM_POWER ... KC_SYSTEM_WAKE:
             action.code = ACTION_USAGE_SYSTEM(KEYCODE2SYSTEM(keycode));
             break;
         case KC_SYSTEM_POWER ... KC_SYSTEM_WAKE:
             action.code = ACTION_USAGE_SYSTEM(KEYCODE2SYSTEM(keycode));
             break;
-        case KC_AUDIO_MUTE ... KC_MEDIA_REWIND:
+        case KC_AUDIO_MUTE ... KC_WWW_FAVORITES:
             action.code = ACTION_USAGE_CONSUMER(KEYCODE2CONSUMER(keycode));
             break;
         case KC_MS_UP ... KC_MS_ACCEL2:
             action.code = ACTION_USAGE_CONSUMER(KEYCODE2CONSUMER(keycode));
             break;
         case KC_MS_UP ... KC_MS_ACCEL2: