Applied name convention to KeyResource #2765

This commit is contained in:
Jerry (Xinyu Hou)
2016-05-05 15:24:16 +01:00
parent 47d6d1c5bc
commit 17c35f53f4
6 changed files with 12 additions and 16 deletions

View File

@@ -297,7 +297,7 @@ OSXKeyState::mapKeyFromEvent(KeyIDs& ids,
if (count != 0 || m_deadKeyState == 0) {
m_deadKeyState = 0;
for (UniCharCount i = 0; i < count; ++i) {
ids.push_back(IKeyResource::unicharToKeyID(chars[i]));
ids.push_back(IOSXKeyResource::unicharToKeyID(chars[i]));
}
adjustAltGrModifier(ids, maskOut, isCommand);
return mapVirtualKeyToKeyButton(vkCode);
@@ -581,7 +581,7 @@ OSXKeyState::getKeyMapForSpecialKeys(synergy::KeyMap& keyMap, SInt32 group) cons
bool
OSXKeyState::getKeyMap(synergy::KeyMap& keyMap,
SInt32 group, const IKeyResource& r) const
SInt32 group, const IOSXKeyResource& r) const
{
if (!r.isValid()) {
return false;