mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-24 19:42:24 +03:00
disabled fakeAndPoll_shift for osx10.6
This commit is contained in:
parent
601ff792e9
commit
2c2b136a36
@ -36,6 +36,9 @@ public:
|
||||
static bool isKeyPressed(const COSXKeyState& keyState, KeyButton button);
|
||||
};
|
||||
|
||||
// fakeAndPoll_shift seems to always fail on osx10.6
|
||||
#if __MAC_OS_X_VERSION_MIN_REQUIRED > 1060
|
||||
|
||||
TEST_F(COSXKeyStateTests, fakeAndPoll_shift)
|
||||
{
|
||||
CKeyMap keyMap;
|
||||
@ -56,6 +59,8 @@ TEST_F(COSXKeyStateTests, fakeAndPoll_shift)
|
||||
EXPECT_TRUE(!isKeyPressed(keyState, SHIFT_BUTTON));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
TEST_F(COSXKeyStateTests, fakeAndPoll_charKey)
|
||||
{
|
||||
CKeyMap keyMap;
|
||||
|
Loading…
Reference in New Issue
Block a user