We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 399bcd4 commit 070d070Copy full SHA for 070d070
src/main.cpp
@@ -21,15 +21,17 @@ class $modify(CCNode) {
21
};
22
23
// todo: use shortcuts api once Geode has those
24
+#ifndef GEODE_IS_IOS
25
class $modify(CCKeyboardDispatcher) {
- bool dispatchKeyboardMSG(enumKeyCodes key, bool down, bool arr, double a4) {
26
+ bool dispatchKeyboardMSG(enumKeyCodes key, bool down, bool arr, double timestamp) {
27
if (down && (key == KEY_F11 GEODE_MACOS(|| key == KEY_F10))) {
28
DevTools::get()->toggle();
29
return true;
30
}
- return CCKeyboardDispatcher::dispatchKeyboardMSG(key, down, arr, a4);
31
+ return CCKeyboardDispatcher::dispatchKeyboardMSG(key, down, arr, timestamp);
32
33
34
+#endif
35
36
#include <Geode/loader/GameEvent.hpp>
37
$execute {
0 commit comments