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
8 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
purpasmart96
5b1757d6a5
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
with a stub for GetSoundVolume
11 years ago
bunnei
e79c27f1e0
HID: Removed unnecessary global variables.
11 years ago
bunnei
85cbccb1d3
HID: Added additional variable comments and some code cleanups.
11 years ago
bunnei
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
11 years ago
bunnei
432aa1044c
HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings.
11 years ago
bunnei
e9b9f1842b
HID: Added static asserts to check register position in shared memory.
11 years ago
bunnei
1a904ded40
HID: Added functions to emulate the touchpad.
11 years ago
bunnei
3229b048d9
HID: Moved some docstrings to the header.
11 years ago
bunnei
83a66dd701
HID: Refactored shared memory decoding for touchpad support.
11 years ago
Subv
83a8975cb8
Services: Moved the PTM and APT services to their own folder
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.
Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
11 years ago
Emmanuel Gil Peyrot
aa64f69af0
Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.
11 years ago
Yuri Kunde Schlesner
d52d859936
Kernel: Convert Event to not use Handles
11 years ago
Yuri Kunde Schlesner
4bb33dfc30
Kernel: Convert SharedMemory to not use Handles
11 years ago