{"id":13772042,"url":"https://github.com/LinusCDE/rmWacomToMouse","last_synced_at":"2025-05-11T04:31:07.116Z","repository":{"id":54280423,"uuid":"169694832","full_name":"LinusCDE/rmWacomToMouse","owner":"LinusCDE","description":"Using the pen input (wacom) of the reMarkable to move your mouse on a pc.","archived":false,"fork":false,"pushed_at":"2021-11-17T02:01:00.000Z","size":46,"stargazers_count":61,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-17T07:34:32.470Z","etag":null,"topics":["remarkable-tablet"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinusCDE.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-08T06:36:21.000Z","updated_at":"2024-10-10T06:21:28.000Z","dependencies_parsed_at":"2022-08-13T10:50:39.223Z","dependency_job_id":null,"html_url":"https://github.com/LinusCDE/rmWacomToMouse","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2FrmWacomToMouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2FrmWacomToMouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2FrmWacomToMouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2FrmWacomToMouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinusCDE","download_url":"https://codeload.github.com/LinusCDE/rmWacomToMouse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["remarkable-tablet"],"created_at":"2024-08-03T17:00:59.181Z","updated_at":"2025-05-11T04:31:06.082Z","avatar_url":"https://github.com/LinusCDE.png","language":"Python","funding_links":[],"categories":["Other"],"sub_categories":["Template Builders"],"readme":"# rmWacomToMouse\n\n[![rm1](https://img.shields.io/badge/rM1-supported-green)](https://remarkable.com/store/remarkable)\n[![rm2](https://img.shields.io/badge/rM2-supported-green)](https://remarkable.com/store/remarkable-2)\n[![opkg](https://img.shields.io/badge/OPKG-rmservewacominput-blue)](https://github.com/toltec-dev/toltec)\n[![launchers](https://img.shields.io/badge/Launchers-supported-green)](https://github.com/reHackable/awesome-reMarkable#launchers)\n[![Mentioned in Awesome reMarkable](https://awesome.re/mentioned-badge.svg)](https://github.com/reHackable/awesome-reMarkable)\n\n\n**DISCLAIMER: PROCEED ON YOUR OWN RISK.**\n\n[Demonstration here](https://youtu.be/R-BsDivpUQ0)\n\nThe linux tablet driver was [**moved here**](https://github.com/LinusCDE/rmTabletDriver).\n\n---\n\nThanks to [Evidlos implementation](https://github.com/Evidlo/remarkable_mouse) making it a lot easier to use. **Please also check out\nhis solution if you're interested in this software.**\n\n---\n\n## Concept\n\nThe basic concept:\n\n- A python script / c program reads the data of the wacom input (codes taken from [libremarkable](https://github.com/canselcik/libremarkable/blob/master/src/input/wacom.rs))\n- This script provides a server on port 33333 over usb and wifi\n- A client script on your pc reads the data from the server and acts accordingly.\n\n\nThis repository contains two components:\n\n - A server (on the reMarkable)\n   - Files that start with *rm*\n   - Has both a python as well as a c implementation\n- A client (on your computer)\n   - Files that start with *pc*\n\n\n## Setting it up\n\n### Server\n\nYou can either run the python version, the precompiled c binary or [compile it yourself](https://github.com/LinusCDE/rmWacomToMouse/blob/master/c_implementation/README.MD).\n\nThe easiest one is using the precompiled c binary.\n\n\n#### Using the precompiled c binary\n\n- Download the latest binary called `rmServeWacomInput` (without any extension) [here](https://github.com/LinusCDE/rmWacomToMouse/releases).\n- Copy the binary to your reMarkable using scp, FileZilla, WinSCP or similar software.\n- Open a ssh session with the device (Putty can be used on windows).\n- Execute the binary with `./rmServeWacomInput`\n  - If that fails ensure you are in the correct directory or run `chmod +x rmServeWacomInput` and try running it again\n\n\n#### Using the python script\n- Copy the `rmServeWacomInput.py` file to the device using scp, FileZilla, WinSCP or similar software.\n- Open a ssh session with the device (Putty can be used on windows).\n- Install [the entware package manager for the reMarkable](https://github.com/Evidlo/remarkable_entware)\n- To use it run `export PATH=\"${PATH}:/opt/bin/:/opt/sbin/\"` or put that into `~/.bashrc` to be permanent\n- Run `opkg install python3`\n- Run the script using `python3 rmServeWacomInput.py` or just `./rmServeWacomInput.py`\n\n\n### Client\n\n- Install python 3\n- Open a command prompt and run `pip3 install pynput`. If that fails try without the *3* in `pip3`.\n- Clone/Download this repository\n- Go into the directory of this repository using your command prompt\n- Ensure the server is already running as described above\n- Run one of the files beginning with `pc` using `python3` or `python` in front\n  - e.g. `python3 pcWacomToMouseTouchpad.py`\n\n\n## Configure\n\nBoth scripts can be edited with most text editors (don't use notepad on windows).\n\nChange the values in the config section to appropriate ones.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLinusCDE%2FrmWacomToMouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLinusCDE%2FrmWacomToMouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLinusCDE%2FrmWacomToMouse/lists"}