Commit graph

348 commits

Author SHA1 Message Date
Denis
ed94ada48e
Release center button after opening QAM 2023-11-27 00:00:00 +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
993e093363
wtf? 2023-11-26 22:40:01 +01:00
Denis
31968f654d
set the correct flag to avoid cycling 2023-11-26 22:34:52 +01:00
Denis
94a0cb90f2
whoops... 2023-11-26 22:32:44 +01:00
Denis
696376968a
try to not let cross fall through 2023-11-26 22:30:08 +01:00
Denis
aedd90e882
QAM tested 2023-11-26 22:23:31 +01:00
Denis
c7a6cf017f
Testing QAM button press 2023-11-26 22:12:14 +01:00
Denis
db2b6631ef
Do not alarm the user for a normal condition on start/stop 2023-11-26 21:30:04 +01:00
Denis
f97c609c7c
missing init 2023-11-26 21:27:33 +01:00
Denis
dd1fbee754
solve SIGSEGV on file not found 2023-11-26 21:25:42 +01:00
Denis
d7b210fa52
debugging config load 2023-11-26 21:23:00 +01:00
Denis
5413cc081a
fix type 2023-11-26 21:15:49 +01:00
Denis
c084b19df0
Read file from /etc 2023-11-26 21:14:18 +01:00
Denis
54417c1eac
Reading a configuration file 2023-11-26 21:09:54 +01:00
Denis
a59af1c151
left and right motors swap. Maximum gain 2023-11-26 19:33:56 +01:00
Denis
d1e0e84a95
Rumble should work now 2023-11-26 18:34:58 +01:00
Denis
606015da82
Set the gain to 75% before emitting rumbles 2023-11-26 18:22:31 +01:00
Denis
6ce3c187a6
Rumble test 2023-11-26 18:09:20 +01:00
Denis
a65f41be5d
Add documentation links 2023-11-26 17:34:13 +01:00
Denis
e8ff00edc2
Problem was the initial effect setup 2023-11-26 03:49:02 +01:00
Denis
64f72f5ace
too many zeroes 2023-11-26 03:37:33 +01:00
Denis
7326dc6f51
Formatting 2023-11-26 03:32:02 +01:00
Denis
35185e39d7
clock_gettime is malfunctioning 2023-11-26 03:15:48 +01:00
Denis
5cdbbb47c2
Use a queue to transmit rumbles 2023-11-26 03:09:32 +01:00
Denis
c9e22a451b
debugging... 2023-11-26 02:34:54 +01:00
Denis
59cbb3cec3
Fix rumble logic 2023-11-26 02:28:18 +01:00
Denis
9701b4fede
do stuff on success, not failure 2023-11-26 02:19:27 +01:00
Denis
9f2e1e9de5
threading rework to support rumble 2023-11-25 21:03:32 +01:00
Denis
0ca1c08158
try to identify why events are stalled 2023-11-24 01:44:08 +01:00
Denis
ecb8f749e2
Rumble test 2023-11-24 01:42:19 +01:00
Denis Benato
03dac3f828 structural code for effect playback 2023-11-23 17:39:16 +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
54e8c97d9f README.md: added contributors and a design section 2023-11-23 13:41:44 +01:00
Denis Benato
0f96044bb9 Merge branch 'main' into devel 2023-11-23 13:28:06 +01:00
Denis Benato
6369275e02
Merge pull request #3 from 143mailliw/fake-timestamp
feat(ds4): use corrected actual time
2023-11-23 12:13:59 +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
Denis Benato
3aee2eff8a
Merge pull request #2 from 143mailliw/fake-timestamp
fix(ds4): provide fake timestamps
2023-11-22 13:03:50 +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
55cc4aca90
Added -arch=znver4 to makefile 2023-11-21 01:49:54 +01:00
Denis
c31e459b68
Fix mouse mode input 2023-11-21 01:03:18 +01:00
Denis
5a06754bcc
switch back output device after exiting lizard mode 2023-11-21 00:55:35 +01:00
Denis
2ea9211b86
debug print 2023-11-21 00:49:49 +01:00
Denis
968f93bfdf
DS4 controller should stay connected even when not emitting 2023-11-21 00:46:22 +01:00