Lioncash
2d37ca3726
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
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
7 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.
7 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.
7 years ago
Zach Hilman
c3becdbca7
filesystem: Clear registered union paths on factory creation
7 years ago
Zach Hilman
3a6cd5b3c8
hid: Use player-defined controller type as PREFERRED_CONTROLLER
7 years ago
Zach Hilman
55ded706d6
hid/npad: Update NPad to use player controller bindings and type
7 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.
7 years ago
Zach Hilman
3b25426bd9
hid: Add controller bindings for Mouse controller
7 years ago
Zach Hilman
0fd45e78f4
hid: Add keyboard bindings for Keyboard controller
7 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.
7 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.
7 years ago
Zach Hilman
fd5fa48674
settings: Add Native type for keyboard
7 years ago
Zach Hilman
152422bab1
settings: Add Native type for mouse buttons
7 years ago
David Marcec
0c3e7b7086
Added missing start/end touch attributes to touchscreen
7 years ago
David Marcec
f66c6fe554
Added debugpad skeleton
7 years ago
David Marcec
362b28d052
Added controller helper funcs
7 years ago
David Marcec
a69b9d73f5
Changed polling rate of hid and Right joycon rotation
7 years ago
David Marcec
7fbe2c83a7
Left joycon rotation button remapping
7 years ago
David Marcec
b9c1e4b0e7
Added automatic npad switch based on supported stylesets
7 years ago
David Marcec
beab38601b
Added multi-input support and controller assignment at any port
7 years ago
David Marcec
60fecee1ec
Removed hard coded values for width and height
7 years ago
Zach Hilman
ea680bea60
software_keyboard: Check for UTF-8 config flag
7 years ago
Tobias
13f79cc5bd
svc: ResetSignal is not stubbed
https://user-images.githubusercontent.com/20753089/48677874-b8e01c80-eb7b-11e8-8043-b99faa29022c.PNG
7 years ago
Zach Hilman
02e6602baa
software_keyboard: Push all data over all channels on dialog completion
7 years ago
Zach Hilman
4ee087fb3c
applet: Use std::queue instead of std::vector for storage stack
7 years ago
Zach Hilman
19b2571aec
applet: Add operation completed callback
7 years ago
Zach Hilman
6209fe0c27
software_keyboard: Push buffer size to offset 0x4 in output data
7 years ago
Zach Hilman
8b433beff3
software_keyboard: Make GetText asynchronous
a
7 years ago
Zach Hilman
7cfb29de23
am: Allow applets to push multiple and different channels of data
7 years ago
Zach Hilman
3cf7246e37
am: Implement ILibraryAppletAccessor IsCompleted and GetResult
7 years ago
Zach Hilman
fed6ab14c3
am: Implement text check software keyboard mode
Allows the game to verify and send a message to the frontend.
7 years ago
Zach Hilman
e696ed1f4d
am: Deglobalize software keyboard applet
7 years ago
Zach Hilman
a81645400f
qt/main: Register Qt Software Keyboard frontend with AM
Allows using Qt provider over default.
7 years ago
Zach Hilman
48fcb43585
am: Construct and use proper applets with ILibraryAppletAccessor
Allows use of software keyboard applet and future applets to be easily added by adding enum ID and a switch case.
7 years ago
Zach Hilman
de16c1e453
am/applets: Add connector between frontend and AM applet classes
Provides a middleman between the Frontend provider class and the expected AM::Applets::Applet class needed by ILibraryAppletAccessor
7 years ago
Zach Hilman
ae53b84efd
frontend/applets: Add frontend software keyboard provider and default
Default implementation will return "yuzu" for any string. GUI clients (or CLI) can implement the Frontend::SoftwareKeyboardApplet class and register an instance to provide functionality.
7 years ago
Zach Hilman
5b95de0c9c
am/applets: Add Applet superclass to describe a generic applet
Adds an Initialize and Execute methods which are used by the ILibraryAppletAccessor to start and control the applet.
7 years ago
Zach Hilman
731b4bd691
am: Unstub ILibraryAppletAccessor::Start
Now starts the applet provided in constructor.
7 years ago
Zach Hilman
ba03bfa430
am: Implement PopInteractiveOutData and PushInteractiveInData
Used by software keyboard applet for data transfer.
7 years ago
Zach Hilman
5ce6b8fea7
am: Convert storage stack to vector
std::stack was no longer suitable for non-trivial operations
7 years ago
Zach Hilman
0682a908c0
am: Move AM::IStorage to header
Needs to be accessible by applet files.
7 years ago
Zach Hilman
c7b6c9de9c
am: Move IStorageAccessor to header and update backing buffer
Writes to an AM::IStorage object through an IStorageAccessor will now be preserved once the accessor is destroyed.
7 years ago
Zach Hilman
76d515327b
am: Implement CreateTransferMemoryStorage
Creates an AM::IStorage object with the contents of the transfer memory located at the handle provided.
7 years ago
Zach Hilman
7901de2b75
svc: Implement svcCreateTransferMemory
Seems to be used and created identically to SharedMemory, so just reuse that.
7 years ago
Zach Hilman
51af996854
ldr_ro: Add error check for memory allocation failure
7 years ago
Zach Hilman
c91dc417d5
vi: Implement TransactParcel for Disconnect and DetachBuffer
Used by homebrew on exit. According to switchbrew, returns an empty response parcel with one zero in it.
7 years ago
MysticExile
03f274d8c1
Stubbed am:EnableApplicationCrashReport
7 years ago
bunnei
585e6fd426
hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.
- Fixes audio issues with Pokemon: Let's Go Pikachu & Eevee.
7 years ago
David Marcec
c440e8b8e1
Implemented CalculateStandardUserSystemClockDifferenceByUser
Seems pokemon calls this sometimes and it caused "random crashes"
7 years ago