Commit graph

494 commits

Author SHA1 Message Date
Denis
c9354dc357
keyboard should work now 2023-12-17 02:22:29 +01:00
Denis
c6ecb53bd3
chatgpt blatantly refused to write this so I had to do it myself. 2023-12-17 01:38:06 +01:00
Denis
046f635de6
Removed useless files 2023-12-17 00:35:23 +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
00cc6adf7d
whoopsie... 2023-12-16 23:33:19 +01:00
Denis
5548eb806f
Improved mode switch 2023-12-16 23:19:32 +01:00
Denis
587fe7ffcf
testing mouse mode and swtich 2023-12-16 23:15:04 +01:00
Denis
4bdff1a50d
bugfix 2023-12-16 22:35:26 +01:00
Denis
cc16d4983e
mode switch should work 2023-12-16 22:26:37 +01:00
Denis
0b7f888a2f
Implementing virtual mouse and mode switch 2023-12-16 22:10:57 +01:00
Denis
6072f88002
reimplement BTN_MODE 2023-12-16 19:08:03 +01:00
Denis
0797e2e326
discarding hidraw mode change and initial setup 2023-12-16 18:39:15 +01:00
Denis
563da79b2b
add buttons references 2023-12-16 14:58:33 +01:00
Denis
b69d2d7198
better formatting 2023-12-15 00:55:17 +01:00
Denis
3ca8c59837
whoopsie 2023-12-15 00:15:00 +01:00
Denis
13f35d6924
text for when controller mode is switched 2023-12-15 00:12:36 +01:00
Denis
75b4bb1912
toggle controller mode on the rog ally 2023-12-15 00:06:46 +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
8b57c19d0a
default_gamepad is an int: load config as such 2023-12-14 23:38:51 +01:00
Denis
bcabb2732b
honor settings in output server 2023-12-14 23:34:20 +01:00
Denis
f55c055ad5
honor the enable qam setting 2023-12-14 23:28:28 +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
7985256277
Improved code 2023-12-13 17:56:04 +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
2808be0412
Improved main code 2023-12-13 17:28:20 +01:00
Denis
98e19476c5
propagate the number of events to write 2023-12-13 16:02:44 +01:00
Denis
f3da25e9ab
Fixed xinput events 2023-12-13 15:59:32 +01:00
Denis
9774abdebf
Improved termination code 2023-12-13 15:48:55 +01:00
Denis
07ba1a4903
debug code 2023-12-13 15:39:38 +01:00
Denis
2980769cca
Capture SIGINT 2023-12-13 15:36:22 +01:00
Denis
b24da5890e
Improved iio fail code 2023-12-13 15:26:43 +01:00
Denis
d7b713abef
improved init code 2023-12-13 15:22:02 +01:00
Denis
17fa95f779
all-in-one should now be able to exit correctly 2023-12-13 15:16:40 +01:00
Denis
2ca8e9ada3
let me try a little something... 2023-12-13 14:40:11 +01:00
Denis
70023cb48f
Debugging instructions 2023-12-13 14:34:17 +01:00
Denis
80bc6c62c3
fix accept code 2023-12-13 14:27:05 +01:00
Denis
ca92513634
all-in-one application 2023-12-13 03:11:08 +01:00
Denis
82a3d8575d
remove useless include 2023-12-13 03:02:48 +01:00
Denis
0877790cfb
Better error message 2023-12-13 02:21:31 +01:00
Denis
29f67daddd
Do not spam errors! 2023-12-13 02:15:46 +01:00
Denis
385301f5cf
bugs... 2023-12-13 02:13:20 +01:00