FearlessTobi
01dbe3a624
Address review comments and fix code compilation
5 years ago
FearlessTobi
2903f0f7ce
yuzu: Add motion and touch configuration
6 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
6 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
M&M
c6f9cad218
logging/settings: Increase maximum log size to 100 MB and add extended logging option
The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session.
This commit also fixes a few errors that are present in the general debug menu.
6 years ago
ameerj
3fa34fa7bf
Address feedback, add shader compile notifier, update setting text
6 years ago
MerryMage
1057908c3a
dynarmic: Add unsafe optimizations
6 years ago
Lioncash
ea46b5546b
configure_hotkeys: Don't translate empty strings
There's no need to translate an empty string. This just gives
translators unnecessary work.
6 years ago
Lioncash
a87209e09d
common/fileutil: Convert namespace to Common::FS
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
6 years ago
Lioncash
f6ff8a0235
configuration_shared: Simplify name lookup in highlighting functions
We can query the given object name directly from the widget itself. This
removes any potential for forgetting to change the name if the widget
gets renamed and makes the API much simpler (just pass in the widget,
and not worry about its name).
6 years ago
Lioncash
78ddcbe3ba
General: Tidy up clang-format warnings part 2
6 years ago
ameerj
5d4750541b
Remove UI changes
This PR is now only the Analog devices handling the range value defaulting at 100%
6 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.
6 years ago
Morph
9fa696c0d5
configure_graphics: Remove Force 30 FPS mode
The introduction of multicore rendered this setting non-functional as timing code was changed.
This removes the setting entirely.
6 years ago
lat9nq
6befb6e733
config: Make the save-as identifier more consistent
Solves an issue with restoring the value upon reloading program.
6 years ago
FearlessTobi
8574303acc
yuzu/configure_debug: Remove duplicated checkboxes
Those are already found in the Filesystem tab.
They were added back to the Debug tab by mistake in the Vulkan PR.
6 years ago
lat9nq
c9dd8cd8a5
configure_ui: Ensure a separator follows the returned path
6 years ago
lat9nq
90a5f09f8c
configure_ui: don't use an empty string
If the user had cancelled, it would clear the text box. That behavior was sanitized underneath, but may anyways cause inconveniences.
6 years ago
lat9nq
3db1abfcbc
configuration: Setup UI to config screenshot path and saving
This adds two options to the General -> UI tab. The first disables picking a place to save the file. The second chooses a default directory for saving screenshots.
6 years ago
lat9nq
255f148a11
configure_graphics_advnaced: clang-format mk ii
6 years ago
lat9nq
41724d04c1
configure_graphics_advanced: Fix oversight from rebase
6 years ago
lat9nq
a8532de77b
configuration_shared: Remove unused functions
These were only kept for compatibility with old code during testing.
6 years ago
lat9nq
932de8986b
configuration: Use forward declares and remove extraneous structs
6 years ago
lat9nq
7df8f2b760
configuration_shared: Make CheckState strongly typed
Also gets rid of unnecessary explicit namespace usage.
6 years ago
lat9nq
d26e1a1839
clang-format
6 years ago
lat9nq
3676efbf03
configuration_shared: Break up tracker structs to respective classes
One less global variable.
6 years ago
lat9nq
54f4eba5a9
configure_system: break instead of semicolon
Makes the code more readable
Co-Authored-By: LC <lioncash@users.noreply.github.com>
6 years ago
lat9nq
c2fa65efb6
clang-format
6 years ago
lat9nq
f5f2f3e926
configure_system: Highlight labels on startup
whoops
6 years ago
lat9nq
a0c66140a6
configure_graphics: Fix layout in global config
Fixes a regression where the global config takes up a lot of extra space.
6 years ago
lat9nq
a186061bb9
configure_per_game: Improve style consistency
The way the configurations are set up, it is not trivial to do this. I'll leave it as is, but the API selection, and the background color and volume slider selectors are kind of not following the style.
6 years ago
lat9nq
2cb8f9ba8b
configure_system: Implement highlighted overrides
6 years ago
lat9nq
e79a198006
configuration_shared: Add default combobox setup function
Not a catch-all, but helps clean up the code for when I do this a lot. Also fixes some bugs caught in configure_graphics.
6 years ago
lat9nq
df6af4e1a3
configuration_shared: Use an int instead of a QString
I noticed some of the code could be reduced to just passing the function an int, since I was doing the same thing over and over. Also clang-formats configure_graphics
6 years ago
lat9nq
d75846daff
configure_graphics_advanced: Implement highlighted overrides
6 years ago
lat9nq
14ab428a82
configuration_shared: Switch back to background colors
Let's see if I make up my mind.
6 years ago
lat9nq
cfff443f00
configuration_shared: Better use global text
Also adds trackers for graphics and advanced graphics
6 years ago
lat9nq
5565548fb7
configure_audio: fix UI margins
6 years ago
lat9nq
c80b9c67a7
configure_graphics: Implement highlighted overrides
6 years ago
lat9nq
0c8536e020
configure_audio: Implement highlighted overrides
6 years ago
lat9nq
1408d300ea
configuration_shared: Require name of the widget for highlighting
Prevents mass-coloring of elements later on
6 years ago
lat9nq
26b196fcb2
configuration_shared: Use a highlight instead of background color
Fixes visibility in the built-in dark theme
6 years ago
lat9nq
b4c860d57e
configure_general: Implement manual tristate buttons
6 years ago