aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/hid.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-20 20:29:00 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:23 -0600
commitdbe030110256876438cf568314e3ffb60cd89952 (patch)
treea18f0da05f157c1e7a25f37e3cd35b30233239ba /src/core/hle/service/hid/hid.h
parentdb08721dccdec9330b883324e2a99d784c2405fd (diff)
service/hid: Use remove duplicated code, update names
Diffstat (limited to 'src/core/hle/service/hid/hid.h')
-rw-r--r--src/core/hle/service/hid/hid.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index b1fe75e94..2e0c33c1c 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -161,38 +161,11 @@ private:
void GetNpadCommunicationMode(Kernel::HLERequestContext& ctx);
void SetTouchScreenConfiguration(Kernel::HLERequestContext& ctx);
- enum class VibrationDeviceType : u32 {
- Unknown = 0,
- LinearResonantActuator = 1,
- GcErm = 2,
- };
-
- enum class VibrationDevicePosition : u32 {
- None = 0,
- Left = 1,
- Right = 2,
- };
-
- enum class VibrationGcErmCommand : u64 {
- Stop = 0,
- Start = 1,
- StopHard = 2,
- };
-
- struct VibrationDeviceInfo {
- VibrationDeviceType type{};
- VibrationDevicePosition position{};
- };
- static_assert(sizeof(VibrationDeviceInfo) == 0x8, "VibrationDeviceInfo has incorrect size.");
-
std::shared_ptr<IAppletResource> applet_resource;
KernelHelpers::ServiceContext service_context;
};
-/// Reload input devices. Used when input configuration changed
-void ReloadInputDevices();
-
/// Registers all HID services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system);