Commit Graph

24 Commits (eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13)

Author SHA1 Message Date
german77 14d5202da6 input_common: Fix mouse panning behaivour 5 years ago
ameerj 0ed1077763 configure_input: Use u8 for mouse sensitivity 5 years ago
lat9nq a949ee0410 general: Code formatting improvements
Slight improvements to readability.

Dropped suggestions for string_view (settings.h:101), pass by value
(settings.h:82), reverting double to a float (config.cpp:316), and other
smaller ones, some out of scope.

Addresses review feedback.

Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
5 years ago
lat9nq b91b76df4f general: Make most settings a BasicSetting
Creates a new BasicSettings class in common/settings, and forces setting
a default and label for each setting that uses it in common/settings.
Moves defaults and labels from both frontends into common settings.
Creates a helper function in each frontend to facillitate reading the
settings now with the new default and label properties.

Settings::Setting is also now a subclass of Settings::BasicSetting. Also
adds documentation for both Setting and BasicSetting.
5 years ago
Chloe f216a9432b
Add missing includes (#6521)
* Add missing includes

* Add array
5 years ago
Rodrigo Locatti 0a39163a90 input_common/mouse_input: Fix data race
Fix data race using std::jthread and std::stop_token.
5 years ago
german77 6e81473574 input_common: Release mouse buttons on out of focus 5 years ago
bunnei a4c6712a4b common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
bunnei 827dcad26e
Merge pull request #6040 from german77/toggleKeyboard
Enable toggle buttons for keyboard and mouse
5 years ago
german77 41e94b7b99 Enable mouse toggle buttons 5 years ago
german77 4738e14cb0 inputCommon: Mouse fixes 5 years ago
german 594973bdd2 Improve mouse panning 5 years ago
bunnei e53b6ecc76
Merge pull request #5869 from german77/mousePanning
input_common: Add mouse panning
5 years ago
german 52b79ac009 Add mouse panning 5 years ago
german c9597af39d Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mouse 5 years ago
Morph a745d87971 general: Fix various spelling errors 5 years ago
german 80fece4e08 Allow to invert analog axis with right click 5 years ago
Lioncash 424bffcd3f mouse_poller: Remove unused includes 5 years ago
Lioncash 16aadcc354 mouse_input: Invert conditional in UpdateYuzuSettings()
Allows the struct to be constructed in place.
5 years ago
Lioncash 395997178b mouse_input: Remove two casts and amend some formatting
Removes the use of two static casts and improves the readability of some
vectors slightly.
5 years ago
Lioncash 5842a767a9 mouse_input: Resolve a -Wdocumentation warning 5 years ago
Lioncash 774d7eab64 mouse_input: Remove unused includes 5 years ago
german ece0ae2bfb Fix implicit conversion in mouse input 5 years ago
german e46f0e084c Implement full mouse support 5 years ago