Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Limelight/Input/ControllerSupport.m
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ -(void) registerControllerCallbacks:(GCController*) controller
}
}

-(void) unregisterMouseCallbacks:(GCMouse*)mouse API_AVAILABLE(ios(14.0)) {
-(void) unregisterMouseCallbacks:(GCMouse*)mouse API_AVAILABLE(ios(14.0), tvos(14.0)) {
mouse.mouseInput.mouseMovedHandler = nil;

mouse.mouseInput.leftButton.pressedChangedHandler = nil;
Expand All @@ -846,7 +846,7 @@ -(void) unregisterMouseCallbacks:(GCMouse*)mouse API_AVAILABLE(ios(14.0)) {
#endif
}

-(void) registerMouseCallbacks:(GCMouse*) mouse API_AVAILABLE(ios(14.0)) {
-(void) registerMouseCallbacks:(GCMouse*) mouse API_AVAILABLE(ios(14.0), tvos(14.0)) {
mouse.mouseInput.mouseMovedHandler = ^(GCMouseInput * _Nonnull mouse, float deltaX, float deltaY) {
self->accumulatedDeltaX += deltaX / MOUSE_SPEED_DIVISOR;
self->accumulatedDeltaY += -deltaY / MOUSE_SPEED_DIVISOR;
Expand Down
6 changes: 4 additions & 2 deletions Moonlight TV/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
<string>ExtendedGamepad</string>
</dict>
</array>
<key>GCSupportsMouseAndKeyboard</key>
<true/>
<key>GCSupportsControllerUserInteraction</key>
<true/>
<key>ITSAppUsesNonExemptEncryption</key>
Expand All @@ -39,9 +41,9 @@
<true/>
</dict>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Bluetooth access allows Moonlight to connect to Citrix X1 mice.</string>
<string>Bluetooth access allows Moonlight to connect to Bluetooth mice.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Bluetooth access allows Moonlight to connect to Citrix X1 mice.</string>
<string>Bluetooth access allows Moonlight to connect to Bluetooth mice.</string>
<key>NSBonjourServices</key>
<array>
<string>_nvstream._tcp</string>
Expand Down