X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJDeviceController.m;h=5a6603c9bac55f5ffc92572e41971d2232d290c8;hp=8417927dbb5ddb029c7a530150d842bef13ebd2c;hb=1d9578185de7fb08cf1f4b1e42812e87d8e18040;hpb=85a4f20e0ce7a73edcf4cf9d6393381cccc2db24 diff --git a/Classes/NJDeviceController.m b/Classes/NJDeviceController.m index 8417927..5a6603c 100644 --- a/Classes/NJDeviceController.m +++ b/Classes/NJDeviceController.m @@ -26,6 +26,11 @@ if ((self = [super init])) { _devices = [[NSMutableArray alloc] initWithCapacity:16]; _continousOutputs = [[NSMutableArray alloc] initWithCapacity:32]; + [NSNotificationCenter.defaultCenter + addObserver:self + selector:@selector(setup) + name:NSApplicationDidFinishLaunchingNotification + object:nil]; } return self; }