adafruit / Adafruit_CircuitPython_HID

USB Human Interface Device drivers.
MIT License
377 stars 105 forks source link

keyboard.py: allow 'import usb_hid' to fail #128

Closed dhalbert closed 2 months ago

dhalbert commented 2 months ago

keyboard.py unconditionally did import usb_hid. This was not necessary and prevented its being used on BLE-only boards. Thanks @ozzloy in discord for finding this.