diff options
| author | 2015-01-21 18:36:46 -0500 | |
|---|---|---|
| committer | 2015-01-21 18:36:46 -0500 | |
| commit | 0c7498545f7f9beeb7e8070e1a1955a8d6f40bb6 (patch) | |
| tree | 9eaedc4e6d764f3436a45ba05e79f16fec1ff299 /src/common/emu_window.cpp | |
| parent | Merge pull request #429 from Kingcom/titlebar (diff) | |
| parent | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx (diff) | |
| download | yuzu-0c7498545f7f9beeb7e8070e1a1955a8d6f40bb6.tar.gz yuzu-0c7498545f7f9beeb7e8070e1a1955a8d6f40bb6.tar.xz yuzu-0c7498545f7f9beeb7e8070e1a1955a8d6f40bb6.zip | |
Merge pull request #491 from archshift/hidspvr
Added HID_SPVR service and split HID_U implementation into hle/service/hid/hid.xxx
Diffstat (limited to 'src/common/emu_window.cpp')
| -rw-r--r-- | src/common/emu_window.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/emu_window.cpp b/src/common/emu_window.cpp index 4ec7b263a..48bb35db5 100644 --- a/src/common/emu_window.cpp +++ b/src/common/emu_window.cpp | |||
| @@ -5,13 +5,13 @@ | |||
| 5 | #include "emu_window.h" | 5 | #include "emu_window.h" |
| 6 | 6 | ||
| 7 | void EmuWindow::KeyPressed(KeyMap::HostDeviceKey key) { | 7 | void EmuWindow::KeyPressed(KeyMap::HostDeviceKey key) { |
| 8 | HID_User::PadState mapped_key = KeyMap::GetPadKey(key); | 8 | Service::HID::PadState mapped_key = KeyMap::GetPadKey(key); |
| 9 | 9 | ||
| 10 | HID_User::PadButtonPress(mapped_key); | 10 | Service::HID::PadButtonPress(mapped_key); |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | void EmuWindow::KeyReleased(KeyMap::HostDeviceKey key) { | 13 | void EmuWindow::KeyReleased(KeyMap::HostDeviceKey key) { |
| 14 | HID_User::PadState mapped_key = KeyMap::GetPadKey(key); | 14 | Service::HID::PadState mapped_key = KeyMap::GetPadKey(key); |
| 15 | 15 | ||
| 16 | HID_User::PadButtonRelease(mapped_key); | 16 | Service::HID::PadButtonRelease(mapped_key); |
| 17 | } | 17 | } |