Lioncash
59a56fa810
general: Use template deduction guides for lock_guard
Same behavior, less code.
5 years ago
Lioncash
652c36ef9c
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
5bdd042c3e
applets/profile_select: Resolve a warning in exec()
Resolves a warning where not all control paths return a value.
5 years ago
Kewlan
2204839317
Don't ask for profile when there's only one.
5 years ago
Morph
6fa2144d90
configure_input_player: Fix modifier buttons
Fix them for real this time, now they finally work.
5 years ago
Lioncash
d44d662529
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
5 years ago
bunnei
3fb8109c94
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
6ed317da95
qt/game_list: Give GameListSearchField::KeyReleaseEater a parent
This fixes a memory leak as KeyReleaseEater's destructor was never
called.
5 years ago
Morph
929b38e5b5
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
4464a33c93
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
3fbbfd0561
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
ab1b7eefc8
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
2827ce5194
game_list: Eliminate redundant argument copies
Several functions can be taken by const reference to avoid copies
5 years ago
ReinUsesLisp
f4dbeb72d7
renderer_opengl: Remove emulated mailbox presentation
Emulated mailbox presentation was causing performance issues on
Nvidia's OpenGL driver. Remove it.
5 years ago
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
Lioncash
767fcd8a81
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
8efb2c5537
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
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
Morph
0ce52a8070
applets/controller: Resolve several compiler warnings
Resolves -Wsign-compare and -Wunused-variable
6 years ago
Morph
5c853d4dc7
Address feedback
6 years ago
Morph
0efbd23445
clang-format
6 years ago
Morph
c2ca06a65c
main: Apply settings after applet configuration is complete.
6 years ago
Morph
38fcde96d7
applets/controller: Load configuration prior to setting up connections
This avoids unintentionally changing the states of elements while loading them in.
6 years ago
Morph
afa931cb3c
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()
6 years ago
Morph
00df69232a
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
6 years ago
Morph
4c621b9b09
Project Mjölnir: Part 2 - Controller Applet
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
lat9nq
ff09c0c1c9
main: Use three dots to complete the ellipsis
Fixes a typo in the UI file. An ellipsis has 3 dots.
5 years ago
FearlessTobi
ee199ead59
Address second batch of reviews
6 years ago
Lioncash
9f9e02ba58
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
Prevents sign mismatch warnings in the loop conditionals.
6 years ago
FearlessTobi
708e015ffc
Reolve reorder warning
6 years ago
FearlessTobi
01dbe3a624
Address review comments and fix code compilation
6 years ago
Lioncash
428c1071f8
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.
6 years ago
Lioncash
55cc9b868b
game_list_p: Avoid string churn in GameListItemPath data()
6 years ago
Lioncash
75f4e7d6b0
game_list_p: Mark some constants as constexpr
Consistency change with how we mark constants in the rest of the
codebase.
6 years ago
FearlessTobi
2903f0f7ce
yuzu: Add motion and touch configuration
6 years ago
Lioncash
752b626714
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.
6 years ago
Morph
c20b902843
yuzu/configuration: Fix index out of bounds for default_analogs
6 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.
6 years ago
Morph
0d6a2a37d2
configure_input_player: Fix modifier scale button mapping
6 years ago
Morph
bc37d84a84
configuration/input: Add support for mouse button clicks
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
6 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
Lioncash
ecb9029c6a
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
3fa34fa7bf
Address feedback, add shader compile notifier, update setting text
6 years ago
MerryMage
1057908c3a
dynarmic: Add unsafe optimizations
6 years ago