diff options
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 @@ | |||
| 7 | 7 | ||
| 8 | namespace KeyMap { | 8 | namespace KeyMap { |
| 9 | 9 | ||
| 10 | static std::map<HostDeviceKey, HID_User::PadState> key_map; | 10 | static std::map<HostDeviceKey, Service::HID::PadState> key_map; |
| 11 | static int next_device_id = 0; | 11 | static int next_device_id = 0; |
| 12 | 12 | ||
| 13 | int NewDeviceId() { | 13 | int NewDeviceId() { |
| 14 | return next_device_id++; | 14 | return next_device_id++; |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | void SetKeyMapping(HostDeviceKey key, HID_User::PadState padState) { | 17 | void SetKeyMapping(HostDeviceKey key, Service::HID::PadState padState) { |
| 18 | key_map[key].hex = padState.hex; | 18 | key_map[key].hex = padState.hex; |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | HID_User::PadState GetPadKey(HostDeviceKey key) { | 21 | Service::HID::PadState GetPadKey(HostDeviceKey key) { |
| 22 | return key_map[key]; | 22 | return key_map[key]; |
| 23 | } | 23 | } |
| 24 | 24 | ||