T-vK / ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
2.28k stars 379 forks source link

Preventing collissions #253

Open vladimir-aubrecht opened 10 months ago

vladimir-aubrecht commented 10 months ago

Hi, I hit several times collision with other libraries in 2 aspects:

To fix it, I moved KeyCodes into separate file as they are not needed in main file and use can control what they want to use this way. And for KeyReport I renamed it (gave it prefix).

This allows to use library with other USB HID libraries. I can make adjustments to my changes if you have better idea how to approach it :)

vladimir-aubrecht commented 8 months ago

@T-vK do you think it would be possible to merge this PR? 😊