// 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 { void Init(); void Shutdown(); Service::HID::PadState GetPadState(); void SetPadState(Service::HID::PadState& state); std::tuple GetCirclePad(); void SetCirclePad(std::tuple& circle ); std::shared_ptr GetKeyboard(); /// Read settings to initialize devices void ParseSettings(); /// Helper method to check if device was already initialized bool CheckIfMappingExists(const std::vector& uniqueMapping, Settings::InputDeviceMapping mappingToCheck); }