-
Notifications
You must be signed in to change notification settings - Fork 4
add sensitivity property #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One q
I tested the new sensitivity parameter from this version of the library with my larsio_paint_music PR (adafruit/Adafruit_Learning_System_Guides#3122) and it seems to work fine. Edit: I also tested with the updates from the minesweeper PR (adafruit/Adafruit_Learning_System_Guides#3118) which works fine as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great -- thanks!
Updating https://github.com/adafruit/Adafruit_CircuitPython_FruitJam to 1.5.0 from 1.4.0: > Merge pull request adafruit/Adafruit_CircuitPython_FruitJam#23 from relic-se/peripherals-deinit Updating https://github.com/adafruit/Adafruit_CircuitPython_USB_Host_Mouse to 1.3.0 from 1.2.1: > Merge pull request adafruit/Adafruit_CircuitPython_USB_Host_Mouse#6 from FoamyGuy/sensitivity
Code using this library can set
mouse.sensitivity
to slow the mouse cursor movement down making it easier to aim more precisely. This is quite helpful for games or apps with very small targets to click on like Minesweeper.Originally discussed here: adafruit/Adafruit_Learning_System_Guides#3118
This PR also adds docstrings to some of the public API properties that were missing them.