[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <94A49757-2F80-42B9-A853-2A891F6760AA@sladewatkins.net>
Date: Sun, 2 Oct 2022 07:25:15 -0400
From: Slade Watkins <srw@...dewatkins.net>
To: Paul Jones <paul@...cefreak18.xyz>
Cc: jikos@...nel.org, anssi.hannula@...il.com, linux-@...r.kernel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] HID: usbhid: hid-pidff: Set Replay Length to Infinite
when set to 0
Hi,
> On Sep 30, 2022, at 6:51 PM, Paul Jones <paul@...cefreak18.xyz> wrote:
>
> Greetings,
>
> Started using my Accuforce v2 Sim wheel on Linux. I was getting no response from racing simulators through Wine, but native linux test tools worked fine. It seems that many real-world applications will send 0 as the replay length, which was resulting in the behavior I was experiencing (nothing). It makes sense to interpret 0 as an infinite effect and therefore set the replay length of the effect to 0xffff. While the PID document does not explicitly state that 0 should be infinite, it does hint toward null values being interpreted as infinite.
>
> ---
No Signed-off-by?
Also, the formatting is weird here.
-srw
Powered by blists - more mailing lists