Previously, this was assigning the int pointer arguments to the SDL hat state without first dereferencing them. This should fix that, as well as fixing compilation with Clang as it was complaining about pointer to int conversions.
My apologies, I've accidentally committed some whitespace trims (I thought I configured my workspace settings not to do this!), will close and resubmit.
Previously, this was assigning the int pointer arguments to the SDL hat state without first dereferencing them. This should fix that, as well as fixing compilation with Clang as it was complaining about pointer to int conversions.