Releases: adafruit/Adafruit_CircuitPython_CursorControl
2.1.4 - Changed CI from Travis to GitHub Actions
This release includes:
- Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-cursorcontrol
.
Read the docs for info on how to use it.
Fix PyBadge AttributeError
- Fixes
AttributeError: 'CursorManager' object has no attribute '_joystick_x'
error with PyBadge.
Read the docs for info on how to use it.
Fix Cursor Drift
Fix Unsupported Bitmap Type
Add cursor bitmap property
You can now change from the default cursor if you want a custom one!
Read the docs for info on how to use it.
BREAKING RELEASE: Custom Cursor Support, Hidden Property
BREAKING CHANGE: .hide
property has been renamed to .hidden
.
.hide
changed to.hidden
, thanks @dastels- Cursor behavior modified to explicitly define when the cursor is hidden (
.hide
) or visible (.show
) instead of toggling.
- Cursor behavior modified to explicitly define when the cursor is hidden (
- Added custom cursor support (bitmaps can be defined in
code.py
and provided to theCursorControl
constructor), thanks @dastels
Read the docs for info on how to use it.
Adding a DebouncedCursorManager
- Added
DebouncedCursorManager
class: This subclass provide a debounced (non-raw) version on the A button and provides queries for when the button is just pressed, and just released, as well it's current state. "Just" in this context means "since the previous call to update. Utilizes the CircuitPython_Debouncer library. Thanks @dastels - Bug fixed in
CursorManager
, thanks @dastels
Read the docs for info on how to use it.
CircuitPython_CursorControl - Initial Release!
This library adds a Cursor
class for generating, displaying, and moving a mouse cursor on a CircuitPython device's display.
Hardware-based control is within a CursorManager
class and adds moving the Cursor
using either a D-Pad (buttons) or a Joystick (analog potentiometers), and "clicking" the mouse.
Read the docs for info on how to use it.