Media control keys also trigger normal keyboard key inputs

Pressing media keys on a keyboard (mute/volume/skip/play/pause etc) will also send a corresponding letter key to UIS.

Mute > D
Volume Down > C
Volume Up > B
Previous Track > Q
Play/Pause > G
Next Track > P

Happens all the time, and while I don’t play very many games, two of the games I do play have actions bound to C and G and pressing the corresponding media button above will trigger those actions:
Bee Swarm Simulator
Phantom Forces

Not entirely sure when this started happening, lowering my volume has caused me to crouch in phantom forces for as long as I can remember.

Edit: Seems to be a Windows only issue.

18 Likes

Yes, I have noticed this.

If I spam my volume control key then the character will move as though I used the WASD keys.

Here’s a recording:

I think that because this is affecting movement we can assume that it affects the contextActionService too, as default move events are processed using that.

5 Likes

Can not reproduce. macOS High Sierra, Corsair K70 RGB keyboard using the CKB driver

2 Likes

What’s your keyboard layout?

Mine is British English on Windows (although I’m assuming that’s yours too, as you’re from the UK).

Could it be a windows problem?

2 Likes

Yes, I’m using macOSes UK - PC

2 Likes

Then, saying as it’s only occurred on two people running Windows, I think we could safely assume that it’s a problem with how Roblox interacts with windows and hardware on Windows.

3 Likes

This still happens, When playing roblox and turning down my volume or increasing it, It triggers the keys stated in the initial post. Holding mute makes me move to the right. I wonder why it still does it. Its been 2 years since this was initially reported.

5 Likes

can confirm this is happening to me on my new keyboard, Razer BlackWidow Elite

Studio reports the KeyCode as “Unknown”
In-Game reports it as the previously stated in the original post

image

8 Likes

I have noticed an update to this issue. The next track and previous track will not fire as a key. However, the pause key will still fire as the “G” key.

2 Likes

This happens to me too and it’s really annoying. I adjust my volume with my mouse very often and it always presses the C and B keys, which does stuff I don’t want depending on the experience.

4 Likes

Hey everyone, just wanted to circle back here (I know this is old). This should be resolved - anyone still having trouble?

3 Likes

Sorry for the lateish reply, I did not see this reply until now.

It looks like it is fixed now

1 Like

Wow, I experienced the same exact thing too, I thought it was a keyboard issue as I did touched it with wet hands then it malfunctioned for a few days then it came back to normal, but I ordered a replacement one it was a pain to install but it is working! but it still does that; F1 key makes me move to the right like I am hitting D key. So glad i am not alone or rather it’s not the the motherboard. Hehe. Thank you for showing that.
:computer: Lenovo ThinkPad L460

1 Like

It doesn’t seem to be fixed for me, my volume wheel is still triggering the B and C keys.

1 Like

It doesn’t seem to be resolved. The Volume buttons are still triggering B and C keys, in top of that the print key triggers shift.

:computer: Lenovo Idepad Slim 3

2 Likes

Thanks for the report, looking into it.

2 Likes

Any updates on this? The volume wheel on my mouse still triggers the C and B keys which is very inconvenient.

1 Like

Hello @music_man1996 @MetaVars,

This bug is still happening to me, the keys on my laptop are configured to function as Media Keys and not Function Keys from the BIOS itself, but pressing F10 for example makes me crouch/uncrouch on games in addition to reducing the volume, and pressing F9 makes me move to the left while also functioning as a sound mute/unmute key.

So basically even if you configure the keys to be as Media Keys only and not Function Keys, the Function Keys will still trigger in addition to the Media keys. This is only happening to me on Roblox.

2 Likes

This bug still happens and occurs on my laptop keyboard only, never external keyboards. This also only happens on the Roblox client and not Roblox Studio playtesting.

Mute key: causes me to go right (triggers D input)
Volume Up key: Triggers B input
Volume Down key: Triggers C input

Laptop: Lenovo ThinkPad T460s

4 Likes

(cc: @music_man1996)

ContextActionService, UserInputService, and Mouse.KeyDown are all affected by this bug.

I have made a repo place. It is uncopylocked. Look in StarterPlayer > StarterPlayerScripts > Input

Open the dev console, press volume up/volume down and watch the output.

This bug only occurs in a live game, not in studio.

It should be worth noting that I have also experienced this issue within other games as well, such as CoD: BO6.

1 Like