David Marcec
6c9864da31
Added ActivateGesture
7 years ago
David Marcec
9498fea57d
Added StopSixAxisSensor
7 years ago
David Marcec
53ca7a11cb
Stubbed ActivateConsoleSixAxisSensor & StartConsoleSixAxisSensor
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
fearlessTobi
f9ee07b1ef
hid: Implement ReloadInputDevices
7 years ago
Lioncash
4913549d6b
kernel: Eliminate kernel global state
As means to pave the way for getting rid of global state within core,
This eliminates kernel global state by removing all globals. Instead
this introduces a KernelCore class which acts as a kernel instance. This
instance lives in the System class, which keeps its lifetime contained
to the lifetime of the System class.
This also forces the kernel types to actually interact with the main
kernel instance itself instead of having transient kernel state placed
all over several translation units, keeping everything together. It also
has a nice consequence of making dependencies much more explicit.
This also makes our initialization a tad bit more correct. Previously we
were creating a kernel process before the actual kernel was initialized,
which doesn't really make much sense.
The KernelCore class itself follows the PImpl idiom, which allows
keeping all the implementation details sealed away from everything else,
which forces the use of the exposed API and allows us to avoid any
unnecessary inclusions within the main kernel header.
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
ab4821d4b3
hid: disable clang-format around tables
Prevents clang-format from butchering them.
7 years ago
Lioncash
4ca059c59a
hid: Stub DisconnectNpad()
This is required by ARMS.
7 years ago
mailwl
219c0dabe1
hid: fix IsSixAxisSensorAtRest() response
8 years ago
Lioncash
20f059acef
services/hid: Add ActivateNpadWithRevision() to the hid function info array
Updated based off the information on Switch Brew.
8 years ago
Hexagon12
0c5691e8b4
Add some HID commands ( #843 )
* Added some HID commands
* Addressed comments
8 years ago
Lioncash
b3e0f46ee6
service/hid: Add the hidbus, hid:dbg, hid:sys, and hid:tmp services
8 years ago
Lioncash
3d37adc01f
service/hid: Add the xcd:sys service
8 years ago
Lioncash
8724896db5
service/hid: Add irs services
8 years ago
MerryMage
672d7dd573
core_timing: Split off utility functions into core_timing_util
8 years ago
Lioncash
60eab9b720
hid: Use a ranged-for loops in UpdatePadCallback
Modernizes the loops themselves while also getting rid of a signed/unsigned
comparison in a loop condition.
8 years ago
Zach Hilman
03480ff436
Fill in more fields in TouchScreenEntryTouch
8 years ago
Zach Hilman
25becb080e
Single touch support
8 years ago
James Rowe
12e7a3065a
HID: Update controllers less often
8 years ago
bunnei
d613d8ee52
hid: Fix timestamps and controller type.
- This fixes user input in SMO.
8 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
Zach Hilman
3898d6b54c
Narrow down filter of layout configs
8 years ago
Zach Hilman
42701153c7
Move loop condition to free function
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
greggameplayer
339fd812b3
add IPC CommandType & Some HID FunctionInfo ( #487 )
* add some CommandType
* add some hid FunctionInfo
* add some other HID FunctionInfo
* delete non useful comments
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
3873211738
core_timing: Namespace all functions and constants in core_timing's header
All of these variables and functions are related to timings and should be within the namespace.
8 years ago
Lioncash
0cbbb1c130
hid: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
6d94dd21a5
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
Hexagon12
e6bb2d65f8
Stubbed out GetPlayerLedPattern
8 years ago
Hexagon12
e05e3c8a08
Updated hid with more service names.
8 years ago
bunnei
c7a4327471
hid: Write empty touch screen state.
8 years ago
bunnei
699d84abda
hid: Stub out GetSupportedNpadStyleSet.
8 years ago
bunnei
dd7c34a978
hid: Stub out SetNpadJoyAssignmentModeDual.
8 years ago
Subv
6ac79e3a43
CoreTiming: Unschedule the pending events when an Interface is destroyed.
8 years ago
mailwl
e86ec16ee7
Service/hid: stub some functions
8 years ago
bunnei
69ab774ea3
hid: Stub GetVibrationDeviceInfo and SendVibrationValues.
8 years ago
mailwl
ff9d0996a8
Service: stub some functions in am, audio, time, vi services
8 years ago
mailwl
4cfd3502de
Service/hid: stub SetNpadHandheldActivationMode
8 years ago
bunnei
6499c8eed6
hid: Stub ActivateTouchScreen and SetNpadJoyHoldType.
8 years ago
bunnei
93ffd1fc30
hid: Stub out several functions.
8 years ago
bunnei
aa035aa7f9
hid: Implement CreateActiveVibrationDeviceList.
8 years ago
bunnei
fac2babc85
logger: Use Service_HID category where applicable.
8 years ago
bunnei
f328cb2c7c
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
427b97e60c
service: Fix all incorrect IPC response headers.
8 years ago
Subv
aec193732c
Services: Added a todo about returning interfaces as domain objects in lm, hid and time.
8 years ago
Subv
98ff4642ff
HID: Don't create an unnecessary port in CreateAppletResource.
8 years ago
gdkchan
45f08a927c
Stub OpenAudioOut and fix a issue with HID IAppletResource being created more than once
8 years ago