Skip to content

use your reMarkable as a graphics tablet, includes pressure & tilt for windows

License

Notifications You must be signed in to change notification settings

DCS-87/remarkable_mouse_winpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remarkable_mouse with pressure and tilt for Windows

While using the excellent remarkable mouse from Evidlo I needed to have pressure sensitivity for Windows. I don't really know how to code but following the logic an through online searches came to a solution. It is probably not pretty, but it works and it also enables tilt in Windows by creating a virtual pen injection. Use the --pen flag to load this mode. Would be great of someone would take this, implement it correctly and create a tray tool out of it with some options (switch windows during usage for instance).

You can download a zip of this repo and install with 'pip install path-to-zip'.

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. Find your password in the reMarkable's settings menu. If you are on Linux using X11, you can use the --evdev option for pressure support.

To use the --region flag, you may need to install the python3-tk or python3-tkinter package with your package manager.

Examples

specify monitor, orientation, password

remouse --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

running with pressure sensitivity (Linux only)

sudo --preserve-env=USER,PATH env remouse --evdev

Usage

usage: remouse [-h] [--debug] [--key PATH] [--password PASSWORD] [--address ADDRESS] [--mode {fit,fill,stretch}] [--orientation {top,left,right,bottom}] [--monitor NUM] [--region] [--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,stretch}
                        Scale setting. Fit (default): take up the entire tablet, but not necessarily the entire monitor. Fill: take up the entire monitor, but not necessarily the entire tablet. Stretch:
                        take up both the entire tablet and monitor, but don't maintain aspect ratio.
  --orientation {top,left,right,bottom}
                        position of tablet buttons
  --monitor NUM         monitor to output to
  --region              Use a GUI to position the output area. Overrides --monitor
  --threshold THRESH    stylus pressure threshold (default 600)
  --evdev               use evdev to support pen pressure (requires root, Linux only)
  --pen                 use pen injection to support pen pressure (Windows only)

About

use your reMarkable as a graphics tablet, includes pressure & tilt for windows

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Makefile 0.4%