|
|
5 years ago | |
|---|---|---|
| remarkable_mouse | 5 years ago | |
| .gitignore | 7 years ago | |
| LICENSE | 5 years ago | |
| Makefile | 6 years ago | |
| README.md | 5 years ago | |
| photo.gif | 6 years ago | |
| photo.jpg | 7 years ago | |
| setup.py | 6 years ago | |
README.md
forked from Evidlo
This adds touchpad functionality, so it is possible to make relative mouse movements with fingers on the touchscreen while it is still possible to use the stylus for absolute mouse movement.
this is more like a quick hack, so there are probably many possiblitys for improvements.
When doing slow movements, the mouse seems to stutter a bit (fine when moving faster). Have not looked into what is causing that...
remarkable_mouse
Use your reMarkable as a graphics tablet.
Special thanks to canselcik and LinusCDE for inspiration.
Quick Start
On the host machine with the tablet plugged in via USB:
pip install remarkable-mouse
remouse
By default, 10.11.99.1 is used as the address. Seems to work pretty well wirelessly, too. By default ssh-agent is used to authenticate if it is available, otherwise you are asked for your password.
Examples
specify address, monitor, orientation, password
remouse --address 192.168.1.1 --orientation right --mode fit --monitor 1 --password foobar
passwordless login
ssh-keygen -m PEM -t rsa -f ~/.ssh/remarkable -N ''
ssh-copy-id -i ~/.ssh/remarkable.pub root@10.11.99.1
remouse --key ~/.ssh/remarkable
Usage
usage: remouse [-h] [--debug] [--key PATH] [--password PASSWORD]
[--address ADDRESS] [--mode {fit,fill}]
[--orientation {top,left,right,bottom}] [--monitor NUM]
[--threshold THRESH] [--evdev]
use reMarkable tablet as a mouse input
optional arguments:
-h, --help show this help message and exit
--debug enable debug messages
--key PATH ssh private key
--password PASSWORD ssh password
--address ADDRESS device address
--mode {fit,fill} scale setting
--orientation {top,left,right,bottom}
position of tablet buttons
--monitor NUM monitor to output to
--threshold THRESH stylus pressure threshold (default 600)
--evdev use evdev to support pen pressure (requires root,
Linux only)