aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid
AgeCommit message (Collapse)Author
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.
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.