Make :IsKeyDown() Work for Gamepad

I’ve had to make my own IsKeyDown() stuff to get around this since it only works for keyboard.

1 Like

every feature request should be in a sub-category :slight_smile: damn ninja’d again by the OP

That being said, yeah, this would be useful; I’m a bit surprised it doesn’t work this way already.

I want to bring this back up again because I walked into this problem today and it’s very annoying.

Gamepad buttons are by definition of the enum KeyCode. So if I check, for example :IsKeyDown(Enum.KeyCode.ButtonY) and I have that button pressed, it should return true, but it does not. If any gamepad that is plugged in has a KeyCode pressed, this method should return true for that KeyCode.

3 Likes