2017-06-13 15:16:41 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-13 15:16:41 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-11-02 07:52:18 +00:00
|
|
|
#include <chrono>
|
2019-02-28 00:10:18 +00:00
|
|
|
|
2024-11-02 07:52:18 +00:00
|
|
|
class MappingWindow;
|
2017-06-13 15:16:41 +00:00
|
|
|
|
|
|
|
namespace MappingCommon
|
|
|
|
{
|
2024-11-02 07:52:18 +00:00
|
|
|
// A slight delay improves behavior when "clicking" the detect button via key-press.
|
|
|
|
static constexpr auto INPUT_DETECT_INITIAL_DELAY = std::chrono::milliseconds{100};
|
2019-02-28 00:10:18 +00:00
|
|
|
|
2024-11-02 07:52:18 +00:00
|
|
|
void CreateMappingProcessor(MappingWindow*);
|
2018-07-16 21:15:37 +00:00
|
|
|
} // namespace MappingCommon
|