takeru / Wiimote

Wiimote Bluetooth Connection Library for Arduino core for ESP32
MIT License
69 stars 16 forks source link

Add void * parameter to callback #4

Closed moefh closed 1 year ago

moefh commented 3 years ago

This is a very simple pull request to add a void * parameter to the callback function.

It's useful for people who need to update another object from the callback, and don't want to use globals.