| 1 | // Copyright 2017 Dolphin Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <chrono> |
| 7 | |
| 8 | class MappingWindow; |
| 9 | |
| 10 | namespace MappingCommon |
| 11 | { |
| 12 | // A slight delay improves behavior when "clicking" the detect button via key-press. |
| 13 | static constexpr auto INPUT_DETECT_INITIAL_DELAY = std::chrono::milliseconds{100}; |
| 14 | |
| 15 | void CreateMappingProcessor(MappingWindow*); |
| 16 | } // namespace MappingCommon |