Unity Input not registering numpad keys

I have added the key binding for inventory using numpad keys 1-5 but those keys don’t register when I press them. Therefore, the ToggleActiveSlot doesn’t get fired.
I’ve checked if my Num Lock was on/off, but it didn’t work either way.

If I change the keys to something else (like U, I, O, P…), it works and the ToggleActiveSlot correctly logs the value.

Does anybody know why this is happening?

There are two distinct selections for numbers, the numerical digit by itself is the 1 above the Q, 2 above the W, etc, In the old input system, this was known as KeyCode.Alpha1, Alpha2, etc.

These won’t fire with the numeric keypad.
The selection for the numeric keypad is the Numpad 1, Numpad 2, etc.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms