Re: [PATCH] xpad: expose xinput capabilities via sysattr
From: Dmitry Torokhov
Date: Tue Mar 03 2026 - 20:23:20 EST
Hi Sanjay,
On Wed, Mar 04, 2026 at 02:03:43PM +1300, Sanjay Govind wrote:
> Fetch xinput capabilities for x360 wired and wireless
> and then expose them via the following attributes:
>
> ATTRS{xpad/flags}=="3"
> ATTRS{xpad/gamepad_buttons}=="ffff"
> ATTRS{xpad/gamepad_lsx}=="0"
> ATTRS{xpad/gamepad_lsy}=="0"
> ATTRS{xpad/gamepad_lt}=="3f"
> ATTRS{xpad/gamepad_rsx}=="ffc0"
> ATTRS{xpad/gamepad_rsy}=="ffc0"
> ATTRS{xpad/gamepad_rt}=="ff"
> ATTRS{xpad/rumble_l}=="0"
> ATTRS{xpad/rumble_r}=="0"
> ATTRS{xpad/subtype}=="7"
> ATTRS{xpad/type}=="1"
My inclination is "No" as we have other ways to communicate this
Thanks.
--
Dmitry