I'm doing some experiments with large numbers of buttons and axes and found an issue with the Joystick.hat() method.

Original code:


inline void hat(unsigned int num, int angle) {
uint32_t...