Re:Round a direction vector to an 8-way compass
by bee_rider on Monday July 25, 2022 @04:45PM
(#32230667)
Is it possible to just ask... xinput or whatever joystick driver is used nowadays... to produce the cardinal or 8-compass directions? I guess it seems plausible, at least, that maybe for some controllers we could skip the whole conversion to/from a pair of floats thing, depending on what signals are sent down the USB pipe.
[ Parent
| on HN ]
There are no comments on this comment yet.