Commit Graph

52 Commits (d96a9e0c11d653a88bfee53e7ff11c4ba7a159a7)

Author SHA1 Message Date
Yuri Kunde Schlesner d96a9e0c11 Service: Remove unnecessary includes from service.h
This has a huge fallout in terms of needing to fix other files because
all service implementations included that file.
8 years ago
wwylele 85116643b2 ir: implement new 3ds HID via ir:rst 8 years ago
wwylele 70420272ca HID: use AnalogDevice 8 years ago
wwylele 1d1329af23 HID: use ButtonDevice 8 years ago
Weiyi Wang c7c1f56ce6 HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574)
Fixes #2556
8 years ago
wwylele 2c7676d371 HID: reset acceleroeter and gyroscope index in Init 8 years ago
wwylele 47960b0659 CoreTiming: use named constant for ARM11 clock rate 8 years ago
wwylele 3c333c53f1 HID: manages updating itself using correct ticks 8 years ago
MerryMage 64f98f4d0f core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
8 years ago
Lioncash 3faa675d6b hid: Get rid of a double -> float truncation warning
float literals need to have the 'f' prefix.
8 years ago
Yuri Kunde Schlesner 84fbbe2629 Use negative priorities to avoid special-casing the self-include 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
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
wwylele 43183db51f hid: add missing header 9 years ago
wwylele 6cccdcacd2 fixup! fixup! Refactor input system 9 years ago
wwylele 03631f9b8f Refactor input subsystem 9 years ago
Subv 1bd0cf542f 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.
9 years ago
wwylele aeb29a1a60 use reference instead of pointer 9 years ago
wwylele 1d2070d0d3 implement GyroscopeCalibrateParam 9 years ago
wwylele db151efd0a implement accel and gyro backend 9 years ago
wwylele ab67f0ffa3 hid: fix pad update 9 years ago
Lioncash 12e92f17de svc: Make ResetType an enum class 9 years ago
MerryMage 6c71858c5c BitField: Make trivially copyable and remove assignment operator 9 years ago
Lioncash 0937bed8d8 services: Get rid of unnecessary includes 9 years ago
Lioncash 751fbfdcc3 general: Silence some warnings when using clang 10 years ago
James Rowe 1bc7829ee9 Move input values into an array 10 years ago
Emmanuel Gil Peyrot 45c4781544 CitraQt: Cleanup includes. 10 years ago
Emmanuel Gil Peyrot b1503b2020 Remove every trailing whitespace from the project (but externals). 10 years ago
Lioncash a3cad6c332 hid: Get rid of undefined behavior
Modifying a variable twice across a sequence point.
10 years ago
purpasmart96 0c62b7b106 HID: Stub DisableAccelerometer and DisableGyroscopeLow 10 years ago
Yuri Kunde Schlesner c96f22490a Kernel: Capture SharedMemory attributes at creation, not when mapping 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
bunnei e0cb85691a Services: Initialize all state variables at bootup. 10 years ago
purpasmart96 198c0ddc72 Services: Stubs and minor changes 10 years ago
bunnei 0bb4b77b78 Merge pull request #655 from purpasmart96/hid_fixes
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along  with a stub for GetSoundVolume
10 years ago
purpasmart96 5b1757d6a5 HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
with a stub for GetSoundVolume
10 years ago
Lioncash 8cf81643a9 arm_interface: Get rid of GetTicks.
Removes a TODO.
10 years ago
bunnei e79c27f1e0 HID: Removed unnecessary global variables. 10 years ago
bunnei 85cbccb1d3 HID: Added additional variable comments and some code cleanups. 10 years ago
bunnei d61b26b79f HID: Complete refactor of pad/touch input to fix threading issues. 10 years ago
bunnei a1a1a5c6c5 HID: Cleanup how `next_touch_index` is calculated for Pad and touch. 10 years ago
bunnei 432aa1044c HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. 10 years ago
bunnei 1a904ded40 HID: Added functions to emulate the touchpad. 10 years ago
bunnei 3229b048d9 HID: Moved some docstrings to the header. 10 years ago
bunnei 83a66dd701 HID: Refactored shared memory decoding for touchpad support. 10 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.
10 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.
10 years ago
Yuri Kunde Schlesner 0f69668fc6 HID: Fix crash when pressing a key when the emulator is stopped 10 years ago
Yuri Kunde Schlesner d52d859936 Kernel: Convert Event to not use Handles 10 years ago