Skip to content

Releases: adafruit/Adafruit_CircuitPython_HID

Explicit devices

07 Jan 22:11
2d1dce6
Compare
Choose a tag to compare

The HID objects now take a list of HID devices available and match themselves to the correct device. Previously, USB HID devices were used implicitly. Now, BLE HID devices can be used in place of USB HID.

Existing code will need to import usb_hid and pass in usb_hid.devices into the constructor of the object. For example keyboard = Keyboard() becomes keyboard = Keyboard(usb_hid.devices).

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Update example file names

18 Nov 21:57
a23b805
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Add adafruit_hid.__version__

21 Jun 21:24
89faee0
Compare
Choose a tag to compare
  • Add standard __version__ and __repo__ to __init__.py, so we can identify the library version easily when it's frozen.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Mouse Update

23 May 18:27
c9e0785
Compare
Choose a tag to compare
  • Fix negative mouse moves for CP 4.x and above.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Small fix

20 Mar 22:06
836bb98
Compare
Choose a tag to compare
  • Correct struct format to correct signed-ness.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Update Travis Badge In Readme

16 Jan 02:21
dbfabac
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Add ConsumerControlCode.MUTE

27 Nov 17:32
c464c2f
Compare
Choose a tag to compare
  • Add ConsumerControlCode.MUTE.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Add Keycodes COMMAND, OPTION, and WINDOWS

01 Nov 17:47
f5e70e0
Compare
Choose a tag to compare

Add Keycode names that correspond to Mac and Windows keyboard labels, for more obvious use without having to refer to the documentation.

  • Add Keycode.WINDOWS and Keycode.COMMAND as aliases for Keycode.GUI.
  • Add Keycode.OPTION as alias for Keycode.ALT.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Now on PyPi!

09 Aug 16:02
99c71a6
Compare
Choose a tag to compare
  • Added setup.py
  • Added PyPI release info to .travis.yml
  • Updated requirements.txt
  • Added a more comprehensive .gitignore

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-hid.

Read the docs for info on how to use it.

Fix documentation build

07 Jun 16:35
5c2f6ef
Compare
Choose a tag to compare

Consumer control and gamepad documentation was missing from api.rst.

To use in CircuitPython, download the .mpy file and copy it to the lib folder on the CIRCUITPY drive. Or, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.