VolcaEM
998bfbb573
hid: Stub GetXpadIDs
Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame
6 years ago
David Marcec
26bd4978a3
Stub SendKeyboardLockKeyEvent
Needed for Puchikon 4 SmileBASIC 1.0.0
6 years ago
M&M
381eed14f6
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
bunnei
c84586b412
services: hid: Stub InitializeSevenSixAxisSensor.
- Used by Super Smash Bros. Ultimate v7.0.0.
6 years ago
bunnei
8b35acbd29
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
5cb0f276fe
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
bebe0ff470
hid: Implement DeactivateNpad
Makes use of the already existing DeactivateController function.
6 years ago
Morph
33b8716668
hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commands
6 years ago
David Marcec
4b13f6cfcb
Rebase
6 years ago
David Marcec
a43d56f18c
Deglobalize System: Hid
6 years ago
Morph1984
d8368a564d
Update hid.h
6 years ago
David Marcec
f9eeba983f
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
7739479e15
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
20c46b9242
vm_manager: Remove cheat-specific ranges from VMManager
7 years ago
Zach Hilman
b1fbf45e5e
controllers/npad: Add accessor for current press state
Allows frontend/features to access pressed buttons conveniently as possible
7 years ago
Lioncash
269a497914
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
1d2de5c4b5
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
543cea4c5d
travis: Use correct package for linux Qt5WebEngine
7 years ago
Zach Hilman
e342002cd2
hid: Make Hid service accessible and add GetPressState
7 years ago
David Marcec
ac381f9ed6
"Better Hid" rework part 1
7 years ago
Lioncash
db36a14882
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
68b6099706
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
3898d6b54c
Narrow down filter of layout configs
8 years ago
Zach Hilman
93c0478c5c
Avoid initializing single-joycon layouts with handheld controller
8 years ago
shinyquagsire23
a02f67160c
hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO
8 years ago
David Marcec
8ba0ecb303
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
a12f45de82
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
6d94dd21a5
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
shinyquagsire23
63ab9293d4
hid: Adjust for style guide
8 years ago
shinyquagsire23
7d238badfb
hid: Write to all layouts, implement circular buffers, set up controller metadata.
8 years ago
shinyquagsire23
2f5dbd0f43
hid: Bare-minimum sharedmem input
8 years ago
shinyquagsire23
5d387d9205
hid: Remove redundant HID prefix on structs/enums
8 years ago
shinyquagsire23
65b9660a84
hid: Add sharedmem structs
8 years ago
bunnei
951d762f1e
hid: Implement IAppletResource::GetSharedMemoryHandle.
8 years ago
bunnei
5993f6f6de
Remove lots more 3DS-specific code.
8 years ago
wwylele
b05c60172b
HID: zero unused PadState bits
9 years ago
wwylele
fced3273c1
ir: implement new 3ds HID via ir:rst
9 years ago
wwylele
9bdb78f869
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
74b1bf38fe
HID: use ButtonDevice
9 years ago
Weiyi Wang
924b953308
hid: remove the touch field from PadState ( #2557 )
9 years ago
wwylele
8f807fc8ef
HID: manages updating itself using correct ticks
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
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
628ed4376a
Sources: Run clang-format on everything.
9 years ago
wwylele
c1cd474866
Refactor input subsystem
10 years ago
wwylele
586f6b854c
implement GyroscopeCalibrateParam
10 years ago
wwylele
9fe0c0b898
implement accel and gyro backend
10 years ago
James Rowe
1bc7829ee9
Move input values into an array
11 years ago
Emmanuel Gil Peyrot
596b7c4f63
Common: Cleanup key_map includes.
11 years ago
purpasmart96
0c62b7b106
HID: Stub DisableAccelerometer and DisableGyroscopeLow
11 years ago
purpasmart96
198c0ddc72
Services: Stubs and minor changes
11 years ago