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
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
archshift
1f109c6b49
Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx
11 years ago
purpasmart96
9796bc1fa2
More services & small clean ups
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Lioncash
7ff8f0d916
hid_user: Pass by reference with PadButtonPress/PadButtonRelease
11 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
Gareth Poole
38df9e96dd
Renamed souce files of services to match port names
11 years ago
Yuri Kunde Schlesner
d72708c1f5
Add `override` keyword through the code.
This was automated using `clang-modernize`.
11 years ago
Kevin Hartman
02fd19b2f6
Added support for multiple input device types for KeyMap and connected Qt.
11 years ago
Kevin Hartman
4a94ec934a
Initial HID PAD work, with GLFW only.
12 years ago
Kevin Hartman
bb7ddede15
Created structure for PAD.
12 years ago
Lioncash
98fa3f7cba
Core: Alter the kernel string functions to use std::string instead of const char*.
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
12 years ago
bunnei
eab6fd01d7
- updated service(s) to be KernelObject's
- various cleanups
12 years ago