This seems to have resolved the problem. Added to ViewController.swift in viewDidLoad:
NSEvent.addLocalMonitorForEvents(matching: .keyDown) { event in self.skView.scene?.keyDown(with: event)
return nil }
Topic:
Graphics & Games
SubTopic:
SpriteKit