From 25c1ff0ba278421b8d85076b96d26b91b9ee7bf1 Mon Sep 17 00:00:00 2001 From: Carles Pastor Date: Sun, 14 Nov 2021 12:42:50 +0100 Subject: [PATCH] README enabling motion sensors on non-wii gamepads --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d38a720..9d61ac1 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,16 @@ This method isn't as accurate as passthrough, but it has much better hardware co It only requires ```bluez``` which is bundled with the flatpak, and ```allow=bluetooth``` which is enabled by default in the manifest. Coupled with the improved compatibility this means it should work outside the box for most users. +# How to enable motion controls on non-wii controllers + +Some popular controllers such as those on the nintendo switch and ps4/ps5 feature motion sensors that can be used to approximate some Wii remote features. + +Even though his bundle already ships with the necessary dependencies, depending on your distribution you may still need to manually add a udev rule to allow applications to access the motion sensors: + +```SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="*Motion Sensors", TAG+="uaccess"``` + +Fedora users should place this rule under ```/etc/udev/rules.d/```, it should also be the same in most other systems but it could also have slight variations from one distribution to another. + # Permissions used: ## device=all