mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
disabled fakeAndPoll_shift for osx10.6
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user