From 1f109c6b497565afe99b9c9cfbb61de5a87e7374 Mon Sep 17 00:00:00 2001 From: archshift Date: Sun, 18 Jan 2015 15:07:48 -0800 Subject: Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx --- src/common/key_map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/key_map.cpp') 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 key_map; +static std::map 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]; } -- cgit v1.2.3