2016-08-09 22:48:22 +00:00
|
|
|
// Copyright 2016 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2016-08-08 16:38:22 +00:00
|
|
|
|
|
|
|
#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"
|
|
|
|
|
2019-06-17 20:39:24 +00:00
|
|
|
namespace ciface::Quartz
|
2016-08-08 16:38:22 +00:00
|
|
|
{
|
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()
|
|
|
|
{
|
|
|
|
}
|
2019-06-17 20:39:24 +00:00
|
|
|
} // namespace ciface::Quartz
|