On Wed, Dec 28, 2022 at 11:38:03AM -0800, Roderick Colenbrander wrote:
Hi Alain,
Thanks for the info. Out of curiosity are the reported sensor values in the
hid report non zero?
Just wrote the print code and unexpectedly.. yes!
Here's a report of the raw_data variable in dualshock4_parse_report()
using printk:
[10793.137066] rd0=4 rd1=1 rd2=17 rd3=707 rd4=-8063 rd5=-1536
[10793.141121] rd0=4 rd1=0 rd2=17 rd3=698 rd4=-8061 rd5=-1546
[10793.145101] rd0=4 rd1=-1 rd2=19 rd3=699 rd4=-8062 rd5=-1544
[10793.149059] rd0=3 rd1=0 rd2=19 rd3=695 rd4=-8052 rd5=-1554
[10793.153085] rd0=4 rd1=-1 rd2=19 rd3=691 rd4=-8052 rd5=-1547
[10793.157059] rd0=4 rd1=0 rd2=18 rd3=709 rd4=-8057 rd5=-1551
As for testing there are no good apps. Evtest can at least do gamepad and
touchpad. Unfortunately we didn't make a proper desktop test app. Hopefully
in the future.
Ok got it, thank you.
Thanks,
Alain