// // RelativeTouchHandler.h // Moonlight // // Created by Cameron Gutman on 11/1/20. // Copyright © 2020 Moonlight Game Streaming Project. All rights reserved // // Modified by True砖家 since 2024.6.23 // Copyright © 2024 True砖家 @ Bilibili. All rights reserved // #import "StreamView.h" #import "DataManager.h" #import "CustomTapGestureRecognizer.h" #define RIGHTCLICK_TAP_DOWN_TIME_THRESHOLD_S 0.15 NS_ASSUME_NONNULL_BEGIN @interface RelativeTouchHandler : UIResponder @property (nonatomic, readonly) CustomTapGestureRecognizer* mouseRightClickTapRecognizer; // this object will be passed to onscreencontrol class for areVirtualControllerTaps flag setting @property (nonatomic, strong) CADisplayLink *displayLink; + (void) testMethod; - (id)initWithView:(StreamView*)view andSettings:(TemporarySettings*)settings; @end NS_ASSUME_NONNULL_END