README.md and udev rule

This commit is contained in:
Denis 2023-11-12 20:13:12 +01:00
parent 0caa18704d
commit 13836a9deb
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
3 changed files with 5 additions and 1 deletions

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# ROGueENEMY
Collects ROG Ally input events to a single virtual controller in linux to allow the use of the gyroscope and every button.

View file

@ -5,7 +5,7 @@
// Emulates a "Generic" controller:
#define OUTPUT_DEV_NAME "ROGueENEMY"
#define OUTPUT_DEV_VENDOR_ID 0x108c
#define OUTPUT_DEV_PRODUCT_ID 0x0323
#define OUTPUT_DEV_PRODUCT_ID 0x0325
#define OUTPUT_DEV_VERSION 0x0111
/*

1
rogue_enemy.rule Normal file
View file

@ -0,0 +1 @@
ACTION=="add|change", KERNEL=="event[0-9]*", SUBSYSTEM=="input", ATTRS{id/vendor}=="108c", ATTRS{id/product}=="0325", MODE="0660", TAG+="uaccess"