Lioncash
8f60281ff9
externals: Work around libusb duplicate GUID errors
...
Given we have two libraries that seem to use the same identifier, we can
alter one of them so that the variable is used in place, effectively
changing the used identifier, but without altering the source of
libusb.
2020-09-02 19:32:19 -04:00
bunnei
85f0dacfa3
Merge pull request #4621 from Morph1984/use-pi
...
input_common/motion_input: Make use of Common::PI constant
2020-09-02 12:49:39 -04:00
Morph
f3417b01e1
input_common/motion_input: Make use of Common::PI constant
...
Also amend the copyright notice to yuzu's instead of Dolphin's, which was mistakenly copy-pasted from another file.
2020-09-02 11:58:15 -04:00
bunnei
60e59d1d0c
Merge pull request #4570 from german77/motionInput
...
input_common: Add a basic class for motion devices
2020-09-02 11:09:18 -04:00
bunnei
2e420d2a58
Merge pull request #4584 from lioncash/libusb
...
externals: Track upstream libusb directly
2020-09-01 23:47:52 -04:00
bunnei
99ae6cfc68
Merge pull request #4382 from FearlessTobi/port-udp-config
...
yuzu: Add motion and touch configuration from Citra
2020-09-01 13:56:37 -04:00
bunnei
f151cb5f71
Merge pull request #4588 from ReinUsesLisp/tsan-event
...
common/thread: Fix data race in is_set
2020-08-31 21:21:38 -04:00
bunnei
15cf2bfbcb
Merge pull request #4589 from ReinUsesLisp/tsan-host
...
hle/kernel: Fix data race in GetCurrentHostThreadID
2020-08-31 21:20:49 -04:00
bunnei
b4f41bde91
Merge pull request #4587 from yuzu-emu/tsan-microprofiler
...
externals/microprofile: Fix data race in g_bUseLock
2020-08-31 21:20:08 -04:00
LC
ce88bb3f00
Merge pull request #4461 from comex/thread-names
...
Fix thread naming on Linux, which limits names to 15 bytes.
2020-08-31 15:31:48 -04:00
LC
d9c068c652
Merge pull request #4614 from ReinUsesLisp/fix-extended-state-again
...
vk_device: Fix driver id check on AMD for VK_EXT_extended_dynamic_state
2020-08-30 22:04:32 -04:00
ReinUsesLisp
6392fc8898
vk_device: Fix driver id check on AMD for VK_EXT_extended_dynamic_state
...
'driver_id' can only be known on Vulkan 1.1 after creating a logical
device. Move the driver id check to disable
VK_EXT_extended_dynamic_state after the logical device is successfully
initialized.
The Vulkan device will have the extension enabled but it will not be
used.
2020-08-30 20:22:48 -03:00
bunnei
65fe94b685
Merge pull request #4601 from lioncash/const3
...
sdl_impl: Minor cleanup
2020-08-29 23:23:41 -04:00
bunnei
ac1a7c7a55
Merge pull request #4605 from lioncash/copy3
...
bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
2020-08-29 23:22:39 -04:00
FearlessTobi
ee199ead59
Address second batch of reviews
2020-08-30 00:43:25 +02:00
FearlessTobi
708e015ffc
Reolve reorder warning
2020-08-29 22:06:47 +02:00
FearlessTobi
01dbe3a624
Address review comments and fix code compilation
2020-08-29 20:56:51 +02:00
Lioncash
428c1071f8
bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
...
The list of points is returned by const reference, so we don't need to
make a copy of every element in the list.
2020-08-29 14:33:10 -04:00
FearlessTobi
2903f0f7ce
yuzu: Add motion and touch configuration
2020-08-29 18:56:34 +02:00
LC
437bc3c199
Merge pull request #4604 from lioncash/lifetime
...
yuzu/main: Amend lifetime issues with InputSubsystem
2020-08-29 01:33:29 -04:00
LC
2275de452b
Merge pull request #4603 from Morph1984/fix-modifier
...
yuzu/configuration: Fix index out of bounds for default_analogs
2020-08-29 01:00:21 -04:00
Lioncash
752b626714
yuzu/main: Amend lifetime issues with InputSubsystem
...
Due to the way Qt performs destruction of parent/child widgets, we need
to make the lifetime of the input subsystem shared across the main
window and the render window.
2020-08-29 00:58:11 -04:00
Morph
c20b902843
yuzu/configuration: Fix index out of bounds for default_analogs
2020-08-29 00:24:47 -04:00
Lioncash
56d39caa1d
sdl_impl: Reduce allocations in GetButtonMappingForDevice()
...
These maps can be constexpr arrays of std::pair.
2020-08-28 21:24:17 -04:00
Lioncash
eb2ab15bdb
sdl_impl: Make use of std::move on std::string where applicable
...
Avoids redundant copies.
2020-08-28 21:14:54 -04:00
Lioncash
285e3386e2
sdl_impl: Make use of insert_or_assign() where applicable
...
Avoids churning ParamPackage instances.
2020-08-28 21:13:26 -04:00
Lioncash
3413c8c046
sdl_impl: Prevent type truncation in BuildAnalogParamPackageForButton() default arguments
...
We need to add the 'f' suffix to make the right hand side a float and
not a double.
2020-08-28 21:08:08 -04:00
Lioncash
1338c58d37
sdl_impl: Simplify make_tuple call
...
The purpose of make_tuple is that you don't need to explicitly type out
the types of the things that comprise said tuple.
Given this just returns default values, we can simplify this a bit.
2020-08-28 21:04:18 -04:00
Lioncash
4dc59a4b64
sdl_impl: Mark FromEvent() as a const member function
...
This doesn't modify internal member state, so it can be marked as const.
2020-08-28 20:58:49 -04:00
LC
62b70f5226
Merge pull request #4600 from lioncash/prototype
...
input_common/main: Remove unimplemented prototype
2020-08-28 20:10:33 -04:00
Lioncash
0322ffa4fd
input_common/main: Remove unnecessary headers
2020-08-28 19:23:19 -04:00
Rodrigo Locatti
9f1e4569d5
Merge pull request #4599 from ReinUsesLisp/amd-extended-state
...
vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state
2020-08-28 23:19:24 +00:00
Lioncash
72d5a883a1
input_common/main: Remove unimplemented prototype
...
I forgot to remove this in the rebase when removing most of the global
variables within the input common codebase.
2020-08-28 19:11:17 -04:00
ReinUsesLisp
a7ea965de5
vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state
...
Vertex binding's <stride> is bugged on AMD's proprietary drivers when
using VK_EXT_extended_dynamic_state. Blacklist it for now while we
investigate how to report this issue to AMD.
2020-08-28 19:14:57 -03:00
bunnei
fc797d39df
Merge pull request #4544 from lioncash/input-sub
...
input_common: Eliminate most global state
2020-08-28 09:57:50 -04:00
bunnei
9fd13dd80a
Merge pull request #4586 from yuzu-emu/tsan-cpu-interrupt
...
cpu_interrupt_handler: Make is_interrupted an atomic
2020-08-28 09:21:47 -04:00
german
f327977dfa
Fix orientation errors and improve drift correction
2020-08-27 17:19:21 -05:00
german
dbf0608afd
Address comments
2020-08-27 17:19:21 -05:00
german
0e11d1c09a
Implement a basic class for motion devices
2020-08-27 17:19:21 -05:00
Lioncash
affbf8e188
input_common: Eliminate most global state
...
Abstracts most of the input mechanisms under an InputSubsystem class
that is managed by the frontends, eliminating any static constructors
and destructors. This gets rid of global accessor functions and also
allows the frontends to have a more fine-grained control over the
lifecycle of the input subsystem.
This also makes it explicit which interfaces rely on the input subsystem
instead of making it opaque in the interface functions. All that remains
to migrate over is the factories, which can be done in a separate
change.
2020-08-27 16:11:17 -04:00
bunnei
c76a188f47
Merge pull request #4530 from Morph1984/mjolnir-p1
...
Project Mjölnir: Part 1 - Input Rewrite
2020-08-27 14:58:44 -04:00
bunnei
a8ab0af067
Merge pull request #4577 from lioncash/asserts
...
common/assert: Make use of C++ attribute syntax
2020-08-27 11:09:02 -04:00
bunnei
ab46e0986e
Merge pull request #4524 from lioncash/memory-log
...
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
2020-08-27 00:16:10 -04:00
bunnei
a36b8c6405
Merge pull request #4569 from ReinUsesLisp/glsl-cmake
...
video_core/host_shaders: Add CMake integration for string shaders
2020-08-26 22:57:39 -04:00
Morph
4ca910101f
input_common/main: Add "/Mouse" to the display name
2020-08-26 22:41:51 -04:00
bunnei
8a4d19af75
Merge pull request #4555 from ReinUsesLisp/fix-primitive-topology
...
vk_state_tracker: Fix primitive topology
2020-08-26 22:19:52 -04:00
Rodrigo Locatti
9e5b4cd63e
Merge pull request #4593 from lioncash/const2
...
memory_manager: Make operator+ const qualified
2020-08-27 01:15:48 +00:00
Lioncash
ad83996932
memory_manager: Make use of [[nodiscard]] in the interface
2020-08-26 20:15:03 -04:00
Lioncash
4ccecf6fec
memory_manager: Make operator+ const qualified
...
This doesn't modify member state, so it can be marked as const.
2020-08-26 20:11:58 -04:00
Lioncash
0b10f86706
externals: Track upstream libusb
...
We can place the external in an inner folder and manage the custom files
necessary to integrate it with CMake directly. This allows us to
directly change how we use it with our build system, as opposed to
needing to change a fork.
2020-08-26 02:45:11 -04:00