mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-06 04:04:49 +12:00
Add HID service
This commit is contained in:
parent
5bc8c9d671
commit
340e0c9266
5 changed files with 46 additions and 2 deletions
include/kernel
|
@ -11,9 +11,10 @@ namespace KernelHandles {
|
|||
CurrentThread = 0xFFFF8000, // Used by the original kernel
|
||||
CurrentProcess = 0xFFFF8001, // Used by the original kernel
|
||||
APT = 0xFFFF8002, // App Title something service?
|
||||
HID = 0xFFFF8003, // Handles everything input-related including gyro
|
||||
|
||||
MinServiceHandle = APT,
|
||||
MaxServiceHandle = APT
|
||||
MaxServiceHandle = HID
|
||||
};
|
||||
|
||||
// Returns whether "handle" belongs to one of the OS services
|
||||
|
@ -25,6 +26,7 @@ namespace KernelHandles {
|
|||
static const char* getServiceName(Handle handle) {
|
||||
switch (handle) {
|
||||
case APT: return "APT";
|
||||
case HID: return "HID";
|
||||
default: return "Unknown";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue