Commit graph

299 commits

Author SHA1 Message Date
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
Denis
79253e08e8
test for back buttons 2023-11-29 17:52:29 +01:00
Denis
d4f387b021
fix data layout 2023-11-29 16:36:43 +01:00
Denis
bf9802f520
testing buttons on DS5 2023-11-29 16:25:37 +01:00
Denis
ae18a4d15b
output when DS5 is active 2023-11-29 02:34:47 +01:00
Denis
a7f936aa0d
use the correct version id 2023-11-29 02:30:39 +01:00
Denis
69fe60594a
DualSense initial support 2023-11-29 02:22:18 +01:00
Denis
b3b3073b59
Nintendo layout buttons 2023-11-28 21:53:44 +01:00
Denis
cab030784c
change executable names 2023-11-28 21:46:19 +01:00
Denis
90e965d108
Default configuration + initial work on nintendo layout 2023-11-28 21:46:05 +01:00
Denis
b4a49bbbe6
function comment 2023-11-27 01:53:08 +01:00
Denis
18de188cf0
More sleep time 2023-11-27 01:01:12 +01:00
Denis
31868702d7
Better error message 2023-11-27 00:53:31 +01:00
Denis
4132597d49
One can fix a program but not stupidity 2023-11-27 00:43:10 +01:00