Commit graph

424 commits

Author SHA1 Message Date
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
0ca1c08158
try to identify why events are stalled 2023-11-24 01:44:08 +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 Benato
2efde82d1d drive triggers pressed bit 2023-11-23 13:58:26 +01:00
Denis Benato
54e8c97d9f README.md: added contributors and a design section 2023-11-23 13:41:44 +01:00
Denis Benato
0f96044bb9 Merge branch 'main' into devel 2023-11-23 13:28:06 +01:00
Denis Benato
6369275e02
Merge pull request #3 from 143mailliw/fake-timestamp
feat(ds4): use corrected actual time
2023-11-23 12:13:59 +01:00
143mailliw
7102392d54 feat(ds4): use corrected actual time 2023-11-22 21:40:38 -07:00
Denis
2b0aac681a
Rumble update logic 2023-11-23 00:58:29 +01:00
Denis
d2a752801b
debugging 2023-11-22 18:49:25 +01:00
Denis
e446cfa14d
More debugging 2023-11-22 18:05:10 +01:00
Denis
842e00941f
debug print 2023-11-22 17:51:30 +01:00
Denis Benato
3aee2eff8a
Merge pull request #2 from 143mailliw/fake-timestamp
fix(ds4): provide fake timestamps
2023-11-22 13:03:50 +01:00
143mailliw
8b953f3a5c fix(ds4): provide fake timestamps
This allows for "Gyro To Mouse", "Gyro To Joystick Camera", and "Gyro to
Joystick Deflection" to work correctly with the virtual controller.
2023-11-22 04:57:31 -07:00
Denis
67bb65f381
Fix output formatting 2023-11-21 19:36:18 +01:00
Denis
55cc4aca90
Added -arch=znver4 to makefile 2023-11-21 01:49:54 +01:00
Denis
c31e459b68
Fix mouse mode input 2023-11-21 01:03:18 +01:00
Denis
5a06754bcc
switch back output device after exiting lizard mode 2023-11-21 00:55:35 +01:00
Denis
2ea9211b86
debug print 2023-11-21 00:49:49 +01:00
Denis
968f93bfdf
DS4 controller should stay connected even when not emitting 2023-11-21 00:46:22 +01:00
Denis
2b91370982
better startup sequence. Use evdev output when in mouse mode or ds4 initialization failed 2023-11-21 00:43:40 +01:00
Denis
61535a537e
exclude .cache directory 2023-11-21 00:43:07 +01:00
Denis
2c27865cbc
Fixed CMake 2023-11-21 00:36:29 +01:00
Denis
d220219d21
Merge branch 'main' of https://github.com/NeroReflex/ROGueENEMY 2023-11-21 00:31:17 +01:00
Denis Benato
1864368ab7
Merge pull request #1 from jlobue10/main
Update CMakeLists.txt
2023-11-20 23:55:31 +01:00
jlobue10
2be0867f31
Update CMakeLists.txt 2023-11-20 14:50:35 -08:00
Denis
58abd149c4
detect buttons.... 2023-11-20 22:36:18 +01:00
Denis
b8884af287
whoops... 2023-11-20 22:32:37 +01:00
Denis
c9c299fadb
try to output mouse events correctly 2023-11-20 22:29:57 +01:00
Denis
3bbce78fb7
Found the culprit for the mode not switching in proper place 2023-11-20 22:23:08 +01:00
Denis
1d88084a97
switch to evdev when mouse mode is used automatically 2023-11-20 22:09:48 +01:00
Denis
00c05b7a73
Test mode switch 2023-11-20 22:02:30 +01:00
Denis
3b2181c738
mode switch is broken... 2023-11-20 02:27:43 +01:00
Denis
8669aa9a63
debug... 2023-11-20 02:18:29 +01:00
Denis
f5fefc3539
debug output 2023-11-20 01:58:18 +01:00
Denis
c40018110c
Revert "Use select with timeout instead of usleep"
This reverts commit 79a1efff7e.
2023-11-20 01:41:18 +01:00
Denis
79a1efff7e
Use select with timeout instead of usleep 2023-11-20 01:40:21 +01:00
Denis
622cf9d3c5
One report every 1.25ms 2023-11-20 01:21:59 +01:00
Denis
9117825bcf
Improved codebase, compiling with clang 2023-11-20 01:15:07 +01:00
Denis
da0c1bc35f
press and release timings 2023-11-20 00:22:37 +01:00
Denis
82dbbab448
change the gamepad status 2023-11-19 23:40:31 +01:00
Denis
0f9cd318c7
debugging... 2023-11-19 23:32:58 +01:00
Denis
ac282012bc
menu button 2023-11-19 23:27:10 +01:00
Denis
44f74d0cfc
It was F16... right.... 2023-11-19 23:15:41 +01:00