summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorpurpasmart96 <kanzoconfigz@hotmail.com>2015-03-08 02:54:16 +0100
committerpurpasmart96 <kanzoconfigz@hotmail.com>2015-04-03 05:05:11 +0200
commit198c0ddc72d59f8e288c1074ee0bb1169f706cac (patch)
tree5ecee1d8a979d0e7aeed4de12ae85ed935d31932 /src/core/hle/service/hid
parentMerge pull request #656 from Subv/nz (diff)
downloadyuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.tar
yuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.tar.gz
yuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.tar.bz2
yuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.tar.lz
yuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.tar.xz
yuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.tar.zst
yuzu-198c0ddc72d59f8e288c1074ee0bb1169f706cac.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/hid.cpp6
-rw-r--r--src/core/hle/service/hid/hid.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 138603d9b..9ca5d13d4 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -45,7 +45,7 @@ static u32 next_touch_index = 0;
// * Set PadData.current_state.circle_left = 1 if current PadEntry.circle_pad_x <= -41
// * Set PadData.current_state.circle_right = 1 if current PadEntry.circle_pad_y <= -41
-void HIDUpdate() {
+void Update() {
SharedMem* mem = reinterpret_cast<SharedMem*>(shared_mem->GetPointer().ValueOr(nullptr));
const PadState state = VideoCore::g_emu_window->GetPadState();
@@ -155,7 +155,7 @@ void GetSoundVolume(Service::Interface* self) {
LOG_WARNING(Service_HID, "(STUBBED) called");
}
-void HIDInit() {
+void Init() {
using namespace Kernel;
AddService(new HID_U_Interface);
@@ -174,7 +174,7 @@ void HIDInit() {
event_debug_pad = Event::Create(RESETTYPE_ONESHOT, "HID:EventDebugPad");
}
-void HIDShutdown() {
+void Shutdown() {
}
} // namespace HID
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index 97462c7f8..897bd6764 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -200,13 +200,13 @@ void EnableGyroscopeLow(Interface* self);
void GetSoundVolume(Interface* self);
/// Checks for user input updates
-void HIDUpdate();
+void Update();
/// Initialize HID service
-void HIDInit();
+void Init();
/// Shutdown HID service
-void HIDShutdown();
+void Shutdown();
}
}