[UserInputService] Certain Keys Give Incorrect KeyCode

Edit: Blarg, I forgot to mention this is a studio only bug. Must of forgot to post it because I said it in the video.

Place I set up: Keyboard Viewer - Roblox

I figured I should write a new bug report rather than bump the old one without all the KeyCodes.

Here are the KeyCodes I found that did not act right.

(Registers on Client > Registers in Studio)
Enum.KeyCode.RightShift > Enum.KeyCode.LeftShift
Enum.KeyCode.RightAlt > Enum.KeyCode.LeftAlt
Enum.KeyCode.RightControl > Enum.KeyCode.LeftControl
Enum.KeyCode.KeypadDivide > Enum.KeyCode.Slash
Enum.KeyCode.KeypadMultiply > Enum.KeyCode.Asterisk
Enum.KeyCode.KeypadMinus > Enum.KeyCode.Minus
Enum.KeyCode.KeypadPlus > Enum.KeyCode.Plus
Enum.KeyCode.KeypadEnter > Enum.KeyCode.Return
Enum.KeyCode.KeypadPeriod > Enum.KeyCode.Delete
Enum.KeyCode.KeypadZero > Enum.KeyCode.Insert
Enum.KeyCode.KeypadOne > Enum.KeyCode.End
Enum.KeyCode.KeypadTwo > Enum.KeyCode.Down
Enum.KeyCode.KeypadThree > Enum.KeyCode.PageDown
Enum.KeyCode.KeypadFour > Enum.KeyCode.Left
Enum.KeyCode.KeypadFive > Enum.KeyCode.Unknown
Enum.KeyCode.KeypadSix > Enum.KeyCode.Right
Enum.KeyCode.KeypadSeven > Enum.KeyCode.Home
Enum.KeyCode.KeypadEight > Enum.KeyCode.Up
Enum.KeyCode.KeypadNine > Enum.KeyCode.PageDown

1 Like

I didn’t check all of them, but the KeyCodes I did try from your list acted fine for me (I tried about 10).

Are you testing ingame or in studio?

It’s only a problem in Studio (look at the forum it was posted in). It’s fine in-game.

I may or may not have forgotten to mention studio only. I must of forgotten after I said it in the video.
I was 100% aware this is only for studio myself. :stuck_out_tongue:

[quote] I may or may not have forgotten to mention studio only. I must of forgotten after I said it in the video.
I was 100% aware this is only for studio myself. :stuck_out_tongue: [/quote]

Oh, sorry. Didn’t check the thread’s forum or the video. My bad.