Commit graph

75 commits

Author SHA1 Message Date
Denis
358fba86d6
allow disabling touchbar + use timestamp from the bmi323 2024-01-03 00:59:57 +01:00
Denis
8870020cab
Fix one axis improperly inverted 2024-01-02 19:17:56 +01:00
Denis
6f60b53745
check if this solves the problem 2023-12-26 23:42:12 +01:00
Denis
bca99cefca
check if the problem is constant timeouts 2023-12-26 22:27:39 +01:00
Denis
2aa79bb180
Use monotonic clock for gyroscope data 2023-12-21 21:42:12 +01:00
Denis
8857d30a58
Revert "use the ACPI mount matrix"
This reverts commit 8637035ab2.
2023-12-20 23:21:43 +01:00
Denis
8637035ab2
use the ACPI mount matrix 2023-12-20 19:17:48 +01:00
Denis
89f32b5eb1
Rumble on mode switch 2023-12-18 23:12:59 +01:00
Denis
a89d9b5ad1
Fix timer only firing up once 2023-12-18 02:24:53 +01:00
Denis
f6e0173854
whoopsie... 2023-12-17 23:03:41 +01:00
Denis
ea5f026e04
timer timeout to evdev 2023-12-17 17:37:58 +01:00
Denis
71603dc4d6
WIP: timer implementation 2023-12-17 15:48:17 +01:00
Denis
466f1a4db6
improving devices support 2023-12-17 03:50:36 +01:00
Denis
5e3a1e4e98
whoopsie 2023-12-17 00:11:45 +01:00
Denis
f9f5b67690
use hidraw dev to change leds 2023-12-17 00:05:09 +01:00
Denis
fb36302883
as a temporary workaround swap z and y and also do -1 where needed 2023-12-14 23:53:52 +01:00
Denis
a3b2eb0e41
Configuration refactor 2023-12-14 23:16:36 +01:00
Denis
917ec565f8
Can you please start working as indentended? please.... 2023-12-14 14:05:13 +01:00
Denis
49ba884623
try with SOCK_STREAM 2023-12-14 13:58:50 +01:00
Denis
971b661c5e
watch for messages on the receiving socket 2023-12-14 13:53:48 +01:00
Denis
c2e3a7704a
make logic work with both SOCK_STREAM and SEQ_PACKET 2023-12-14 13:41:33 +01:00
Denis
4d2c9c2e36
Fixed a bug that prevented the gyro from being registered 2023-12-14 03:15:34 +01:00
Denis
e580cca85c
fix iio and hidraw reads 2023-12-14 03:04:29 +01:00
Denis
f87028f8f7
report gyro & accel buffer to the output device 2023-12-14 02:55:46 +01:00
Denis
0be03cec8c
Improved general feeling 2023-12-13 17:49:48 +01:00
Denis
08412c57e2
fix infine connections bug 2023-12-13 17:35:24 +01:00
Denis
98e19476c5
propagate the number of events to write 2023-12-13 16:02:44 +01:00
Denis
9774abdebf
Improved termination code 2023-12-13 15:48:55 +01:00
Denis
17fa95f779
all-in-one should now be able to exit correctly 2023-12-13 15:16:40 +01:00
Denis
80bc6c62c3
fix accept code 2023-12-13 14:27:05 +01:00
Denis
330088f55d
whoopsies 2023-12-13 02:00:08 +01:00
Denis
12fd7c768b
Improved source. Can open socket 2023-12-13 01:31:31 +01:00
Denis
00fb3a02e3
split up application in two different sub-applications 2023-12-12 23:46:08 +01:00
Denis
b6bf5d8273
debugging 2023-12-11 22:38:14 +01:00
Denis
e58d4a527d
printf the error to the user 2023-12-11 22:06:29 +01:00
Denis
12900f1f55
Read from IMU 2023-12-11 22:05:12 +01:00
Denis
213f24c65f
implementing iio discovery and acquisition 2023-12-11 21:12:14 +01:00
Denis
84fa3e42dd
close every device on program termination 2023-12-11 02:30:50 +01:00
Denis
b497e833d2
fix hidraw not being read 2023-12-10 20:38:07 +01:00
Denis
8a988abb8d
whoopsie... 2023-12-10 03:32:48 +01:00
Denis
744dc94446
Close the hidraw device before dropping it 2023-12-10 03:31:41 +01:00
Denis
5976d13599
Initial legion go hidraw read 2023-12-10 03:24:43 +01:00
Denis
a83162da48
reopen an evdev device once it gets disconnected 2023-12-09 18:04:25 +01:00
Denis
ad25473fea
do not ignore MSC_SCAN 2023-12-09 15:04:14 +01:00
Denis
176cff9534
setup syn report the proper way 2023-12-09 14:56:54 +01:00
Denis
aab30707c1
whoopsie... 2023-12-09 14:11:18 +01:00
Denis
348b0906b5
Hidraw should work 2023-12-08 23:45:31 +01:00
Denis
197947e214
Hidraw logic 2023-12-08 23:26:21 +01:00
Denis
5778f28c7a
LEDs debugging 2023-12-08 23:17:19 +01:00
Denis
a0eb198851
use the correct rdesc size 2023-12-08 22:52:26 +01:00