mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 19:27:56 -05:00
Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx
This commit is contained in:
@ -5,13 +5,13 @@
|
||||
#include "emu_window.h"
|
||||
|
||||
void EmuWindow::KeyPressed(KeyMap::HostDeviceKey key) {
|
||||
HID_User::PadState mapped_key = KeyMap::GetPadKey(key);
|
||||
Service::HID::PadState mapped_key = KeyMap::GetPadKey(key);
|
||||
|
||||
HID_User::PadButtonPress(mapped_key);
|
||||
Service::HID::PadButtonPress(mapped_key);
|
||||
}
|
||||
|
||||
void EmuWindow::KeyReleased(KeyMap::HostDeviceKey key) {
|
||||
HID_User::PadState mapped_key = KeyMap::GetPadKey(key);
|
||||
Service::HID::PadState mapped_key = KeyMap::GetPadKey(key);
|
||||
|
||||
HID_User::PadButtonRelease(mapped_key);
|
||||
Service::HID::PadButtonRelease(mapped_key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user