Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I can't seem to record directional pad button press on my controller for states, all the other buttons seem to work fine. Looking my controller settings, it seems that the dpad is read as the Point of View Hat (I'm pressing up on the dpad here) and not as a numbered button, which might be the reason why.

I'm using a PS4 controller if it matters, I also tried with a 360 controller and that also reads the dpad as point of view hat

This is true, as a strange quirk of SFML, the dpad is recorded as an axis.

This means that if you disable axis inputs, you won't be able to record it as a hotkey.

If you haven't disabled axis inputs, they should all be working?

Ah ok, That probably would work, my controller seems to have a tiny amount of joystick drift, so when I try to record without disabled axis input, it immediately records the joystick. I may just need to look into a different controller or do some maintenance. Thank you for the help, I appreciate it!

Actually I was able to record dpad, I just had to have directional button pressed before I hit record. Thanks again for the advice!