german
283616dbd8
Stubbed EnableSixAxisSensorFusion
5 years ago
german
ddff03cff5
Use different timing for motion
5 years ago
german
ff679f3d17
Include HID and configuration changes related to motion
5 years ago
Lioncash
a7af349dae
core_timing: Make use of uintptr_t to represent user_data
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
6 years ago
Lioncash
bef1844a51
core_timing: Make TimedCallback take std::chrono::nanoseconds
Enforces our desired time units directly with a concrete type.
6 years ago
Morph
2c9308954c
hid: Stub a series of "SevenSixAxisSensor" service commands
- Used by Captain Toad: Treasure Tracker Update 1.3.0
While we're at it, fix the input parameters for SetIsPalmaAllConnectable and SetPalmaBoostMode
6 years ago
Morph
0235915baa
hid: Implement Get/ResetGyroscopeZeroDriftMode
- Used by Captain Toad Treasure Tracker
6 years ago
VolcaEM
4d10d3113f
hid: Stub GetXpadIDs
Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame
6 years ago
David Marcec
ecc8ccc9d3
Stub SendKeyboardLockKeyEvent
Needed for Puchikon 4 SmileBASIC 1.0.0
6 years ago
M&M
c1ffaa8b29
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
bunnei
8a6a25e4b6
services: hid: Stub InitializeSevenSixAxisSensor.
- Used by Super Smash Bros. Ultimate v7.0.0.
6 years ago
bunnei
ec0ce96c56
core_timing: Use better reference tracking for EventType. ( #3159 )
* 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.
6 years ago
bunnei
9046d4a548
kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for 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.
6 years ago
Morph
29e15601f3
hid: Implement DeactivateNpad
Makes use of the already existing DeactivateController function.
6 years ago
Morph
c1e9ca4c08
hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commands
6 years ago
David Marcec
bd1c4ec9a0
Rebase
6 years ago
David Marcec
28181919a6
Deglobalize System: Hid
6 years ago
Morph1984
1559477740
Update hid.h
6 years ago
David Marcec
472210bf72
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
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
7 years ago
Lioncash
c5d41fd812
core/core_timing: Make callback parameters consistent
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.
7 years ago
Zach Hilman
52ac6419da
vm_manager: Remove cheat-specific ranges from VMManager
7 years ago
Zach Hilman
9d1ab766a0
controllers/npad: Add accessor for current press state
Allows frontend/features to access pressed buttons conveniently as possible
7 years ago
Lioncash
6335bf136f
service/hid: Amend forward declaration of ServiceManager
The SM namespace is within the Service namespace, so this was forward
declaring a type that didn't exist.
7 years ago
Lioncash
48d9d66dc5
core_timing: Rename CoreTiming namespace to Core::Timing
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.
7 years ago
Zach Hilman
0c5ede492f
travis: Use correct package for linux Qt5WebEngine
7 years ago
Zach Hilman
621b25b6be
hid: Make Hid service accessible and add GetPressState
7 years ago
David Marcec
56f35ab262
"Better Hid" rework part 1
7 years ago
Lioncash
ec59e4a6c5
hid: Move core include to cpp file
This isn't required to be in the header. Instead, directly include what
this header needs and move it to the cpp file where it belongs.
7 years ago
Lioncash
95103a1b7b
hid: Use HID_NUM_LAYOUTS constant for indicating size of the layouts array
Gets rid of the use of a magic constant
8 years ago
Zach Hilman
ac88d3e89f
Narrow down filter of layout configs
8 years ago
Zach Hilman
50153a1cb2
Avoid initializing single-joycon layouts with handheld controller
8 years ago
shinyquagsire23
2f9c0e7c7e
hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO
8 years ago
David Marcec
c74d24f841
Fix deadlocks caused from HID having too many layouts
Games such as SMO deadlock if we have more than 2 layouts
8 years ago
Max Thomas
266703b50e
hid: Tweaks, Analog Sticks ( #435 )
* hid: Update mouse/keyboard state
* hid: Working analog sticks
* hid: Nits
* hid: Nits
* hid: Update mystery sections
* hid: Tweaks
8 years ago
Lioncash
ccca5e7c28
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
shinyquagsire23
36b89787ce
hid: Adjust for style guide
8 years ago
shinyquagsire23
d20a883194
hid: Write to all layouts, implement circular buffers, set up controller metadata.
8 years ago
shinyquagsire23
1ea49442f9
hid: Bare-minimum sharedmem input
8 years ago
shinyquagsire23
bb1fcfac33
hid: Remove redundant HID prefix on structs/enums
8 years ago
shinyquagsire23
e08c132175
hid: Add sharedmem structs
8 years ago
bunnei
f4a3d28224
hid: Implement IAppletResource::GetSharedMemoryHandle.
8 years ago
bunnei
72b03025ac
Remove lots more 3DS-specific code.
8 years ago
wwylele
599de29ea3
HID: zero unused PadState bits
9 years ago
wwylele
85116643b2
ir: implement new 3ds HID via ir:rst
9 years ago
wwylele
e02c4b7195
Input: remove unused stuff & clean up
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
9 years ago
wwylele
1d1329af23
HID: use ButtonDevice
9 years ago
Weiyi Wang
0dd007e9ba
hid: remove the touch field from PadState ( #2557 )
9 years ago
wwylele
3c333c53f1
HID: manages updating itself using correct ticks
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago