Cleanup input stuff
This commit is contained in:
24
openVulkanoCpp/Input/InputShortcut.hpp
Normal file
24
openVulkanoCpp/Input/InputShortcut.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "BaseInputAction.hpp"
|
||||
#include "InputKey.hpp"
|
||||
|
||||
namespace OpenVulkano::Input
|
||||
{
|
||||
class InputShortcut final : public BaseInputAction
|
||||
{
|
||||
std::string name;
|
||||
std::vector<InputDevice*> devices;
|
||||
std::vector<std::vector<InputKey>> buttonBindings;
|
||||
|
||||
public:
|
||||
InputShortcut(const std::string& name) : BaseInputAction(name)
|
||||
{}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user