// Copyright 2016 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include #include #include "core/hle/service/hid/hid.h" #include "core/settings.h" #include "input_core/devices/IDevice.h" class Keyboard; namespace InputCore { extern Service::HID::PadState pad_state; extern std::tuple circle_pad; extern std::shared_ptr main_keyboard; ///< Instance of main keyboard device. Always initialized regardless of settings. void Init(); void Shutdown(); ///Read settings to initialize devices std::vector> ParseSettings(); ///Helper method to check if device was already initialized bool CheckIfMappingExists(std::vector uniqueMapping, Settings::InputDeviceMapping mappingToCheck); }