ameerj
967ed01fcf
input_common: Reduce unused includes
4 years ago
german77
6a4ab3e0d2
yuzu: Add auto center on right click
4 years ago
german77
21742f0096
input_common: Remove battery duplicated struct and update every button press
4 years ago
Morph
25db62ce15
general: Rename NewUUID to UUID, and remove the previous UUID impl
This completes the removal of the old UUID implementation.
4 years ago
Morph
cb30fe50cd
input/hid: Migrate to the new UUID implementation
4 years ago
Narr the Reg
064aa3de11
yuzu: ui: Improve battery symbols
4 years ago
german77
3d2d77eb3f
input_common: Add home and hard touch press buttons to UDP controllers
4 years ago
Narr the Reg
fd1cef5616
input_common: Add DS5 to HD rumble list
4 years ago
Lioncash
87eb3cb083
input_common/udp_client: Replace deprecated from_string()/to_ulong() functions
These are deprecated and make_address variants and to_uint() should be used instead.
4 years ago
Lioncash
b084a9bf0a
input_common/udp_client: Prevent unnecessary string copies
We can also remove some redundant const on the return values, since
these don't do anything
4 years ago
Narr the Reg
36144a5690
input_common: Report battery for UDP controllers
4 years ago
Valeri
a99f84f4b2
input_common: fix copy-paste error
Found by static analysis with PVS-Studio.
4 years ago
german77
9eab07f863
input_common: Reintroduce motion from mouse and use button names
4 years ago
gidoly
92d676d788
Xbox controller default name nit pick
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
4 years ago
gidoly
7978ea4e8c
Change default name for ps controllers
Minor nitpick
Code is from narr
4 years ago
german77
ea089c012e
input_common: Handle errors on TAS scripts
4 years ago
german77
d05675242a
input_common: Fix udp motion not automapping to both sides
4 years ago
german77
72c8a94a6c
yuzu: Add controller hotkeys
5 years ago
vperus
11f4bf8a9a
[input_common] Move variable declaration closer to usage
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD':
local variable is initialized but not referenced" which is treated as an
error.
Circumvent it by moving constexpr variable directly into body of lambda function.
5 years ago
Valeri
7f965172c5
input/SDL: Update SDL hints
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18.
SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
5 years ago
Lioncash
54ca48e8b7
tas_input: Avoid minor copies in Read/WriteCommandButtons()
We don't need to copy the whole pair
5 years ago
Lioncash
734fb180bb
tas_input: Remove unnecessary semicolon
Resolves a -Wextra-semi warning
5 years ago
Lioncash
ddda6ae776
tas_input: Execute clear() even if empty
clear() when empty is simply a no-op, so we can get rid of the check
here and let the stdlib do it for us.
5 years ago
Lioncash
db9320e754
tas_input: Remove unnecessary includes
Gets rid of indirect includes and includes only what the interface
needs.
5 years ago
Lioncash
26ef76213c
tas_input: std::move strings into vector
While we're in the same area, we can also avoid performing std::stoi in
a loop when it only needs to be performed once.
5 years ago
Lioncash
a515ede2af
tas_input: Use istringstream over stringstream
This is only using the input facilities, so we don't need to use the
fully-fleged stringstream.
5 years ago
Lioncash
6be730bdcd
tas_input: Use u8string_view instead of u8string
Same behavior, but without the potential for extra allocations.
5 years ago
Lioncash
37a8e2a67e
tas_input: Remove unused std::smatch variable
This also means we can get rid of the dependency on <regex>
5 years ago
Lioncash
d52ad96ce3
tas_input: Amend -Wdocumentation warnings
Parameters shouldn't have the colon by their name.
5 years ago
Lioncash
c126b0718c
tas_input: Make TasAxes enum an enum class
Prevents these values from potentially clashing with anything in other
headers.
5 years ago
Lioncash
755822ceec
input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()
Copies the BasicMotion instance once instead of twice.
5 years ago
Lioncash
38f3442ea5
input_engine: Pass VibrationStatus by const reference in SetRumble()
Avoids creating copies of the struct where not necessary.
5 years ago
Lioncash
2b92d22bda
input_engine: std::move engine name where applicable
We can allow the name to be moved into, allowing allocations to be
avoided.
5 years ago
Narr the Reg
e4492a9a82
input_common: Fix error with thread name
5 years ago
vperus
660c6bec22
Revert of b01aa72
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
5 years ago
Narr the Reg
639402850a
input_common: Fully implement UDP controllers
5 years ago
german77
746c85b560
input_common: Move button names to the frontend
5 years ago
german77
c4760489a0
input_common: Fix SDL controller with inverted axis
5 years ago
german77
42949738f2
kraken: Address comments from review
Fix compiler bug
5 years ago
german77
f4e5f89e6f
core/hid: Improve accuary of mouse implementation
5 years ago
german77
654d76e79e
core/hid: Fully implement native mouse
5 years ago
german77
bca299e8e0
input_common: Allow keyboard to be backwards compatible
5 years ago
german77
b673857d7d
core/hid: Improve accuracy of the keyboard implementation
5 years ago
german77
157e0b85fd
core/hid: Prevent Emulated controller from flapping with multiple inputs devices
5 years ago
german77
77fa4d4bf6
second commit lion review
5 years ago
german77
730f078302
settings: Fix Debug controller type options
5 years ago
german77
2b1b0c2a30
kraken: Address comments from review
start lion review
5 years ago
german77
61d9eb9f69
input_common: Revert deleted TAS functions
5 years ago
german77
d8e3f2b10b
input_common: Fix GC adapter initialization
Fix GC controller
5 years ago
german77
1d71d4b874
input_common: Fix UDP uuid
5 years ago