Miscellaneous pending fixes

This commit is contained in:
Sam Lantinga
2020-01-29 20:09:08 -08:00
parent 598cf69475
commit c9c89783cb
8 changed files with 23 additions and 15 deletions

View File

@@ -282,6 +282,7 @@ typedef enum
NSLog( @"connected peripheral: %@", peripheral );
if ( [peripheral.name isEqualToString:@"SteamController"] )
{
self.nPendingPairs += 1;
HIDBLEDevice *steamController = [[HIDBLEDevice alloc] initWithPeripheral:peripheral];
[self.deviceMap setObject:steamController forKey:peripheral];
[self.centralManager connectPeripheral:peripheral options:nil];