vrising-camera
This Python script rotates the camera in V-Rising using the Q and E keys on Linux because the game doesn’t support bindings that rotate the camera. It uses uinput to emulate a right click and drag.
Usage
Your user must be part of the input group.
sudo usermod -aG input $USER
Log out/in, then run the script.
./vrising-cam.py
Options
| Flag | Meaning |
|---|---|
--speed N |
rotation speed in relative X units per second (default 2000) |
--tick-ms N |
milliseconds between motion ticks (default 1.0; lower = smoother, higher = lighter) |
--ease SECONDS |
ramp speed up over SECONDS on press and decay on release (0 = off; try 0.15) |
--invert |
swap the rotation direction of Q and E |
-v, --verbose |
log key presses/releases, RMB injection, measured motion rate |
--test-rmb [SECONDS] |
self-test: hold the injected RMB for SECONDS (default 3) and read events back from the kernel; no keyboard needed |
--check |
show detected keyboards, uinput and grab status, then exit |
