You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to keep ESP32-BLE-Keyboard compatible with the Keyboard library and now we're about to add support for retrieving the numlock, capslock and scrolllock states.
So I would like to agree on a set of methods that we try to implement in both libraries.
Would you be okay with a method called setLedChangeCallBack that would allow providing a callback function?
@per1234 I see you added the enhancement tag, but I wasn't making a feature request, I was asking if we could agree on how this feature would be implemented so that we can keep compatibility between our libraries.
Sorry, I thought there were 7 types. I was thinking it would be a better fit for question or help wanted, but it doesn't really matter to me, I was just making sure that we don't have a misunderstanding. ;)
I would like to keep ESP32-BLE-Keyboard compatible with the Keyboard library and now we're about to add support for retrieving the numlock, capslock and scrolllock states.
So I would like to agree on a set of methods that we try to implement in both libraries.
Would you be okay with a method called
setLedChangeCallBack
that would allow providing a callback function?E.g.
and 3 methods to retrieve the states of the lock keys manually without a callback:
e.g.
Maybe it would make more sense to use true/false instead of HIGH/LOW?
Or different names for the methods?
Just to clarify: I'm not asking you to actually implement this, I will try to do it once I find the time.
The text was updated successfully, but these errors were encountered: