Commit Graph

9903 Commits (7e2467e695f6bc41cdcd7f5eb8dca968ba41b340)
 

Author SHA1 Message Date
Zach Hilman a9fa890f14 software_keyboard: Fix erroneous extra PushNormalData 6 years ago
Zach Hilman d68795c665 software_keyboard: Return correct result code on user cancel operation 6 years ago
Zach Hilman 32775125b7 applet: Add AppletDataBroker to manage HLE to AM service interaction
This cleans up most of the callbacks and such in the Applets::Applet interface, while also properly implementing all four data channels.
6 years ago
bunnei 048da7240d
Merge pull request #1634 from DarkLordZach/better-hid-2
hid: Add support for multiplayer and multilayout controllers
6 years ago
Zach Hilman 96535c13a5 software_keyboard: Use correct offset for inital text string 6 years ago
Lioncash 233e495c14 kernel/shared_memory: Make Map() and Unmap() take the target process by reference rather than as a pointer
Both member functions assume the passed in target process will not be
null. Instead of making this assumption implicit, we can change the
functions to be references and enforce this at the type-system level.
6 years ago
Lioncash fb5d4b17de kernel/shared_memory: Add a const qualified member function overload for GetPointer()
Given this doesn't mutate instance state, we can provide a
const-qualified variant as well.
6 years ago
Lioncash 2d37ca3726 kernel/shared_memory: Use 64-bit types for offset and size in CreateForApplet
Keeps the interface consistent with the regular Create() function.
6 years ago
Lioncash 76ac234bf6 kernel/shared_memory: Make GetPointer() take a std::size_t instead of a u32
Makes the interface nicer to use in terms of 64-bit code, as it makes it
less likely for one to get truncation warnings (and also makes sense in
the context of the rest of the interface where 64-bit types are used for
sizes and offsets
6 years ago
Lioncash f472232705 kernel/shared_memory: Make data members private
Rather than allow unfettered access to the class internals, we hide all
members by default and create and API that other code can operate
against.
6 years ago
Lioncash 43e7c6cf49 ldr: Clean up error codes
The separate enum isn't particularly necessary here, and the values can
just be directly put into the ResultCode instances, given the names are
also self-documenting here.
6 years ago
Zach Hilman c3becdbca7 filesystem: Clear registered union paths on factory creation 6 years ago
Zach Hilman aef0d88165 configure_input: Use Joycons Docked instead of Connected as label 6 years ago
Zach Hilman 312ef596a5 configure_input_player: Set minimum width on controls 6 years ago
Zach Hilman dd92db3fb0 configure_input: Properly update UI components on removal of player 6 years ago
Zach Hilman e58c951a59 configure_input: Make None a controller option instead of checkbox 6 years ago
Zach Hilman 3a6cd5b3c8 hid: Use player-defined controller type as PREFERRED_CONTROLLER 6 years ago
Zach Hilman 3d1a221893 qt: Move controller button config to separate dialog
Handles button configuration for all controller layouts and debug pads. Configurable at construction.
6 years ago
Zach Hilman afe8df5020 qt: Add UI to configure touchscreen parameters
This allows adjusting the finger, diameter, and angle of the emulated touchscreen. It also provides a warning to the user about what changing these parameters can do.
6 years ago
Zach Hilman 2e1dd9c649 qt: Add UI to configure mouse buttons
Supports setting the five mouse buttons to any valid controller button/keyboard key (Left, Right, Middle, Foward, Back)
6 years ago
Zach Hilman f1aec256d7 configure_input: Add support for multiplayer and controller types
This moves the actual button configuration to a separate dialog and only has the enabled and type controls in the tab.
6 years ago
Zach Hilman 55ded706d6 hid/npad: Update NPad to use player controller bindings and type 6 years ago
Zach Hilman e9145c3e16 hid/touchscreen: Update Touchscreen to use advanced parameters
Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled.
6 years ago
Zach Hilman 3b25426bd9 hid: Add controller bindings for Mouse controller 6 years ago
Zach Hilman 0fd45e78f4 hid: Add keyboard bindings for Keyboard controller 6 years ago
Zach Hilman 06cf050c0a hid: Add controller bindings for DebugPad controller
Used by developers to test games, not present on retail systems. Some games are known to respond to DebugPad input though, for example Kirby Star Allies.
6 years ago
Zach Hilman d1b7c65b9e yuzu/config: Add (de-)serialization for multiplayer
Defaults to full keyboard for keyboard -- It did not seem to be necessary to make the keyboard configurable (besides enabled/disabled).
6 years ago
Zach Hilman b8f7f9651e yuzu_cmd/config: Add config deserialization for multiplayer 6 years ago
Zach Hilman c77454b9d0 settings: Add settings for multiple players and controllers
Uses the PlayerInput struct to represent all of the data that constitutes a player.
6 years ago
Zach Hilman fd5fa48674 settings: Add Native type for keyboard 6 years ago
Zach Hilman 152422bab1 settings: Add Native type for mouse buttons 6 years ago
David Marcec 0c3e7b7086 Added missing start/end touch attributes to touchscreen 6 years ago
David Marcec f66c6fe554 Added debugpad skeleton 6 years ago
David Marcec 362b28d052 Added controller helper funcs 6 years ago
David Marcec a69b9d73f5 Changed polling rate of hid and Right joycon rotation 6 years ago
David Marcec 7fbe2c83a7 Left joycon rotation button remapping 6 years ago
David Marcec b9c1e4b0e7 Added automatic npad switch based on supported stylesets 6 years ago
David Marcec beab38601b Added multi-input support and controller assignment at any port 6 years ago
David Marcec 60fecee1ec Removed hard coded values for width and height 6 years ago
Zach Hilman ea680bea60 software_keyboard: Check for UTF-8 config flag 6 years ago
bunnei f02b125ac8
Merge pull request #1717 from FreddyFunk/swizzle-gob
textures/decoders: Replace magic numbers
6 years ago
bunnei 6dc33fb812
Merge pull request #1693 from Tinob/master
Missing ogl states
6 years ago
bunnei 5e6ad795cc
Merge pull request #1555 from ccawley2011/clang-format-docker
travis: Use pre-built image for clang-format target
6 years ago
bunnei 997c3dc6ff
Merge pull request #1619 from janisozaur/patch-12
Handle missing git info when building
6 years ago
Frederic L 11a1442229 Eliminated unnessessary memory allocation and copy (#1702) 6 years ago
bunnei 3e93c30630
Merge pull request #1640 from DarkLordZach/game-list-reload
game_list: Only reload game list after relevant settings changed
6 years ago
bunnei e34d47e6e3
Merge pull request #1620 from DarkLordZach/ldr-ro
ldr_ro: Complete LDR:RO implementation
6 years ago
bunnei f08b4cbbc8
Merge pull request #1718 from ogniK5377/lets-go-softlock
Implemented CalculateStandardUserSystemClockDifferenceByUser
6 years ago
Schplee 9a47e40dd6 Correctly sets default system language for yuzu-CLI (#1727)
* Correctly sets default system language for yuzu-CLI

A user reported that yuzu_cmd runs games in Japanese rather than the correct default of English (like yuzu-qt does correctly), this change fixes that.

* fix clang issue

deleted whitespace
6 years ago
bunnei da238db6df
Merge pull request #1730 from ReinUsesLisp/fix-intel
gl_rasterizer: Remove default clip distance
6 years ago