https://github.com/shymega/aimu
Userspace IMU-assisted aiming for Linux.
https://github.com/shymega/aimu
Last synced: 6 months ago
JSON representation
Userspace IMU-assisted aiming for Linux.
- Host: GitHub
- URL: https://github.com/shymega/aimu
- Owner: shymega
- License: mit
- Created: 2024-08-03T15:41:13.000Z (almost 2 years ago)
- Default Branch: add-error-handling
- Last Pushed: 2024-08-03T22:42:46.000Z (almost 2 years ago)
- Last Synced: 2025-03-09T16:14:32.408Z (over 1 year ago)
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AIMU
- Userspace IMU-assisted aiming for Linux.
- Maps gyro-motion to virtual mouse movements.
- Accounts for angle between screen and keyboard (configurable in code).
## Win Max 2 branch support
|2022 / BMI160| 2023 / BMI260|
|---|---|
|`master` |`bmi260`|
## Usage
1. Disable `bmi160_i2c` and `bmi160_core` kernel modules.
1. Enable `i2c_dev` kernel module.
1. Add user to `i2c` group.
1. Tweak `gyr_scale`, `update_freq`, `scr_angle` to taste.
1. ```shell
cargo build
cargo run
```
## TODO
- Virtual gamepad/joystick
- Configuration file and argument parsing
## Aknowledgements
- [https://github.com/JibbSmart/GamepadMotionHelpers](https://github.com/JibbSmart/GamepadMotionHelpers)
- [https://github.com/qrasmont/bmi270](https://github.com/qrasmont/bmi270)