Commit graph

312 commits

Author SHA1 Message Date
Denis Benato
3ec34290e6 All xbox buttons are mapped 2023-12-07 12:46:35 +01:00
Denis Benato
773812ff53 fix cmake and a bunch of warnings 2023-12-07 11:16:01 +01:00
Denis
9dfba70c89
bbcr compiling now 2023-12-07 00:02:13 +01:00
Denis
37c23e1b62
The bbcr broke off my compilation help plz 2023-12-06 21:05:02 +01:00
Denis
91a639852f
Use 1.6kHz as sampling rate 2023-12-06 02:59:37 +01:00
Denis
c73c6e1999
restore QAM quirk 2023-12-06 02:42:39 +01:00
Denis
ee235fe34f
removed dead code 2023-12-06 02:29:16 +01:00
Denis
dd22bb337d
Rumble changes 2023-12-06 02:09:26 +01:00
Denis
8db06f8077
rumble test 2023-12-06 01:51:55 +01:00
Denis
63fa78d73f
newline on printf 2023-12-06 01:16:10 +01:00
Denis
3f0b629fe0
if gamepad is disconnected a deadlock will occur: solve that issue 2023-12-06 01:11:41 +01:00
Denis
673cad5841
file descriptors signaling an error are negative numbers... 2023-12-06 00:58:42 +01:00
Denis
60dd476423
fix mode switch 2023-12-06 00:50:02 +01:00
Denis
d6e6162db5
Code refactor 2023-12-06 00:32:51 +01:00
Denis
89f348f7c1
Only allow mode 0 and 1 as the number 2 is totally useless and breaks others buttons 2023-12-05 19:15:25 +01:00
Denis
d0ab30eac8
debug msg 2023-12-05 01:12:41 +01:00
Denis
017a77b2e0
Use /dev/hidraw0 2023-12-05 01:11:28 +01:00
Denis
f4f5d32e47
hidraw test 2023-12-05 01:06:31 +01:00
Denis
8e900d3d40
Import raw commands from the monster patch and prepare to send them over hidraw 2023-12-05 00:32:29 +01:00
Denis
8350a52ed6
print name of device 2023-12-05 00:01:57 +01:00
Denis
a8ab8b14c7
Changing mode over hidraw 2023-12-04 03:37:48 +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
ca037b1080
disable the device when unused 2023-12-04 00:30:06 +01:00
Denis
350151627e
find device with udev to support upcoming kernel 2023-12-03 23:50:23 +01:00
Denis
7d3cc207ab
match by sysfs attribute 2023-12-03 23:03:41 +01:00
Denis
9093ebaca4
Scan for asus-hid device 2023-12-03 22:54:57 +01:00
Denis
57d37600a0
rumble usleep 2023-12-03 22:42:16 +01:00
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
7e1cb3cc13
scan devices 2023-12-03 21:49:15 +01:00
Denis
e3ae54618d
Use DualShock if Asus-MCU is not found 2023-12-03 21:21:48 +01:00
Denis
ce494c6930
Add libudev 2023-12-03 21:19:39 +01:00
Denis Benato
a0d992bee4
Merge pull request #6 from 143mailliw/main
fix(ds5): use 4096.0f as SPEC_DELTA_TIME
2023-12-03 13:59:19 +01:00
143mailliw
a5c6194686 fix(ds5): use 4096.0f as SPEC_DELTA_TIME 2023-12-03 02:56:24 -07:00
Denis
e2a0dcc2ab
udev rule warning 2023-11-30 14:40:48 +01:00
Denis
cf34ea4b75
A newline is nice 2023-11-30 03:15:18 +01:00
Denis
586cd72713
report id is 0x02 2023-11-30 03:10:58 +01:00
Denis
9b5d60ee3e
Rumble test 2023-11-30 03:01:06 +01:00
Denis
2d55a65357
Use cmake install 2023-11-30 01:40:14 +01:00
Denis
078237bfe3
Added a bunch of wireshark captures 2023-11-29 22:44:02 +01:00
Denis
b871ddd08a
the very important seq_number no software cares about... 2023-11-29 22:18:01 +01:00
Denis
43130790f5
prepare R5 and L5 logic 2023-11-29 19:08:59 +01:00
Denis
9445f4a379
dpad 2023-11-29 18:30:53 +01:00
Denis
650fc88127
Yes indeed. 2023-11-29 18:23:20 +01:00
Denis
2fa46bf62f
is this the right byte? 2023-11-29 18:20:19 +01:00
Denis
943c5ae00c
Fix triggers 2023-11-29 18:04:57 +01:00
Denis
1d31ce40b7
obviously... 2023-11-29 17:58:24 +01:00