Zach Hilman
a52a226ded
software_keyboard: Fix erroneous extra PushNormalData
7 years ago
Zach Hilman
3b90729c00
software_keyboard: Return correct result code on user cancel operation
7 years ago
Zach Hilman
0660384309
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.
7 years ago
bunnei
a34e584ed2
Merge pull request #1634 from DarkLordZach/better-hid-2
hid: Add support for multiplayer and multilayout controllers
7 years ago
Zach Hilman
0e6547f499
software_keyboard: Use correct offset for inital text string
7 years ago
Lioncash
0067bc137f
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.
7 years ago
Lioncash
a356495312
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.
7 years ago
Lioncash
ee329d2bdf
kernel/shared_memory: Use 64-bit types for offset and size in CreateForApplet
Keeps the interface consistent with the regular Create() function.
7 years ago
Lioncash
5833b84689
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
7 years ago
Lioncash
d997cf19e0
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.
7 years ago
Lioncash
93babd2c2f
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.
7 years ago
Zach Hilman
10eb01586e
configure_input: Use Joycons Docked instead of Connected as label
7 years ago
Zach Hilman
fab550b629
configure_input_player: Set minimum width on controls
7 years ago
Zach Hilman
63d941fb6a
configure_input: Properly update UI components on removal of player
7 years ago
Zach Hilman
b131a4bbb2
configure_input: Make None a controller option instead of checkbox
7 years ago
Zach Hilman
2d8a5a4e9b
hid: Use player-defined controller type as PREFERRED_CONTROLLER
7 years ago
Zach Hilman
25c07217cf
qt: Move controller button config to separate dialog
Handles button configuration for all controller layouts and debug pads. Configurable at construction.
7 years ago
Zach Hilman
2ec994c396
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.
7 years ago
Zach Hilman
558777d83f
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)
7 years ago
Zach Hilman
b43b2d857f
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.
7 years ago
Zach Hilman
8e4125d25f
hid/npad: Update NPad to use player controller bindings and type
7 years ago
Zach Hilman
651d96479a
hid/touchscreen: Update Touchscreen to use advanced parameters
Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled.
7 years ago
Zach Hilman
1abee80ce3
hid: Add controller bindings for Mouse controller
7 years ago
Zach Hilman
701c23ec92
hid: Add keyboard bindings for Keyboard controller
7 years ago
Zach Hilman
ba768cfdc7
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.
7 years ago
Zach Hilman
288dfe1ba5
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).
7 years ago
Zach Hilman
d0c4137dc1
yuzu_cmd/config: Add config deserialization for multiplayer
7 years ago
Zach Hilman
bcbd6015f3
settings: Add settings for multiple players and controllers
Uses the PlayerInput struct to represent all of the data that constitutes a player.
7 years ago
Zach Hilman
8cfe1e015d
settings: Add Native type for keyboard
7 years ago
Zach Hilman
b75d8cbc89
settings: Add Native type for mouse buttons
7 years ago
David Marcec
d59c9bc684
Added missing start/end touch attributes to touchscreen
7 years ago
David Marcec
a15c3d6b27
Added debugpad skeleton
7 years ago
David Marcec
8ed0216784
Added controller helper funcs
7 years ago
David Marcec
2c23ad1189
Changed polling rate of hid and Right joycon rotation
7 years ago
David Marcec
7a38294b38
Left joycon rotation button remapping
7 years ago
David Marcec
086c24e4ed
Added automatic npad switch based on supported stylesets
7 years ago
David Marcec
e9cf16c9ac
Added multi-input support and controller assignment at any port
7 years ago
Zach Hilman
74cf9c3aa3
software_keyboard: Check for UTF-8 config flag
7 years ago
bunnei
e84cceb645
Merge pull request #1717 from FreddyFunk/swizzle-gob
textures/decoders: Replace magic numbers
7 years ago
bunnei
3418342724
Merge pull request #1693 from Tinob/master
Missing ogl states
7 years ago
bunnei
a1338f934d
Merge pull request #1555 from ccawley2011/clang-format-docker
travis: Use pre-built image for clang-format target
7 years ago
bunnei
a68435484e
Merge pull request #1619 from janisozaur/patch-12
Handle missing git info when building
7 years ago
Frederic L
d2dd9cfc1d
Eliminated unnessessary memory allocation and copy ( #1702 )
7 years ago
bunnei
ae160715f9
Merge pull request #1640 from DarkLordZach/game-list-reload
game_list: Only reload game list after relevant settings changed
7 years ago
bunnei
31dec5b54d
Merge pull request #1620 from DarkLordZach/ldr-ro
ldr_ro: Complete LDR:RO implementation
7 years ago
bunnei
f369df426e
Merge pull request #1718 from ogniK5377/lets-go-softlock
Implemented CalculateStandardUserSystemClockDifferenceByUser
7 years ago
Schplee
99d028e51f
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
7 years ago
bunnei
14ad08528a
Merge pull request #1730 from ReinUsesLisp/fix-intel
gl_rasterizer: Remove default clip distance
7 years ago
bunnei
51d919b7c4
Merge pull request #1671 from DarkLordZach/vi-disconnect
vi: Implement TransactParcel for Disconnect and DetachBuffer
7 years ago
ReinUsesLisp
b39ae68211
gl_rasterizer: Remove default clip distance
7 years ago