mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
22 lines
314 B
C++
22 lines
314 B
C++
#pragma once
|
|
|
|
#include "uilayer.h"
|
|
#include "driverkeyboardinput.h"
|
|
|
|
namespace ui
|
|
{
|
|
class keymapper_panel : public ui_panel
|
|
{
|
|
public:
|
|
keymapper_panel();
|
|
|
|
void render() override;
|
|
bool key(int key);
|
|
|
|
private:
|
|
driverkeyboard_input keyboard;
|
|
|
|
user_command bind_active = user_command::none;
|
|
};
|
|
} // namespace ui
|