For this #screenshotsaturday I re-implemented mouse input and widget including properly handling deadzone and mapping x/y coordinates to a circle

... okay it's not that exciting BUT IT WAS A LOT OF WORK DAMNIT

This was an incredible resource for the deadzone stuff, it's more complicated that it sounds!

https://www.gamedeveloper.com/disciplines/doing-thumbstick-dead-zones-right

Doing Thumbstick Dead Zones Right

Thumbstick dead zones are a subtle thing, but handling them incorrectly can make your game feel awkward or broken. Here are some simple techniques I’ve learned over the last six years working on major PS3 titles Warhawk and Starhawk.

Game Developer