shinyquagsire23
36b89787ce
hid: Adjust for style guide
8 years ago
shinyquagsire23
d20a883194
hid: Write to all layouts, implement circular buffers, set up controller metadata.
8 years ago
shinyquagsire23
1ea49442f9
hid: Bare-minimum sharedmem input
8 years ago
bunnei
2e8246a02c
hid: Remove unused registered_loggers.
8 years ago
bunnei
f4a3d28224
hid: Implement IAppletResource::GetSharedMemoryHandle.
8 years ago
bunnei
72b03025ac
Remove lots more 3DS-specific code.
8 years ago
Huw Pascoe
a13ab958cb
Fixed type conversion ambiguity
8 years ago
wwylele
c84e60b470
HID: use TouchDevice for touch pad
9 years ago
wwylele
54c0c8adee
HID: fix a comment and a warning
8 years ago
wwylele
867eabd6b7
HID: use MotionDevice for Accelerometer and Gyroscope
9 years ago
Yuri Kunde Schlesner
723dc644fa
ResultVal: Remove MoveFrom()
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in
case you already have an rvalue.
9 years ago
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.
9 years ago
wwylele
85116643b2
ir: implement new 3ds HID via ir:rst
9 years ago
wwylele
70420272ca
HID: use AnalogDevice
9 years ago
wwylele
1d1329af23
HID: use ButtonDevice
9 years ago
Weiyi Wang
c7c1f56ce6
HID: move enable_accelerometer/gyroscope_count initialization into Init() ( #2574 )
Fixes #2556
9 years ago
wwylele
2c7676d371
HID: reset acceleroeter and gyroscope index in Init
9 years ago
wwylele
47960b0659
CoreTiming: use named constant for ARM11 clock rate
9 years ago
wwylele
3c333c53f1
HID: manages updating itself using correct ticks
9 years ago
MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
Lioncash
3faa675d6b
hid: Get rid of a double -> float truncation warning
float literals need to have the 'f' prefix.
9 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
10 years ago
wwylele
6cccdcacd2
fixup! fixup! Refactor input system
10 years ago
wwylele
03631f9b8f
Refactor input subsystem
10 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.
10 years ago
wwylele
aeb29a1a60
use reference instead of pointer
10 years ago
wwylele
1d2070d0d3
implement GyroscopeCalibrateParam
10 years ago
wwylele
db151efd0a
implement accel and gyro backend
10 years ago
wwylele
ab67f0ffa3
hid: fix pad update
10 years ago
Lioncash
12e92f17de
svc: Make ResetType an enum class
10 years ago
MerryMage
6c71858c5c
BitField: Make trivially copyable and remove assignment operator
10 years ago
Lioncash
0937bed8d8
services: Get rid of unnecessary includes
10 years ago
Lioncash
751fbfdcc3
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