Hat Switch mode added for a B8 stick thumb joystick

While testing a stick for last two weeks, I honestly couldn’t find a use for analog axes on a thumb joystick of a B8 stick grip. But, from time to time I noticed that  I could use a regular hat switch instead. So I decided to add an option for that to a master sketch.

#define B8_POT_MODE “HAT_SW” // HAT_SW or ANALOG

HAT_SW is now a default option (as I believe most users will find this behaviour natural), but you can always change it back to ANALOG and get two 8-bit axes, e.g., for searchlight control or something like that.

Download an updated .ino file from GitHub.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.