dmadison / Sim-Racing-Arduino

A library to connect sim racing peripherals to Arduino development boards
GNU Lesser General Public License v3.0
65 stars 7 forks source link

Send handbrake position on change #4

Closed dmadison closed 2 years ago

dmadison commented 2 years ago

As a follow-up to #3, this limits the HandbrakeJoystick example so that it only sends positional data when the handbrake changes.

It also adds the positionChanged() function name to the Arduino IDE keywords map, which should have been included in the previous PR.