+// by default, keyboard actions are redirected to SBAwayController and press menu button
+MSInstanceMessageHook1(void, SpringBoard, handleKeyEvent, GSEventRef, event) {
+ if (online_ == 0)
+ return MSOldCall(event);
+
+ return MSSuperCall(event);
+}
+
+MSInstanceMessageHook0(BOOL, SBAwayController, handleMenuButtonTap) {
+ if (!MSOldCall() && menu_) {