You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
Markdown
55 lines
1.5 KiB
Markdown
# remarkable_mouse
|
|
|
|
Use your reMarkable as a graphics tablet.
|
|
|
|
Special thanks to [canselcik](https://github.com/canselcik/libremarkable) and [LinusCDE](https://github.com/LinusCDE/rmWacomToMouse) for inspiration.
|
|
|
|
<img src="photo.jpg" width=500>
|
|
|
|
# Quick Start
|
|
|
|
On the host machine
|
|
|
|
``` bash
|
|
pip install remarkable-mouse
|
|
remouse
|
|
```
|
|
|
|
By default, `10.11.99.1` is used as the address. Seems to work pretty well wirelessly, too.
|
|
|
|
# Examples
|
|
|
|
specify address, monitor, orientation, password
|
|
|
|
``` bash
|
|
remouse --address 192.168.1.1 --orientation right --monitor 1 --password foobar
|
|
```
|
|
passwordless login
|
|
|
|
``` bash
|
|
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] [--orientation {vertical,left,right}]
|
|
[--monitor NUM] [--threshold THRESHOLD] [--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
|
|
--orientation {vertical,left,right}
|
|
--monitor NUM monitor to use
|
|
--threshold THRESHOLD
|
|
stylus pressure threshold (default 1000)
|
|
--evdev use evdev to support pen tilt (requires root, no OSX
|
|
support)
|