summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Quartz/Quartz.mm
blob: 30802182a84f1e9139e8e1eb952dfe5307ef3694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#include "InputCommon/ControllerInterface/Quartz/Quartz.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
#include "InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h"

namespace ciface
{
namespace Quartz
{
void PopulateDevices(void* window)
{
  if (!window)
    return;

  g_controller_interface.AddDevice(std::make_shared<KeyboardAndMouse>(window));
}

void DeInit()
{
}
}  // namespace Quartz
}  // namespace ciface