Yeah, but this might be a problem with direct input itself and not the implementation.

Anyway... thinking about it, a simple workaround would be disabling the dpad's input on startup and only enabling it after the dpad is centered (joy_hat == -1)


POTATO-MAN saves the day! - Random