Commit graph

66 commits

Author SHA1 Message Date
Denis
0db06c226c
leds test 2023-12-08 20:49:24 +01:00
Denis
befcfe87b1
why no rumble? 2023-12-08 20:01:20 +01:00
Denis
1978cefab3
debugging... 2023-12-07 23:39:48 +01:00
Denis Benato
773812ff53 fix cmake and a bunch of warnings 2023-12-07 11:16:01 +01:00
Denis
37c23e1b62
The bbcr broke off my compilation help plz 2023-12-06 21:05:02 +01:00
Denis
c73c6e1999
restore QAM quirk 2023-12-06 02:42:39 +01:00
Denis
3f0b629fe0
if gamepad is disconnected a deadlock will occur: solve that issue 2023-12-06 01:11:41 +01:00
Denis
d6e6162db5
Code refactor 2023-12-06 00:32:51 +01:00
Denis
841ed7da52
fix continuous disconnections 2023-12-04 00:36:13 +01:00
Denis
0949978124
DualShock is also closed when not in use 2023-12-04 00:35:06 +01:00
Denis
b4a49bbbe6
function comment 2023-11-27 01:53:08 +01:00
Denis
31868702d7
Better error message 2023-11-27 00:53:31 +01:00
Denis
aa35b0da02
Change anglvel sampling rate to 800Hz and allow gyroscope and accelerometer to be two distinct iio devices 2023-11-26 23:44:39 +01:00
Denis
54417c1eac
Reading a configuration file 2023-11-26 21:09:54 +01:00
Denis
a65f41be5d
Add documentation links 2023-11-26 17:34:13 +01:00
Denis Benato
32b678186d add rumble logic 2023-11-23 14:35:04 +01:00
Denis Benato
2efde82d1d drive triggers pressed bit 2023-11-23 13:58:26 +01:00
Denis Benato
0f96044bb9 Merge branch 'main' into devel 2023-11-23 13:28:06 +01:00
143mailliw
7102392d54 feat(ds4): use corrected actual time 2023-11-22 21:40:38 -07:00
Denis
2b0aac681a
Rumble update logic 2023-11-23 00:58:29 +01:00
Denis
d2a752801b
debugging 2023-11-22 18:49:25 +01:00
Denis
e446cfa14d
More debugging 2023-11-22 18:05:10 +01:00
Denis
842e00941f
debug print 2023-11-22 17:51:30 +01:00
143mailliw
8b953f3a5c fix(ds4): provide fake timestamps
This allows for "Gyro To Mouse", "Gyro To Joystick Camera", and "Gyro to
Joystick Deflection" to work correctly with the virtual controller.
2023-11-22 04:57:31 -07:00
Denis
67bb65f381
Fix output formatting 2023-11-21 19:36:18 +01:00
Denis
968f93bfdf
DS4 controller should stay connected even when not emitting 2023-11-21 00:46:22 +01:00
Denis
00c05b7a73
Test mode switch 2023-11-20 22:02:30 +01:00
Denis
c40018110c
Revert "Use select with timeout instead of usleep"
This reverts commit 79a1efff7e.
2023-11-20 01:41:18 +01:00
Denis
79a1efff7e
Use select with timeout instead of usleep 2023-11-20 01:40:21 +01:00
Denis
622cf9d3c5
One report every 1.25ms 2023-11-20 01:21:59 +01:00
Denis
9117825bcf
Improved codebase, compiling with clang 2023-11-20 01:15:07 +01:00
Denis
af411c4ba8
Restore BTN_MODE functionality to open steam menu 2023-11-19 23:11:09 +01:00
Denis
91e35d0d21
map correct values 2023-11-19 22:04:48 +01:00
Denis
d2b683d534
swap components 2023-11-19 21:46:30 +01:00
Denis
4529871f55
Using raw values from the sensor 2023-11-19 21:41:08 +01:00
Denis
6d5c5468f7
Attempt to fix gyro output 2023-11-19 21:08:46 +01:00
Denis
64746f5a16
Fix timestamp 2023-11-19 19:43:02 +01:00
Denis
a009146885
whoopsie 2023-11-19 18:38:38 +01:00
Denis
b1f2497ea5
Add useful info 2023-11-19 18:34:40 +01:00
Denis
783571ccdd
test for accel 2023-11-19 02:42:29 +01:00
Denis
a8ea6ad031
IDK what's wrong 2023-11-19 02:17:48 +01:00
Denis
15583b484b
set preferred input scale for gyroscope 2023-11-18 19:14:12 +01:00
Denis
fa77cd4330
do not actuate any transformation 2023-11-18 18:19:16 +01:00
Denis
68f155db18
gyroscope mount matrix 2023-11-18 17:47:10 +01:00
Denis
3afb257ec3
try to reduce output noise 2023-11-18 14:49:44 +01:00
Denis
16a3854b0e
divide gyro data by two (driver will multiply by two again) 2023-11-18 14:35:20 +01:00
Denis
41a71b0c1d
gyro data 2023-11-18 14:27:41 +01:00
Denis
16eecfa4ff
mapped DPAD 2023-11-18 03:29:26 +01:00
Denis
d7c3f840c6
joysticks... 2023-11-18 03:05:32 +01:00
Denis
c735535132
fixing buttons... 2023-11-18 02:52:04 +01:00