24 lines
562 B
C++
24 lines
562 B
C++
/*
|
|
* 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)
|
|
{}
|
|
};
|
|
} |