banan-os/kernel/include/kernel/Input/PS2Keymap.h

23 lines
364 B
C
Raw Normal View History

#pragma once
#include <BAN/Vector.h>
#include <kernel/Input/KeyEvent.h>
namespace Kernel::Input
{
class PS2Keymap
{
public:
PS2Keymap();
Key key_for_scancode_and_modifiers(uint32_t, uint8_t);
private:
BAN::Vector<Key> m_normal_keymap;
BAN::Vector<Key> m_shift_keymap;
BAN::Vector<Key> m_altgr_keymap;
BAN::Vector<Key> m_extended_keymap;
};
}