2016-08-09 22:48:22 +00:00
|
|
|
// Copyright 2016 Dolphin Emulator Project
|
2016-08-08 16:38:22 +00:00
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "InputCommon/ControllerInterface/Quartz/Quartz.h"
|
2016-08-10 00:23:30 +00:00
|
|
|
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
2016-08-08 16:38:22 +00:00
|
|
|
#include "InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h"
|
|
|
|
|
|
|
|
namespace ciface
|
|
|
|
{
|
|
|
|
namespace Quartz
|
|
|
|
{
|
2016-10-16 20:39:05 +00:00
|
|
|
void PopulateDevices(void* window)
|
2016-08-08 16:38:22 +00:00
|
|
|
{
|
2017-04-16 02:23:19 +00:00
|
|
|
if (!window)
|
|
|
|
return;
|
|
|
|
|
2016-08-08 16:38:22 +00:00
|
|
|
g_controller_interface.AddDevice(std::make_shared<KeyboardAndMouse>(window));
|
|
|
|
}
|
|
|
|
|
|
|
|
void DeInit()
|
|
|
|
{
|
|
|
|
}
|
2016-08-10 00:23:30 +00:00
|
|
|
} // namespace Quartz
|
|
|
|
} // namespace ciface
|