https://github.com/calbabreaker/mouse-con
Make a virtual controller using mouse and keyboard controls.
https://github.com/calbabreaker/mouse-con
Last synced: 11 months ago
JSON representation
Make a virtual controller using mouse and keyboard controls.
- Host: GitHub
- URL: https://github.com/calbabreaker/mouse-con
- Owner: Calbabreaker
- License: mit
- Created: 2024-11-05T11:27:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T05:10:53.000Z (over 1 year ago)
- Last Synced: 2025-03-24T13:45:57.054Z (over 1 year ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linux Mouse + Keyboard Virtual Controller
Note: Wayland is not supported.
Make sure the uinput kernel module is loaded:
```
sudo modprobe uinput
```
The script must have access to /dev/uinput so do this to make and add yourself to the uinput group:
```
sudo groupadd uinput
sudo usermod -aG uinput "$USER"
sudo chmod g+rw /dev/uinput
sudo chgrp uinput /dev/uinput
```
This script will try to use xbanish to hide the cursor.
If you don't have xbanish, make sure to hide the cursor in the app.