wwylele
3d0953097f
fixup! fixup! Refactor input system
10 years ago
wwylele
c1cd474866
Refactor input subsystem
10 years ago
Subv
b53900a6ab
Kernel/SharedMemory: Properly implemented shared memory support.
Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object.
Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock.
Removed the APT Shared Font hack as it is no longer needed.
10 years ago
wwylele
648b2dc071
use reference instead of pointer
10 years ago
wwylele
586f6b854c
implement GyroscopeCalibrateParam
10 years ago
wwylele
9fe0c0b898
implement accel and gyro backend
10 years ago
wwylele
0af67d267f
hid: fix pad update
10 years ago
Lioncash
219ecd2ee7
svc: Make ResetType an enum class
10 years ago
MerryMage
867c111e99
BitField: Make trivially copyable and remove assignment operator
10 years ago
Lioncash
c731d31b7c
services: Get rid of unnecessary includes
10 years ago
Lioncash
08147474cb
general: Silence some warnings when using clang
10 years ago
James Rowe
1bc7829ee9
Move input values into an array
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
Lioncash
a3cad6c332
hid: Get rid of undefined behavior
Modifying a variable twice across a sequence point.
11 years ago
purpasmart96
0c62b7b106
HID: Stub DisableAccelerometer and DisableGyroscopeLow
11 years ago
Yuri Kunde Schlesner
c96f22490a
Kernel: Capture SharedMemory attributes at creation, not when mapping
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
bunnei
e0cb85691a
Services: Initialize all state variables at bootup.
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
Lioncash
8cf81643a9
arm_interface: Get rid of GetTicks.
Removes a TODO.
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
a1a1a5c6c5
HID: Cleanup how `next_touch_index` is calculated for Pad and touch.
11 years ago
bunnei
432aa1044c
HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings.
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
Yuri Kunde Schlesner
88a4a808c6
Kernel: Stop creating useless Handles during object creation
They're finally unnecessary, and will stop cluttering the application's
handle table.
11 years ago
Yuri Kunde Schlesner
0f69668fc6
HID: Fix crash when pressing a key when the emulator is stopped
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