Lioncash
98f4c5e7b8
general: Use template deduction guides for lock_guard
Same behavior, less code.
5 years ago
Lioncash
061a63547f
controller: Convert led_patterns integer literals to bool literals
'bool' isn't always guaranteed to be the same size as an int, so this
can technically cause truncation warnings if we support other platforms.
5 years ago
Morph
9afbcd9e8a
applets/profile_select: Resolve a warning in exec()
Resolves a warning where not all control paths return a value.
5 years ago
Kewlan
85b5b816cf
Don't ask for profile when there's only one.
5 years ago
Morph
ff82f3894a
configure_input_player: Fix modifier buttons
Fix them for real this time, now they finally work.
5 years ago
Lioncash
046c0c91a3
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
5 years ago
bunnei
62c6c9f6a6
service: time: Update current time with changes to RTC setting.
- This can be used to advance time, e.g. for Pokemon Sword/Shield pokejobs.
5 years ago
ReinUsesLisp
ae6df703f5
qt/game_list: Give GameListSearchField::KeyReleaseEater a parent
This fixes a memory leak as KeyReleaseEater's destructor was never
called.
5 years ago
Morph
86e4aa81e9
main: Allow applets to display on top while fullscreen
Using the Qt::WindowStaysOnTopHint flag allows these dialogs to show up on top while running in fullscreen. However, if yuzu goes out of focus (by alt-tabbing or otherwise), this flag does not seem to have an effect.
5 years ago
Lioncash
aa35e51fcd
install_dialog: Make use of [[nodiscard]] where applicable
Allows the compiler to warn against cases where the return value isn't
used (which would be a bug).
5 years ago
Lioncash
e107870bc8
install_dialog: Remove unused function prototype
This function doesn't have an implementation, so it can be removed to
prevent others from unintentionally using it.
5 years ago
Lioncash
f43a1da808
game_list: Make game list function naming consistent
Makes the naming consistent with the rest of the functions that are
present.
5 years ago
Lioncash
d264b7375c
game_list: Eliminate redundant argument copies
Several functions can be taken by const reference to avoid copies
5 years ago
ReinUsesLisp
7003090187
renderer_opengl: Remove emulated mailbox presentation
Emulated mailbox presentation was causing performance issues on
Nvidia's OpenGL driver. Remove it.
5 years ago
Morph
70499b8cbd
configure_input_player: Fixes motion mapping using ConfigureButtonClick
5 years ago
Morph
65d9def873
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
Lioncash
e0dd440b1f
crypto/key_manager: Remove dependency on the global system accessor
We can supply the content provider as an argument instead of hardcoding
a global accessor in the implementation.
5 years ago
ReinUsesLisp
9e87193725
video_core: Remove all Core::System references in renderer
Now that the GPU is initialized when video backends are initialized,
it's no longer needed to query components once the game is running: it
can be done when yuzu is booting.
This allows us to pass components between constructors and in the
process remove all Core::System references in the video backend.
6 years ago
Morph
5b6268d26a
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
6ee8eab670
Add cemu hook changes related to PR #4609
5 years ago
Morph
8e18b61972
configure_input_player: Show/hide motion buttons based on the controller
5 years ago
german
ff679f3d17
Include HID and configuration changes related to motion
5 years ago
Morph
b65456b958
applets/controller: Resolve several compiler warnings
Resolves -Wsign-compare and -Wunused-variable
5 years ago
Morph
076e4d44c3
Address feedback
5 years ago
Morph
1ec71b6ea0
clang-format
5 years ago
Morph
6597b3817c
main: Apply settings after applet configuration is complete.
5 years ago
Morph
72b2f5d34f
applets/controller: Load configuration prior to setting up connections
This avoids unintentionally changing the states of elements while loading them in.
5 years ago
Morph
aeec0f8a38
applets/controller: Make 8 a static constexpr value of NUM_PLAYERS
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
5 years ago
Morph
5ce3015945
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
5 years ago
Morph
5219615418
Project Mjölnir: Part 2 - Controller Applet
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
lat9nq
0914e84014
main: Use three dots to complete the ellipsis
Fixes a typo in the UI file. An ellipsis has 3 dots.
5 years ago
FearlessTobi
d1e1ea0fef
Address second batch of reviews
5 years ago
Lioncash
92c162126b
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
Prevents sign mismatch warnings in the loop conditionals.
5 years ago
FearlessTobi
0aa6ec4276
Reolve reorder warning
5 years ago
FearlessTobi
d176feffad
Address review comments and fix code compilation
5 years ago
Lioncash
1aba91e993
bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
The list of points is returned by const reference, so we don't need to
make a copy of every element in the list.
5 years ago
Lioncash
fae65d8a72
game_list_p: Avoid string churn in GameListItemPath data()
5 years ago
Lioncash
cde658cb27
game_list_p: Mark some constants as constexpr
Consistency change with how we mark constants in the rest of the
codebase.
5 years ago
FearlessTobi
e6bd1fd1b8
yuzu: Add motion and touch configuration
6 years ago
Lioncash
bcd3c79eca
yuzu/main: Amend lifetime issues with InputSubsystem
Due to the way Qt performs destruction of parent/child widgets, we need
to make the lifetime of the input subsystem shared across the main
window and the render window.
5 years ago
Morph
403e36fab2
yuzu/configuration: Fix index out of bounds for default_analogs
5 years ago
Lioncash
9e1b0af259
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
f5f30781ae
configure_input_player: Fix modifier scale button mapping
6 years ago
Morph
1bd70d73c0
configuration/input: Add support for mouse button clicks
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
6 years ago
Morph
efa0b7a056
Address feedback
6 years ago
Morph
f0fac0c7fb
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
43ce33b6cc
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
Lioncash
f6bb905182
common/telemetry: Migrate namespace into the Common namespace
Migrates the Telemetry namespace into the Common namespace to make the
code consistent with the rest of our common code.
6 years ago
ameerj
31a76410e8
Address feedback, add shader compile notifier, update setting text
6 years ago
MerryMage
836ec9176a
dynarmic: Add unsafe optimizations
6 years ago