diff options
| author | 2014-04-18 17:52:49 -0400 | |
|---|---|---|
| committer | 2014-04-18 17:52:49 -0400 | |
| commit | 958bca606e80110e05d7c142dda3097fddc96503 (patch) | |
| tree | 576917751444b4dfdb476d040b4e075bde431b7b /src/core/hle/service/hid.cpp | |
| parent | Init window size from VideoCore. Start changing the default window behavior... (diff) | |
| parent | renamed hw_lcd module to just lcd (diff) | |
| download | yuzu-958bca606e80110e05d7c142dda3097fddc96503.tar.gz yuzu-958bca606e80110e05d7c142dda3097fddc96503.tar.xz yuzu-958bca606e80110e05d7c142dda3097fddc96503.zip | |
Merge branch 'hle-interface'
Diffstat (limited to 'src/core/hle/service/hid.cpp')
| -rw-r--r-- | src/core/hle/service/hid.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/hid.cpp b/src/core/hle/service/hid.cpp new file mode 100644 index 000000000..2d823dd16 --- /dev/null +++ b/src/core/hle/service/hid.cpp | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | // Copyright 2014 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "common/log.h" | ||
| 6 | |||
| 7 | #include "core/hle/hle.h" | ||
| 8 | #include "core/hle/service/hid.h" | ||
| 9 | |||
| 10 | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 11 | // Namespace HID_User | ||
| 12 | |||
| 13 | namespace HID_User { | ||
| 14 | |||
| 15 | const HLE::FunctionDef FunctionTable[] = { | ||
| 16 | {0x000A0000, NULL, "GetIPCHandles"}, | ||
| 17 | {0x00110000, NULL, "EnableAccelerometer"}, | ||
| 18 | {0x00130000, NULL, "EnableGyroscopeLow"}, | ||
| 19 | {0x00150000, NULL, "GetGyroscopeLowRawToDpsCoefficient"}, | ||
| 20 | {0x00160000, NULL, "GetGyroscopeLowCalibrateParam"}, | ||
| 21 | }; | ||
| 22 | |||
| 23 | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 24 | // Interface class | ||
| 25 | |||
| 26 | Interface::Interface() { | ||
| 27 | Register(FunctionTable, ARRAY_SIZE(FunctionTable)); | ||
| 28 | } | ||
| 29 | |||
| 30 | Interface::~Interface() { | ||
| 31 | } | ||
| 32 | |||
| 33 | } // namespace | ||