spelling: modifiers
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
57a9a87a86
commit
a9a31bb7d2
|
@ -617,7 +617,7 @@ OSXKeyState::fakeKey(const Keystroke& keystroke)
|
||||||
void
|
void
|
||||||
OSXKeyState::getKeyMapForSpecialKeys(barrier::KeyMap& keyMap, SInt32 group) const
|
OSXKeyState::getKeyMapForSpecialKeys(barrier::KeyMap& keyMap, SInt32 group) const
|
||||||
{
|
{
|
||||||
// special keys are insensitive to modifers and none are dead keys
|
// special keys are insensitive to modifiers and none are dead keys
|
||||||
barrier::KeyMap::KeyItem item;
|
barrier::KeyMap::KeyItem item;
|
||||||
for (size_t i = 0; i < sizeof(s_controlKeys) /
|
for (size_t i = 0; i < sizeof(s_controlKeys) /
|
||||||
sizeof(s_controlKeys[0]); ++i) {
|
sizeof(s_controlKeys[0]); ++i) {
|
||||||
|
|
|
@ -216,7 +216,7 @@ TEST(KeyStateTests, updateKeyState_activeModifiers_maskNotSet)
|
||||||
ASSERT_EQ(0, actual);
|
ASSERT_EQ(0, actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(KeyStateTests, updateKeyState_activeModifiers_keyMapGotModifers)
|
TEST(KeyStateTests, updateKeyState_activeModifiers_keyMapGotModifiers)
|
||||||
{
|
{
|
||||||
MockKeyMap keyMap;
|
MockKeyMap keyMap;
|
||||||
MockEventQueue eventQueue;
|
MockEventQueue eventQueue;
|
||||||
|
|
Loading…
Reference in New Issue