Commit graph

97 commits

Author SHA1 Message Date
Denis
0c6b2d7ef6
increased timeout for rumble 2023-12-03 22:33:11 +01:00
Denis
d8b7fd9318
Fixed a memory leak that cannot happen as it's impossible to exit the software 2023-12-03 22:30:11 +01:00
Denis
dd7af4dd22
Revert "CPU usage optimization + fixed a non-existing leak (program cannot exit that function)"
This reverts commit 84452857c0.
2023-12-03 22:29:17 +01:00
Denis
84452857c0
CPU usage optimization + fixed a non-existing leak (program cannot exit that function) 2023-12-03 22:24:15 +01:00
Denis
18de188cf0
More sleep time 2023-11-27 01:01:12 +01:00
Denis
4132597d49
One can fix a program but not stupidity 2023-11-27 00:43:10 +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
c7a6cf017f
Testing QAM button press 2023-11-26 22:12:14 +01:00
Denis
d7b210fa52
debugging config load 2023-11-26 21:23:00 +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
e8ff00edc2
Problem was the initial effect setup 2023-11-26 03:49:02 +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
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
2b0aac681a
Rumble update logic 2023-11-23 00:58:29 +01:00
Denis
9117825bcf
Improved codebase, compiling with clang 2023-11-20 01:15:07 +01:00
Denis
4d0d9b4760
Reduced timings 2023-11-19 16:19:13 +01:00
Denis
9c33257a3b
test IMU output 2023-11-17 23:07:16 +01:00
Denis
46fb7a1277
refactor 2023-11-17 01:30:50 +01:00
Denis
8a7ab9c8e8
refactor to better support IMU data 2023-11-17 01:24:05 +01:00
Denis
f5c470d003
Usee full scale 2023-11-14 00:14:38 +01:00
Denis
335367b573
Experimenting with gyroscope 2023-11-13 23:02:17 +01:00
Denis
c54c5edf4f
debug mouse 2023-11-13 22:22:15 +01:00
Denis
2be3214822
Gyroscope to mouse 2023-11-13 22:03:42 +01:00
Denis
448e89dd81
Fix mouse mode 2023-11-13 21:53:01 +01:00
Denis
ffdbf18592
fixing mouse mode, experimenting with gyroscope 2023-11-13 21:48:17 +01:00
Denis
90f35db1e4
for iio too.... 2023-11-13 02:20:59 +01:00
Denis
c4ee698fe3
repeat important flags 2023-11-13 02:19:28 +01:00
Denis
01476a4884
Keep gyro and gamepad separated 2023-11-13 02:11:45 +01:00
Denis
19e2bfa537
Properly support mouse 2023-11-13 01:59:40 +01:00
Denis
b9654ab7ec
flags to discard events and preserve timestamps 2023-11-13 00:42:51 +01:00
Denis
b690e6d9a6
steam righ menu test 2023-11-12 23:38:35 +01:00
Denis
057124f030
what if I use both paddles together? 2023-11-12 23:22:43 +01:00
Denis
517ac794e1
Complete toggle 2023-11-12 20:00:59 +01:00
Denis
89dd90c91b
Cannot make it work :( 2023-11-12 19:55:09 +01:00
Denis
0b650fac1c
secondary menu 2023-11-12 19:45:42 +01:00
Denis
4870fd2fdf
Open the steam menu 2023-11-12 19:34:16 +01:00
Denis
ad610baab6
Do not lose memory 2023-11-12 19:29:29 +01:00
Denis
763aada59e
gyro mode 2023-11-12 19:25:52 +01:00
Denis
39eda1e38b
Fiter test 2023-11-12 19:11:59 +01:00
Denis
15dbeb0696
whoops 2023-11-12 18:56:11 +01:00