Mouse cursor for interaction with CircuitPython UI elements
MIT License
Bot releases are visible (Hide)
Published by evaherrada almost 4 years ago
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
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.
Published by evaherrada over 4 years ago
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.
Published by evaherrada over 4 years ago
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.
Published by FoamyGuy over 4 years ago
We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
.pylintrc
file to match Adafruit standardFor more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black
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.
Published by evaherrada over 4 years ago
This release includes:
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.
Published by brentru about 5 years ago
AttributeError: 'CursorManager' object has no attribute '_joystick_x'
error with PyBadge.Read the docs for info on how to use it.
Published by brentru about 5 years ago
This release fixes an issue where the cursor drifts off the screen. The CursorManager now calibrates the joystick during initialization. https://github.com/adafruit/Adafruit_CircuitPython_CursorControl/issues/4
Read the docs for info on how to use it.
Published by brentru over 5 years ago
This release fixes an issue where initializing a default cursor would throw an Unsupported Bitmap Type
error. https://github.com/adafruit/Adafruit_CircuitPython_CursorControl/pull/9
Read the docs for info on how to use it.
Published by ladyada over 5 years ago
You can now change from the default cursor if you want a custom one!
Read the docs for info on how to use it.
Published by brentru over 5 years ago
BREAKING CHANGE: .hide
property has been renamed to .hidden
.
.hide
changed to .hidden
, thanks @dastels
.hide
) or visible (.show
) instead of toggling.code.py
and provided to the CursorControl
constructor), thanks @dastels
Read the docs for info on how to use it.
Published by brentru over 5 years ago
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 @dastelsCursorManager
, thanks @dastelsRead the docs for info on how to use it.
Published by brentru over 5 years ago
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.