Thanks, this worked for me!
Although now I have an issue, which is that for some reason the D-Pad isn’t being properly recognized. Up, Right, and Down all belong to the same axis for some reason, and Left is not recognized at all.
Has anyone resolved this?