mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-18 06:31:05 +00:00
Deregister GCMouse scroll callbacks
This commit is contained in:
@@ -425,6 +425,11 @@ static const double MOUSE_SPEED_DIVISOR = 1.25;
|
|||||||
for (GCControllerButtonInput* auxButton in mouse.mouseInput.auxiliaryButtons) {
|
for (GCControllerButtonInput* auxButton in mouse.mouseInput.auxiliaryButtons) {
|
||||||
auxButton.pressedChangedHandler = nil;
|
auxButton.pressedChangedHandler = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if TARGET_OS_TV
|
||||||
|
mouse.mouseInput.scroll.xAxis.valueChangedHandler = nil;
|
||||||
|
mouse.mouseInput.scroll.yAxis.valueChangedHandler = nil;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void) registerMouseCallbacks:(GCMouse*) mouse API_AVAILABLE(ios(14.0)) {
|
-(void) registerMouseCallbacks:(GCMouse*) mouse API_AVAILABLE(ios(14.0)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user