Releases: adafruit/Adafruit_CircuitPython_CursorControl
Releases · adafruit/Adafruit_CircuitPython_CursorControl
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.