Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyd3r/remote-touchpad
This tool provides a web interface to control your computer's mouse. Simply open the web page on your phone!
https://github.com/cyd3r/remote-touchpad
phone remote touchpad
Last synced: about 11 hours ago
JSON representation
This tool provides a web interface to control your computer's mouse. Simply open the web page on your phone!
- Host: GitHub
- URL: https://github.com/cyd3r/remote-touchpad
- Owner: cyd3r
- Created: 2019-07-28T17:38:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T19:06:10.000Z (5 months ago)
- Last Synced: 2024-05-28T04:39:30.103Z (5 months ago)
- Topics: phone, remote, touchpad
- Language: JavaScript
- Homepage:
- Size: 192 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Remote Touchpad
This tool provides a web interface to control your computer's mouse. Simply open the web page on your phone!
Uses [hammer.js](https://hammerjs.github.io/) for detecting touch gestures and [RobotJS](http://robotjs.io/) to control the computer.
## Build instructions
Run `yarn` to install the required dependencies.
If there are issues using RobotJS, take a look here: http://robotjs.io/docs/building
## Run the server
Run this to start the server:
```
yarn start
```A web server will listen to port 3000 and will serve a web page to control your computer's mouse. The wep page is designed for touchscreen devices.
## API
### POST `/move`
- `deltaX`: number
- `deltaY`: number### POST `/click`
- `button`: string
### POST `/scroll`
- `deltaX`: number
- `deltaY`: number## TODO
- authentification
- performance improvements
- make ports configurable## Frontend
- Touchpad Field
- Settings