Commit Graph

46 Commits

Author SHA1 Message Date
Benjamin Höglinger-Stelzer
9d2443ed00 Attempted to fix issue #5
Added basic DS4 test code to tester application
2019-11-14 18:46:02 +01:00
Benjamin Höglinger-Stelzer
20d6d75657 Improved crash dump handler 2019-11-11 21:37:14 +01:00
Benjamin Höglinger-Stelzer
121a1b7f49 Checked for null parameter in vigem_target_x360_get_user_index
Added error code VIGEM_ERROR_INVALID_PARAMETER
2019-10-02 15:06:42 +02:00
Benjamin Höglinger-Stelzer
7420261dc3 Removed obsolete files
Removed Vcpkg attributes from project file
Removed Vcpkg instructions and cache from appveyor.yml
2019-08-27 10:46:08 -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
ttsuki
ee90cef6ee Fixed crash on destructing NotificationRequestPool 2019-08-02 07:20:19 +09: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
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
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
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-Stelzer
9975c375c5 Fixed DLL not being compiled with static runtime 2018-12-26 22:11:47 +01:00
Benjamin Höglinger-Stelzer
cb3d90f2fc Implemented version stamping in build script 2018-09-29 22:48:18 +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-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
c739f8ef90 Refactored include directory structure to comply with cmake/vcpkg 2018-09-22 14:21:04 +02:00
Benjamin Höglinger-Stelzer
9e91a124d1 Forgot to save :) 2018-09-22 13:51:31 +02:00
Benjamin Höglinger-Stelzer
69df51911c Fixed warning LNK4068: /MACHINE not specified; defaulting to X64 2018-09-22 13:47:29 +02:00
Benjamin Höglinger-Stelzer
af43119d7f Corrected runtime library settings 2018-09-02 16:37:09 +02:00
Benjamin Höglinger-Stelzer
7e6ccb7815 Refactored build configuration names
Updated .gitignore
2018-09-02 16:32:43 +02:00
Benjamin Höglinger-Stelzer
c0f72dedcf Corrected resource language to English 2018-08-26 15:58:53 +02:00
Benjamin Höglinger-Stelzer
8bd4ee8669 Added error code VIGEM_ERROR_XUSB_USERINDEX_OUT_OF_RANGE 2018-08-26 14:20:48 +02:00
Benjamin Höglinger-Stelzer
f9e92ca2fd Added error code VIGEM_ERROR_BUS_INVALID_HANDLE
Added some more NULL-pointer checks
Minor refactoring
2018-08-26 14:04:29 +02:00
Benjamin Höglinger-Stelzer
47e28ccd3a Fixed output directory on dynamic build 2018-08-25 23:08:46 +02:00
Benjamin Höglinger-Stelzer
4eec42f32d Fixed include path when referenced as submodule 2018-08-25 23:02:38 +02:00
Benjamin Höglinger-Stelzer
14011d6794 Ripped client parts out of bus project 2018-08-25 21:28:56 +02:00