Commit Graph

93 Commits

Author SHA1 Message Date
Luke Street bb6274e638 Remove incomplete NX support
Update submodules & tracking branches
2021-04-06 12:54:06 -04:00
Luke Street a1209cdad7 HIDListenerUdev: Avoid -Wmaybe-uninitialized with GCC 9 2021-03-01 17:25:51 -05:00
Luke Street 4a928dd2d7 HIDListenerIOKit: Avoid warning from USBmakebmRequestType 2020-09-18 16:04:13 -04:00
Luke Street 89e4a18d0b HIDListenerWinUSB: Enable scanning during poll 2020-04-17 21:46:09 -04:00
Jack Andersen c36895a109 Update fmtlib 2020-04-11 12:46:05 -10:00
Jack Andersen 314563614e Remove unnecessary stropts.h include 2019-10-12 18:52:58 -10:00
Phillip Stephens a46858acec
Merge pull request #38 from lioncash/cast
NintendoPowerA: Use std::memcpy within transferCycle()
2019-09-06 23:24:56 -07:00
Lioncash f445df1701 NintendoPowerA: Use std::memcpy within transferCycle()
Eliminates undefined behavior within the function.
2019-09-06 07:30:13 -04:00
Lioncash 4b82c6510f NintendoPowerA: Use std::array where applicable 2019-09-06 07:28:10 -04:00
Lioncash 2e0c7dc973 NintendoPowerA: Use deduction guides for locks
Same behavior, but without the need to explicitly hardcode the mutex
type.
2019-09-06 07:26:05 -04:00
Lioncash 7496109ff6 NintendoPowerA: Make constructor explicit
While we're at it we can also ensure that all class members have
deterministic initial state.
2019-09-06 07:24:17 -04:00
Lioncash 475037f0e5 DolphinSmashAdapter: Use std::array where applicable 2019-09-06 06:35:27 -04:00
Jack Andersen c642bccf03 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/boo 2019-08-31 10:34:11 -10:00
Jack Andersen 804ee871f4 MacOS build fixes 2019-08-31 10:12:12 -10:00
Phillip Stephens 4d1c7d444d
Merge pull request #31 from lioncash/hid
HIDParser: Use std::array where applicable
2019-08-24 18:06:10 -07:00
Lioncash a3a9b1ada7 HIDParser: Use emplace() instead of insert()
Same thing, but shorter.
2019-08-24 20:58:56 -04:00
Lioncash c8bebc9948 HIDParser: Eliminate variable shadowing
We can rename some locals to avoid shadowing other variables.
2019-08-24 20:55:52 -04:00
Lioncash 14369a9853 HIDParser: Use std::array where applicable
Same thing, but strongly enforces the type of the array. This also
allows removing the <type_traits> include, since we can just query the
size of the array.
2019-08-24 20:51:46 -04:00
Lioncash f1ad7e5ef0 General: Correct fmt specifiers
Corrects a few fmt calls to use fmt's specifiers. This also converts
instances of printf over to fmt::print
2019-08-24 17:12:49 -04:00
Lioncash baff71cdc3 General: Tidy up includes
Alphabetizes includes and resolves quite a few instances of indirect
inclusions, making the requirements of several interfaces explicit. This
also trims out includes that aren't actually necessary (likely due to
changes in the API over time).
2019-08-19 21:02:56 -04:00
Lioncash 90485ac1b9 DeviceFinder: Make use of unordered_map's emplace within _insertToken
Same thing, but less reading.
2019-08-18 05:50:37 -04:00
Lioncash 6cc5b30127 DeviceFinder: Invert conditionals within _insertToken and _removeToken
By converting the conditions into guard clauses, we can eliminate some
code nesting.
2019-08-18 05:48:57 -04:00
Lioncash 9853a97dd2 DeviceFinder: Move includes into cpp file where applicable
Avoids over-exposing inclusions that don't need to be propagated across
headers.
2019-08-18 05:45:13 -04:00
Lioncash 84f62a0f2c BooObject: Remove destructorLock()
Now that we have the fencing and atomic operations in place to ensure
access to data on other threads will always occur before the use of
delete, we can remove the destructor lock. This will be useful for
making ObjToken's move assignment operator noexcept.
2019-08-17 14:12:23 -04:00
Lioncash 78ce16aa9f General: Make use of nullptr where applicable 2019-08-16 18:27:23 -07:00
Lioncash 386ec8e6cc General: Add missing override specifiers
Adds override specifiers that I missed for other platforms when
initially applying them to the codebase.
2019-08-16 18:27:23 -07:00
Lioncash 80c1103b44 General: Make member functions const where applicable
These functions don't modify instance state, so they can be marked
const.
2019-08-16 18:27:23 -07:00
Lioncash d4cd2b4dce General: Make use of override where applicable
Continues the override modernizations, but now targeting boo.
2019-08-12 22:44:45 -04:00
Jack Andersen af50bc0bc2 Windows build fixes 2019-07-27 15:19:25 -10:00
Jack Andersen deefc8e995 Massive fmtlib refactor 2019-07-19 18:22:36 -10:00
Jack Andersen 29a67b9ea8 Inhibit screensaver using dbus or xdg-screensaver 2019-06-11 15:55:58 -10:00
Jack Andersen c1d3d040bf Add True and False tests for bitwise enums 2019-04-02 18:28:39 -10:00
Jack Andersen 058ea23a00 New code style refactor 2018-12-07 19:17:51 -10:00
Jack Andersen 2c2c72bfd1 Minor tweak 2018-12-07 15:28:54 -10:00
Jack Andersen 0b52f3dbab Convert to pragma once 2018-10-06 17:36:44 -10:00
Jack Andersen c29d837ab5 Huge shader infrastructure refactor 2018-10-06 16:49:22 -10:00
Jack Andersen 8ee04c8f1a Sync macOS with API changes 2018-08-27 17:46:33 -10:00
Jack Andersen 1a71ed813a Fix TSan-reported race conditions 2018-06-01 14:01:47 -10:00
Jack Andersen 84df8af28c Windows build fixes and cleanups 2018-05-24 20:30:42 -10:00
Jack Andersen edf2c1e34d Add PulseAudio backend. Various Xlib fixes 2018-05-06 12:44:31 -10:00
Jack Andersen 2ada7130d3 Make WIN32 vulkan macro target-wide 2017-12-29 15:06:44 -10:00
Jack Andersen fa8989bed3 Huge compile performance refactor 2017-12-28 21:54:26 -10:00
Phillip Stephens 867665cc78 Fix L/R Trigger hypersensitivity 2017-12-21 18:15:30 -08:00
Jack Andersen 02dc5a2a97 GameCube controller calibration fix 2017-12-19 20:04:11 -10:00
Phillip Stephens beb7f00b18 Merge commit '50ee248' 2017-12-15 18:10:28 -08:00
Phillip Stephens 50ee248391 Expose VID/PID APIs 2017-12-15 18:09:56 -08:00
Jack Andersen e0aa15610b macOS IOKit interface fixes; callback-change mutex for controllers 2017-12-15 13:35:54 -10:00
Jack Andersen f228f23661 UWP support 2017-12-05 17:20:59 -10:00
Phillip Stephens 4aa662cd67 Add support for wired switch controllers from PowerA 2017-11-23 23:17:28 -08:00
Jack Andersen b7646f7f9a Windows fixes 2017-11-13 17:32:44 -10:00