Morph
a769682977
configure_input_player: Fixes motion mapping using ConfigureButtonClick
5 years ago
Morph
8be3c010bb
configure_input_player: Re-add "Clear" context menu option
The context menu was removed in Mjölnir Part 1 as part of the input rewrite as we were unaware of it's usage statistics.
However, as this was the only way to clear the inputs of individual buttons, this PR will re-add it back in.
5 years ago
Morph
55db7a4e0a
configure_input: Hook up the motion button and checkbox
This allows toggling motion on or off, and allows access to the motion configuration.
Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
5 years ago
german
82eb4be33b
Add cemu hook changes related to PR #4609
5 years ago
Morph
4c09c78391
configure_input_player: Show/hide motion buttons based on the controller
5 years ago
german
876e6fc255
Include HID and configuration changes related to motion
5 years ago
Lioncash
9f9e02ba58
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
Prevents sign mismatch warnings in the loop conditionals.
5 years ago
Morph
c20b902843
yuzu/configuration: Fix index out of bounds for default_analogs
5 years ago
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.
5 years ago
Morph
0d6a2a37d2
configure_input_player: Fix modifier scale button mapping
5 years ago
Morph
bc37d84a84
configuration/input: Add support for mouse button clicks
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
5 years ago
Morph
24ce544120
Address feedback
5 years ago
Morph
34a209d15c
Project Mjölnir: Part 1
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
Lioncash
78ddcbe3ba
General: Tidy up clang-format warnings part 2
5 years ago
ameerj
5d4750541b
Remove UI changes
This PR is now only the Analog devices handling the range value defaulting at 100%
5 years ago
Ameer
6afee6b0c8
undo unnecessary newlines, slider range 50-150
6 years ago
Ameer
16d15421c5
Address c++20 warning, fix inaccurate range text display when slide == 0
6 years ago
Ameer
1eb1eff48c
Add range slider for analog sticks
6 years ago
Lioncash
08e30e0240
yuzu: Resolve C++20 deprecation warnings related to lambda captures
C++20 deprecates capturing the this pointer via the '=' capture.
Instead, we replace it or extend the capture specification.
5 years ago
Ameer
33c08afba9
Fix unnecessary diffs
6 years ago
Ameer
12e679c39c
Add LR triggers as axes, half press to initiate a press, add GC axis id in config, clarify some code blocks for better readability
6 years ago
Ameer
e8c8a5bafd
Small quality of life indication that mapped button is GC
6 years ago
Ameer
eddf2d0f4e
Singleton GC Adapter class, remove globals, fix naming convention
Fix clang formatting
Manual fix for configure_input_player formatting
Add missing lib usb cmake command
6 years ago
Ameer
77ae7fe5dd
Clang Formatting
6 years ago
Ameer
dbe1ad4fe4
GC Adapter Implementation
6 years ago
FearlessTobi
81f825ac0a
Actually save the input when clearing/resetting to default
Co-Authored-By: xperia64 <xperiancedapps@gmail.com>
6 years ago
Kewlan
0e86640777
Edit modifier_scale with the deadzone slider
6 years ago
FearlessTobi
f86ff79a7f
yuzu/configuration: Only assert that all buttons exist when we are handling the click for a button device
This fixes failed assertions that were present in yuzu master code for 18 months.
6 years ago
CJBok
21e0086bf8
const correction
6 years ago
CJBok
ef66081b4d
clang
6 years ago
CJBok
c6939635cb
Update configure_input_player.cpp
6 years ago
CJBok
f4d746e41e
Added deadzone controls for sdl engine at input settings
6 years ago
FreddyFunk
1adf55be56
fixed clang format & addressed feedback
6 years ago
FreddyFunk
7664b6a633
yuzu/configure_input_player: Fix input handling for ZL and ZR from controllers with analog triggers
6 years ago
fearlessTobi
70943c1901
Add cancel option to analog stick configuration
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
6 years ago
Silent
70c839c55d
Qt: Fixed behaviour of buttons by connecting functors to correct signals
Following screens got fixes:
- Configure/Debug
- Configure/Input
7 years ago
Lioncash
fb580dcda2
yuzu/configuration: Make all widgets and dialogs aware of language changes
To prepare for translation support, this makes all of the widgets
cognizant of the language change event that occurs whenever
installTranslator() is called and automatically retranslates their text
where necessary.
This is important as calling the backing UI's retranslateUi() is often
not enough, particularly in cases where we add our own strings that
aren't controlled by it. In that case we need to manually refresh the
strings ourselves.
7 years ago
Lioncash
5bcab18c77
yuzu/configuration: Make function naming consistent
7 years ago
Lioncash
947c81af03
yuzu/configuration/configure_input_player: Clean up array accesses
Rather than repeatedly index arrays that have quite a large array index,
we can just use a named variable instead.
7 years ago
Lioncash
2f4062551d
yuzu/configuration/configure_input_player: Specify string conversions explicitly
Allows the player input configuration code to compile with implicit
string conversions disabled.
7 years ago
Lioncash
bf796fd5dd
yuzu/configuration/configure_input_player: Forward declare types where applicable
Allows removing the inclusion of the main input common header from the
UI config header.
7 years ago
Zach Hilman
0f42bb7a96
configure_input: Add ConfigureInputSimple as default input UI config
Greatly simplifies the current input UI, while still allowing power users to tweak advanced settings. Adds 'input profiles', which are easy autoconfigurations to make getting started easy and fast. Also has a custom option which brings up the current, full UI.
7 years ago
Lioncash
271b079fc7
yuzu/configure_input_player: Use std::size_t to represent the player index instead of u8
Prevents compiler warnings related to truncation when invoking the
dialog. It's also extremely suspect to use a u8 value here instead of a
more general type to begin with.
7 years ago
Lioncash
22e7df599f
yuzu/configure_input_player: Use a lambda expression instead of std::bind
std::bind is the pre-C++11 way of doing this.
7 years ago
Lioncash
342f0e54aa
yuzu/configure_input_player: Amend constructor initializer list order
Orders the elements the way they would actually be initialized in.
Resolves compiler warnings with gcc and clang
7 years ago
Lioncash
62051832ce
yuzu/configure_input: Remove unused function MoveGridElement
7 years ago
Zach Hilman
b131a4bbb2
configure_input: Make None a controller option instead of checkbox
7 years ago
Zach Hilman
2d8a5a4e9b
hid: Use player-defined controller type as PREFERRED_CONTROLLER
7 years ago
Zach Hilman
25c07217cf
qt: Move controller button config to separate dialog
Handles button configuration for all controller layouts and debug pads. Configurable at construction.
7 years ago