mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-02 22:16:07 +00:00
Implement dynamic display mode changes for Apple TV
This commit is contained in:
@@ -302,6 +302,11 @@ void ClConnectionStatusUpdate(int status)
|
||||
[_callbacks connectionStatusUpdate:status];
|
||||
}
|
||||
|
||||
void ClSetHdrMode(bool enabled)
|
||||
{
|
||||
[_callbacks setHdrMode:enabled];
|
||||
}
|
||||
|
||||
-(void) terminate
|
||||
{
|
||||
// Interrupt any action blocking LiStartConnection(). This is
|
||||
@@ -453,6 +458,7 @@ void ClConnectionStatusUpdate(int status)
|
||||
_clCallbacks.logMessage = ClLogMessage;
|
||||
_clCallbacks.rumble = ClRumble;
|
||||
_clCallbacks.connectionStatusUpdate = ClConnectionStatusUpdate;
|
||||
_clCallbacks.setHdrMode = ClSetHdrMode;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
- (void) launchFailed:(NSString*)message;
|
||||
- (void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor;
|
||||
- (void) connectionStatusUpdate:(int)status;
|
||||
- (void) setHdrMode:(bool)enabled;
|
||||
- (void) videoContentShown;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user