diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-21 18:36:46 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-21 18:36:46 -0500 |
commit | 0c7498545f7f9beeb7e8070e1a1955a8d6f40bb6 (patch) | |
tree | 9eaedc4e6d764f3436a45ba05e79f16fec1ff299 /src/common/key_map.cpp | |
parent | 8946df97b5113fbec4289b0a66cb565bdfd2136e (diff) | |
parent | 1f109c6b497565afe99b9c9cfbb61de5a87e7374 (diff) |
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/key_map.cpp')
-rw-r--r-- | src/common/key_map.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/key_map.cpp b/src/common/key_map.cpp index d8945bb13..844d5df68 100644 --- a/src/common/key_map.cpp +++ b/src/common/key_map.cpp @@ -7,18 +7,18 @@ namespace KeyMap { -static std::map<HostDeviceKey, HID_User::PadState> key_map; +static std::map<HostDeviceKey, Service::HID::PadState> key_map; static int next_device_id = 0; int NewDeviceId() { return next_device_id++; } -void SetKeyMapping(HostDeviceKey key, HID_User::PadState padState) { +void SetKeyMapping(HostDeviceKey key, Service::HID::PadState padState) { key_map[key].hex = padState.hex; } -HID_User::PadState GetPadKey(HostDeviceKey key) { +Service::HID::PadState GetPadKey(HostDeviceKey key) { return key_map[key]; } |