core: Fix media/consumer keys
This commit is contained in:
parent
6527e1d98a
commit
24cee117d0
@ -142,7 +142,7 @@ static action_t keycode_to_action(uint8_t keycode)
|
|||||||
case KC_SYSTEM_POWER ... KC_SYSTEM_WAKE:
|
case KC_SYSTEM_POWER ... KC_SYSTEM_WAKE:
|
||||||
action.code = ACTION_USAGE_SYSTEM(KEYCODE2SYSTEM(keycode));
|
action.code = ACTION_USAGE_SYSTEM(KEYCODE2SYSTEM(keycode));
|
||||||
break;
|
break;
|
||||||
case KC_AUDIO_MUTE ... KC_MEDIA_REWIND:
|
case KC_AUDIO_MUTE ... KC_WWW_FAVORITES:
|
||||||
action.code = ACTION_USAGE_CONSUMER(KEYCODE2CONSUMER(keycode));
|
action.code = ACTION_USAGE_CONSUMER(KEYCODE2CONSUMER(keycode));
|
||||||
break;
|
break;
|
||||||
case KC_MS_UP ... KC_MS_ACCEL2:
|
case KC_MS_UP ... KC_MS_ACCEL2:
|
||||||
|
Loading…
Reference in New Issue
Block a user