aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid
AgeCommit message (Collapse)Author
2019-09-04dittoMorph1984
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
2019-09-04IsVibrationEnabled() as a const member funcMorph1984
2019-09-04clang-formatMorph1984
2019-09-04Update npad.hMorph1984
2019-09-04Update npad.cppMorph1984
2019-09-04Update hid.hMorph1984
2019-09-04Update hid.cppMorph1984
2019-07-08addressed issuesDavid Marcec
2019-07-01hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignmentDavid Marcec
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future
2019-05-18core/kernel/object: Rename ResetType enum membersLioncash
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore.
2019-04-11service: Update service function tablesLioncash
Updates function tables based off information from SwitchBrew.
2019-03-24core/core_timing: Make callback parameters consistentLioncash
In some cases, our callbacks were using s64 as a parameter, and in other cases, they were using an int, which is inconsistent. To make all callbacks consistent, we can just use an s64 as the type for late cycles, given it gets rid of the need to cast internally. While we're at it, also resolve some signed/unsigned conversions that were occurring related to the callback registration.
2019-03-21Merge pull request #1933 from DarkLordZach/cheat-enginebunnei
file_sys: Implement parser and interpreter for game memory cheats
2019-03-20Merge pull request #2090 from FearlessTobi/port-4599bunnei
Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField
2019-03-05vm_manager: Remove cheat-specific ranges from VMManagerZach Hilman
2019-03-04controllers/npad: Add accessor for current press stateZach Hilman
Allows frontend/features to access pressed buttons conveniently as possible
2019-02-27service/hid: Amend forward declaration of ServiceManagerLioncash
The SM namespace is within the Service namespace, so this was forward declaring a type that didn't exist.
2019-02-15core_timing: Convert core timing into a classLioncash
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash
Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
2019-02-06remove all occurance of specifying endianness inside BitFieldWeiyi Wang
This commit it automatically generated by command in zsh: sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.) BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter.
2018-12-28travis: Use correct package for linux Qt5WebEngineZach Hilman
2018-12-28web_browser: Add bounds checking to applet interfaceZach Hilman
2018-12-28hid: Make Hid service accessible and add GetPressStateZach Hilman
2018-12-27Merge pull request #1929 from bunnei/fix-hidbunnei
hid: Fix SetNpadJoyHoldType and improve logging.
2018-12-26npad: Remove code to invert input in horizontal mode.bunnei
- This was incorrect, the game appears to handle this for us. - Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey.
2018-12-21hid: Fix SetNpadJoyHoldType and improve logging.bunnei
2018-12-03Merge pull request #1803 from DarkLordZach/k-able-eventbunnei
kernel: Divide Event into ReadableEvent and WritableEvent
2018-12-03Fixed crash with SetNpadModeDavid Marcec
fixed crash due to handheld
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman
2018-11-29core: Port all current usages of Event to Readable/WritableEventZach Hilman
2018-11-29Merge pull request #1801 from ogniK5377/log-before-executebunnei
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
2018-11-28Merge pull request #1817 from DarkLordZach/npad-idx-fixbunnei
npad: Use NPadIdToIndex to prevent invalid array access
2018-11-28npad: Use NPadIdToIndex to prevent invalid array accessZach Hilman
2018-11-27npad: Fix copy/paste error with LED position assignmentsZach Hilman
2018-11-26Changed logging to be "Log before execution", Added more error logging, all ↵David Marcec
services should now log on some level
2018-11-22debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)Zach Hilman
Prevents memory exceptions when the debug pad is enabled.
2018-11-18hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman
2018-11-18hid/npad: Update NPad to use player controller bindings and typeZach Hilman
2018-11-18hid/touchscreen: Update Touchscreen to use advanced parametersZach Hilman
Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled.
2018-11-18hid: Add controller bindings for Mouse controllerZach Hilman
2018-11-18hid: Add keyboard bindings for Keyboard controllerZach Hilman
2018-11-18hid: Add controller bindings for DebugPad controllerZach Hilman
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.
2018-11-18Added missing start/end touch attributes to touchscreenDavid Marcec
2018-11-18Added debugpad skeletonDavid Marcec
2018-11-18Added controller helper funcsDavid Marcec
2018-11-18Changed polling rate of hid and Right joycon rotationDavid Marcec
2018-11-18Left joycon rotation button remappingDavid Marcec
2018-11-18Added automatic npad switch based on supported stylesetsDavid Marcec
2018-11-18Added multi-input support and controller assignment at any portDavid Marcec
2018-11-17Added SetIsPalmaAllConnectable, SetPalmaBoostModeDavid Marcec
Currently unclear what these do yet, will be researched at a later time when we want to implement palma.