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