Skip to content

Releases: adafruit/Adafruit_CircuitPython_HID

Add Keycodes COMMAND, OPTION, and WINDOWS

01 Nov 17:47
f5e70e0

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

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

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.

Handle 16-bit ConsumerControl codes

01 Jun 13:50
1da880c

Choose a tag to compare

ConsumerControl was not passing 16-bit codes properly. Thanks @zeevro!

Check for Gamepad or ConsumerControl being used on CPy < 3.0

22 May 16:57
058c945

Choose a tag to compare

Merge pull request #21 from zzsnzmn/check_circuitpython_version

Raise ImportError if using CircuitPython < 3.

HID Gamepad support

26 Apr 19:46
90e4ca9

Choose a tag to compare

For use with gamepad support in CircuitPython 3.0.0-alpha.6.

Fix regression on Mouse.click() and other Mouse button functions.

15 Apr 01:06
d57218e

Choose a tag to compare

Merge pull request #16 from dhalbert/fix_mouse_no_move

Fix Mouse bug introduced in 3.0.0

Multimedia keys (ConsumerControl); Keyboard.send(); wait for host to be ready

09 Apr 13:08
167e101

Choose a tag to compare

  1. Added ConsumerControl and ConsumerControlCode to send multimedia control requests, such as volume up/down, play/pause, etc. Many keyboards have these keys. Supported only in CircuitPython 3.0 and up.

  2. Added the convenience method Keyboard.send(...), which combines Keyboard.press(...) and Keyboard.release_all().

  3. When main.py starts, the host may not yet have configured the HID devices. Wait for an extra second if necessary to ensure the host is ready (see issue #13).

Added an examples folder and two example .py files.

18 Jan 18:25
48b707a

Choose a tag to compare

Merge pull request #9 from Sigafoos/examples

Added examples for keyboard shortcuts and a mouse scrollwheel

Updated with lint and autobundling!

16 Dec 22:58
1fdb20b

Choose a tag to compare

Thanks to @mrmcwethy for the great work!