Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateuszdrab/pico-mouse-mover
CircuitPython based mouse mover/jiggler with REPL customization options
https://github.com/mateuszdrab/pico-mouse-mover
circuitpython mouse-jiggler mouse-mover pi-pico pico
Last synced: 23 days ago
JSON representation
CircuitPython based mouse mover/jiggler with REPL customization options
- Host: GitHub
- URL: https://github.com/mateuszdrab/pico-mouse-mover
- Owner: mateuszdrab
- Created: 2024-12-09T00:27:51.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-18T02:18:28.000Z (24 days ago)
- Last Synced: 2024-12-18T03:21:24.812Z (24 days ago)
- Topics: circuitpython, mouse-jiggler, mouse-mover, pi-pico, pico
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Simple Pi Pico USB Mouse Mover
Simple mouse mover which can be controlled from the REPL shell.
Each time the board is reset, the state of enablement of the mover will toggle.
I'm using it with the RP2040 USB-A development module from [AliExpress](https://www.aliexpress.com/item/1005006710298380.html) and I'm quite happy with the results so far
You can also change this manually in the REPL shell and the board will reboot:
```python
from ctrl import toggle_mouse_mover
toggle_mouse_mover()
```By default, USB storage is not presented unless booting in safe mode which can be entered by typing the below:
```python
from ctrl import safe_mode
safe_mode()
```To disable auto toggling of the mouse mover on reset, you can run the below:
```python
from ctrl import auto_toggle_mouse_mover
auto_toggle_mouse_mover(False)
```Set MOVE_INTERVAL and MOVE_STEP with the below code
Set reset=False to not reset the board after setting the values so you can set both at once```python
from ctrl import set_move_interval, set_move_step
set_move_interval(250) # 0.25 second in milliseconds
set_move_step(2) # 2 pixels at a time
```