Skip to content

Releases: adafruit/Adafruit_CircuitPython_HID

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.

Handle 16-bit ConsumerControl codes

01 Jun 13:50
1da880c
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Thanks to @mrmcwethy for the great work!

Fix documentation; add Keycode.SPACE

15 Aug 17:19
Compare
Choose a tag to compare

Fixes issue #6. Some Keycodes were missing from the published documentation due to a sphinx configuration issue. Keycode.SPACE is added as an alias for Keycode.SPACEBAR.

1.0.0 @dhalbert rocks

29 Jun 20:51
Compare
Choose a tag to compare

Thanks to @dhalbert this library has been greatly improved. It now features a separate Keycode class along with improvements to the Mouse class.