Add headless support on macOS

This commit is contained in:
Michael Maltese
2017-04-15 19:23:19 -07:00
parent a389ae0711
commit 5298328cb1
5 changed files with 59 additions and 38 deletions

View File

@ -12,6 +12,9 @@ namespace Quartz
{
void PopulateDevices(void* window)
{
if (!window)
return;
g_controller_interface.AddDevice(std::make_shared<KeyboardAndMouse>(window));
}