joyhat issues

BlitzPlus Forums/BlitzPlus Programming/joyhat issues

bloos_magoos(Posted 2014) [#1]
so im using an xbox controller for a projecr, and i want to use the dpad to navigate menus. the problem is, using joyhat just returns a number repeatedly based on the dpad being pressed, which is the equivalent of like a keydown kind of thing

whats a good way to make it return if the dpad button is pressed? where it only returns that it was pressed once, not held down? i dont want my menu to go crazy, just use the dpad like a joyhit type thing (i know that sounds stupid)

tl,dr: im looking for a way to return the dpad buttons as joyhits, in some way