Commit graph

80 commits

Author SHA1 Message Date
Denis
4ab34c4547
gyro-to-analog should finally work at this point 2024-01-06 17:55:53 +01:00
Denis
34ba98d12d
fix gyro-to-analogs 2024-01-06 17:45:32 +01:00
Denis
3bd22ad542
Improve gyro-to-analog(s) 2024-01-06 16:59:41 +01:00
Denis
984e735d06
Do not invert gyro/accel axis 2024-01-06 00:28:58 +01:00
Denis
eec5cadf8c
Remove dead code 2024-01-03 03:36:55 +01:00
Denis
2c3d7de0e4
kernel does it this way... 2024-01-03 02:56:07 +01:00
Denis
7b50fbfca1
Fix dualshock emulating over bluetooth 2024-01-03 02:41:51 +01:00
Denis
337244b0de
oh uniq must be 16 bytes 2024-01-03 02:26:45 +01:00
Denis
d091e54ecb
dualshock4 over bluetooth as well 2024-01-03 02:09:51 +01:00
Denis
358fba86d6
allow disabling touchbar + use timestamp from the bmi323 2024-01-03 00:59:57 +01:00
Denis
62c903830e
Remove problematic pressis based on trigger values 2023-12-29 02:25:38 +01:00
Denis
00fb3a02e3
split up application in two different sub-applications 2023-12-12 23:46:08 +01:00
Denis
48304682d9
Test dualshock blink 2023-12-09 18:24:21 +01:00
Denis
f387d21da9
improve controller output + do not open the same udev 2023-12-09 15:39:54 +01:00
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