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