Commit Graph

255 Commits

Author SHA1 Message Date
Benjamin Höglinger
6790fbb40e Merge pull request #7 from mika-n/master
Removed NotificationPool and boost references. Created a new notification thread handler logic
2019-08-27 10:41:23 -04:00
mika-n
0b8756d522 Fine tuned notification background thread logic to make sure that received FFB events are passed on to a callback function in correct order (first-in, first-out). Also, the thread uses a ring buffer to pool IO requests and to make sure that at any time there is always at least one pending IO request ready to receive new FFB events from Vigem kernel driver. 2019-08-27 15:11:50 +03:00
mika-n
02552a5f24 Removed NotificationPool and boost references. Created a new notification thread handler logic, which is simpler and more straight forward than use of BOOST:ASIO library. At the same time fixed a thread cleanup bug in unregister_notification functions (sometimes the old code crashed when a notifications was unregistered. There was some multithread cleanup issue). 2019-08-19 04:12:14 +03:00
Jason Hart
1c1bf44896 Merge pull request #6 from ttsuki/issue/ViGEmClient/fix-NotificationRequestPool
Fixed crash on destructing NotificationRequestPool
2019-08-16 08:06:10 -04:00
ttsuki
ee90cef6ee Fixed crash on destructing NotificationRequestPool 2019-08-02 07:20:19 +09:00
Benjamin Höglinger
5799777c82 Update README.md 2019-07-26 00:16:04 +02:00
Benjamin Höglinger-Stelzer
f6f5e4daae Updated README.md 2019-05-28 21:22:39 +02:00
Benjamin Höglinger-Stelzer
6f616adf5c Fixed x360 notification clean-up 2019-05-28 21:18:33 +02:00
Benjamin Höglinger-Stelzer
267c0cc9d9 Removed unused variables 2019-05-28 21:06:15 +02:00
Benjamin Höglinger-Stelzer
435fa9750b Removed legacy functions 2019-05-28 18:02:41 +02:00
Benjamin Höglinger-Stelzer
0875d8ce38 Refactored code to make it more generic 2019-05-28 18:01:47 +02:00
Benjamin Höglinger-Stelzer
6b371f660b Added license header snippet 2019-05-28 16:44:26 +02:00
Benjamin Höglinger-Stelzer
7f4f579e88 De-cluttered includes 2019-05-28 16:41:52 +02:00
Benjamin Höglinger-Stelzer
fb3b55c5d5 Added cancel through ESC to tester 2019-05-28 15:43:45 +02:00
Benjamin Höglinger-Stelzer
88a325f520 Trying to generalize and tidy up this mess 2019-05-28 15:34:30 +02:00
Benjamin Höglinger-Stelzer
61b482a88a Removed VIGEM_INVERTED_CALL_THREAD_COUNT macro 2019-04-25 17:02:02 +02:00
Benjamin Höglinger-Stelzer
e4d313d8b1 Sylveonification, almost 2019-04-23 21:34:36 +02:00
Benjamin Höglinger-Stelzer
eddb75c0c4 Added comments 2019-04-22 19:14:26 +02:00
Benjamin Höglinger-Stelzer
ca441cf623 Fixed broken tester code 2019-04-22 14:11:06 +02:00
Benjamin Höglinger-Stelzer
ea63179aac Removed deprecated code 2019-04-22 14:08:28 +02:00
Benjamin Höglinger-Stelzer
3408227bb1 It appears to be working 2019-04-22 14:03:14 +02:00
Benjamin Höglinger-Stelzer
3f1286cbc9 No comment 2019-04-22 12:13:45 +02:00
Benjamin Höglinger-Stelzer
9071d6c3af Created class XusbNotificationRequest 2019-04-21 16:57:05 +02:00
Benjamin Höglinger-Stelzer
3acc340aa5 OMG 2019-04-16 20:05:37 +02:00
Benjamin Höglinger-Stelzer
c2d99b1f39 Another typo fix 2019-04-16 18:11:39 +02:00
Benjamin Höglinger-Stelzer
7d8a5248f0 Added tester console application
Typo fixes
Fixed a bug where bus handle wasn't checked correctly
2019-04-16 18:10:50 +02:00
Benjamin Höglinger-Stelzer
005a152323 Added build cache 2019-04-16 16:12:41 +02:00
Benjamin Höglinger-Stelzer
ca5a0c8c0d Redesigned X360 notification callback handling to use Boost ASIO and strands 2019-04-16 16:05:46 +02:00
Benjamin Höglinger-Stelzer
842c5ddd9d More threads! 2019-04-10 21:33:49 +02:00
Benjamin Höglinger-Stelzer
f6d635cde5 Merge branch 'master' into issue/vigembus/13 2019-04-10 21:20:20 +02:00
Benjamin Höglinger-Stelzer
5bf631e8f1 Added crash handler 2019-04-10 21:04:40 +02:00
Benjamin Höglinger-Stelzer
a24657a475 Addressed issue https://github.com/ViGEm/ViGEmBus/issues/13
Typo fixes
Added malloc return value check
2019-03-30 19:17:10 +01:00
Benjamin Höglinger-Stelzer
d315abe867 Fixed crash on 32-bit builds caused by calling convention mismatch 2019-03-27 14:48:06 +01:00
Benjamin Höglinger
47c04ecf40 Merge pull request #1 from bozbez/master
Update Util.h for cmake/vcpkg include directory structure
2018-12-29 10:33:04 +01:00
Benjamin Höglinger-Stelzer
f7a1c245c7 Fixed CLI Debug build complaining about locked DLL 2018-12-27 16:47:25 +01:00
Benjamin Höglinger-Stelzer
19c1a48c79 Added artifact filter 2018-12-26 22:58:15 +01:00
Benjamin Höglinger-Stelzer
ca0a5789f3 Build settings fixes 2018-12-26 22:55:01 +01:00
Benjamin Höglinger-Stelzer
9975c375c5 Fixed DLL not being compiled with static runtime 2018-12-26 22:11:47 +01:00
Joe Kaushal
f24c6b978c Update Util.h for cmake/vcpkg include directory structure 2018-12-07 19:33:50 +00:00
Benjamin Höglinger-Stelzer
000af269d1 Converted umlaut 2018-09-30 20:17:16 +02:00
Benjamin Höglinger-Stelzer
cb3d90f2fc Implemented version stamping in build script 2018-09-29 22:48:18 +02:00
Benjamin Höglinger-Stelzer
bca4337b06 Updated nuke to 0.9.1 2018-09-29 21:43:02 +02:00
Benjamin Höglinger-Stelzer
a9f05423c7 Merge branch 'master' of github.com:ViGEm/ViGEmClient 2018-09-27 16:59:06 +02:00
Benjamin Höglinger-Stelzer
5aa4fabeda Fixed version resource language and other properties 2018-09-27 16:58:52 +02:00
Benjamin Höglinger
2427959f08 Update README.md 2018-09-26 16:30:47 +02:00
Benjamin Höglinger-Stelzer
e8bbbe6e82 Decreased version again to test compatibility 2018-09-23 18:36:26 +02:00
Benjamin Höglinger-Stelzer
5090cba914 Fixed missing include file path 2018-09-23 15:02:35 +02:00
Benjamin Höglinger-Stelzer
bc722fec5f Finished implementation of "vigem_target_x360_get_user_index" 2018-09-23 14:58:25 +02:00
Benjamin Höglinger-Stelzer
a49b1ac113 Updated vcpkg build instructions & version 2018-09-23 12:51:42 +02:00
Benjamin Höglinger-Stelzer
894ccee273 Fixed header include instruction 2018-09-23 12:42:11 +02:00