hacked osx integ key tests to stop COSXKeyStateTests.fakeAndPoll_charKeyAndModifier from failing
This commit is contained in:
parent
024f66e25e
commit
93b593f13e
|
@ -97,8 +97,8 @@ TEST_F(COSXKeyStateTests, fakeAndPoll_charKeyAndModifier)
|
|||
bool
|
||||
COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button)
|
||||
{
|
||||
// allow os to realize key state changes.
|
||||
ARCH->sleep(.01);
|
||||
// HACK: allow os to realize key state changes.
|
||||
ARCH->sleep(1);
|
||||
|
||||
IKeyState::KeyButtonSet pressed;
|
||||
keyState.pollPressedKeys(pressed);
|
||||
|
|
Loading…
Reference in New Issue