aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid
AgeCommit message (Collapse)Author
2020-05-19Merge pull request #3926 from ogniK5377/keyboard-statesbunnei
hid: Clear keyboard states & fix logic issue
2020-05-12hid: Clear keyboard states & fix logic issueDavid Marcec
Previously we never cleared the states of the entries and the key would stay held down, also looping over the key bytes for each key lead to setting every bit for the key state instead of the key we wanted
2020-05-12Stub SendKeyboardLockKeyEventDavid Marcec
Needed for Puchikon 4 SmileBASIC 1.0.0
2020-04-27Merge pull request #3797 from slashiee/hid-stubMat M
services: hid: Stub StopSevenSixAxisSensor.
2020-04-25services: hid: Stub StopSevenSixAxisSensor.M&M
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
2020-04-20service: Update function tablesLioncash
Keeps the service function tables up to date. Updated based off information on SwitchBrew.
2020-04-20npad: Lower log level for VibrateController to DebugFearlessTobi
2020-04-18service: hid: npad: Fix implicit fallthrough errors.bunnei
2020-04-17service: hid: Update for new shared memory layout.bunnei
2020-04-17service: irs: Update for new shared memory layout.bunnei
2020-03-27services: hid: Stub InitializeSevenSixAxisSensor.bunnei
- Used by Super Smash Bros. Ultimate v7.0.0.
2020-02-18analog_from_button get direction implementationCJBok
2020-02-11Core: Set all hardware emulation constants in a single file.Fernando Sahmkow
2020-01-15Moved analog direction logic to sdl_implCJBok
2020-01-14Corrected directional states sensitivityCJBok
2020-01-09hid: Fix analog sticks directional statesCJBok
2019-11-26core_timing: Use better reference tracking for EventType. (#3159)bunnei
* core_timing: Use better reference tracking for EventType. - Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects. - Removes need for unique names - we won't be using this for save states anyways.
2019-11-24Merge pull request #3094 from lioncash/tablesbunnei
service: Update function tables
2019-11-24kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for ↵bunnei
kernel objects. (#3154) * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
2019-11-12service: Update function tablesLioncash
Keeps the function tables up to date. Updated based off information from Switchbrew.
2019-11-06Merge pull request #3062 from bunnei/event-improvebunnei
kernel: Improve events
2019-11-06Merge pull request #2859 from Morph1984/hidDavid
hid: Stub SetNpadJoyAssignmentModeSingle and GetNpadHandheldActivationMode
2019-11-03kernel: events: Remove ResetType::Automatic.bunnei
- This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp
2019-10-17hid/npad: Fix incorrect connection boolean value in ↵Lioncash
ConnectAllDisconnectedControllers() We should be setting the connection state to true, otherwise we aren't actually making the controllers connected like the function name indicates.
2019-10-17hid/npad: Add missing break in default caseLioncash
While not an issue, it does prevent fallthrough from occurring if anything is ever added after this case (unlikely to occur, but this turns a trivial "should not cause issues" into a definite "won't cause issues).
2019-10-17hid/npad: Replace std::for_each with ranged for loopsLioncash
Performs the same behavior, but is built into the core language itself. No functional change.
2019-10-17hid/npad: Remove redundant non-const variant of IsControllerSupported()Lioncash
The const qualified variant can also be called in non-const contexts, so we can remove the non-const variant to eliminate a bit of code duplication.
2019-10-17hid/npad: Move function declarationsLioncash
Clearly separate these from the variable declarations to make them more visible.
2019-10-07hid: Implement DeactivateNpadMorph
Makes use of the already existing DeactivateController function.
2019-10-07hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commandsMorph
2019-10-04service/hid: Silence -Wunused and -WswitchReinUsesLisp
2019-10-04service/hid: Remove unused system referenceReinUsesLisp
2019-09-24Signal styleset changes at a better timeDavid Marcec
We should signal when a net controller is added and our event should be manual, not automatic.
2019-09-22removed commentDavid Marcec
2019-09-22RebasedDavid Marcec
2019-09-22removed unneeded semicolonDavid Marcec
2019-09-22marked controller constructors as explicitDavid Marcec
2019-09-22RebaseDavid Marcec
2019-09-22Deglobalize System: IRSDavid Marcec
2019-09-22Deglobalize System: HidDavid Marcec
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.