Skip to content

Commit 5a68304

Browse files
committed
i cant find CCKeyboardDispatcher for iOS
1 parent 033f597 commit 5a68304

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/CCKeyboardDispatcher.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@
3939
}
4040
);
4141
}
42-
#endif
42+
4343
class $modify(MyHookLol, CCKeyboardDispatcher) {
4444
// Needed because BetterInfo has special FLAlertLayers that duplicate for some reason
4545
bool dispatchKeyboardMSG(enumKeyCodes key, bool down, bool idk) {
4646
// if (down && key == KEY_G) {
47-
// CCArray* array = CCArray::create();
48-
// array->addObject(DialogObject::create("Test", "This is a very long sentence to test where the sentence wraps around to a new line and to see if the mod supports dialog that is too long for one textbox", 29, 1, true, ccc3(255, 255, 255)));
47+
// CCArray* array = CCArray::create();
48+
// array->addObject(DialogObject::create("Test", "This is a very long sentence to test where the sentence wraps around to a new line and to see if the mod supports dialog that is too long for one textbox", 29, 1, true, ccc3(255, 255, 255)));
4949

50-
// DialogLayer::createWithObjects(array, 4);
51-
// }
50+
// DialogLayer::createWithObjects(array, 4);
51+
// }
5252
if (blockKeys && down && Loader::get()->isModLoaded("cvolton.betterinfo")) {
5353
if (key == KEY_Left || key == KEY_Right)
5454
return true;
@@ -57,4 +57,5 @@ class $modify(MyHookLol, CCKeyboardDispatcher) {
5757
}
5858
return CCKeyboardDispatcher::dispatchKeyboardMSG(key, down, idk);
5959
}
60-
};
60+
};
61+
#endif

0 commit comments

Comments
 (0)