| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
input_common: Use attributes for analog range modifiers
|
| | | |
|
| |/ |
|
| |\
| |
| | |
input_common: Add DS5 to HD rumble list
|
| | | |
|
| |\ \
| |/
|/| |
input_common: Add option to configure gyro threshold
|
| | | |
|
| |\ \
| | |
| | | |
input_common/main: Pass MappingData by const reference in callbacks
|
| | | |
| | |
| | |
| | |
| | | |
The default constructor of a UUID instance doesn't initialize the
underlying array.
|
| | | |
| | |
| | |
| | |
| | | |
Makes the checks a little more intuitive to read and doesn't construct
an extra UUID instance
|
| | | |
| | |
| | |
| | | |
Ensures that the class always sees the types it needs.
|
| | | |
| | |
| | |
| | |
| | | |
Top-level const on a return by value can inhibit move semantics, and is
unnecessary.
|
| | | | |
|
| | |/
| |
| |
| | |
Avoids creating unnecessary 168 byte copies per callback invocation.
|
| | |
| |
| |
| | |
These are deprecated and make_address variants and to_uint() should be used instead.
|
| |/
|
|
|
| |
We can also remove some redundant const on the return values, since
these don't do anything
|
| |\
| |
| | |
input_common: Report battery for UDP controllers
|
| | | |
|
| |\ \
| | |
| | | |
Xbox controller default name nit pick
|
| | |/
| |
| | |
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
|
| |\ \
| | |
| | | |
input_common: Reintroduce motion from mouse and use button names
|
| | |/ |
|
| |\ \
| | |
| | | |
input_common: nitpick about SetHatButton usage
|
| | |/ |
|
| |/
|
| |
Found by static analysis with PVS-Studio.
|
| |
|
|
| |
Minor nitpick
Code is from narr
|
| |\
| |
| | |
yuzu: Add controller hotkeys
|
| | | |
|
| |\ \
| | |
| | | |
input_common: Handle errors on TAS scripts
|
| | |/ |
|
| |\ \
| | |
| | | |
input_common: Fix UDP controller mappings
|
| | |/ |
|
| |/ |
|
| |\
| |
| | |
[input_common] Fixed thread hang
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
|
| | | |
|
| |\ \
| | |
| | | |
common/input: Avoid numerous large copies of CallbackStatus
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CallbackStatus instances aren't the cheapest things to copy around
(relative to everything else), given that they're currently 520 bytes in
size and are currently copied numerous times when callbacks are invoked.
Instead, we can pass the status by const reference to avoid all the
copying.
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
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.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
param tags are supposed to specify the parameter name without any
quoting.
Silences several -Wdocumentation warnings.
|
| | |/ /
|/| |
| | |
| | |
| | |
| | | |
Silences quite a bit of -Wdocumentation warnings, given the @param tag
is only intended to be used to identify function parameters, not what it
contains.
|
| |\ \ \
| | | |
| | | | |
input_engine: Minor object churn cleanup
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We can make use of try_emplace() to insert values only if they don't
already exist.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We can use iterators to avoid looking up into maps twice in the getter
functions.
At the same time we can also avoid copying the ControllerData structs,
since they're 264 bytes in size.
|
| | | | |
| | | |
| | | |
| | | | |
These types are part of the InputCommon namespace.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Avoids creating copies of several object instances (some of which being
over 100 bytes in size).
|