forked from Bananymous/banan-os
LibInput: Export keyboard layout keymaps
This commit is contained in:
@@ -17,6 +17,10 @@ namespace LibInput
|
|||||||
KeyEvent key_event_from_raw(RawKeyEvent);
|
KeyEvent key_event_from_raw(RawKeyEvent);
|
||||||
BAN::ErrorOr<void> load_from_file(BAN::StringView path);
|
BAN::ErrorOr<void> load_from_file(BAN::StringView path);
|
||||||
|
|
||||||
|
BAN::Span<const Key> keymap_normal() const { return m_keycode_to_key_normal.span(); }
|
||||||
|
BAN::Span<const Key> keymap_shift() const { return m_keycode_to_key_shift.span(); }
|
||||||
|
BAN::Span<const Key> keymap_altgr() const { return m_keycode_to_key_altgr.span(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
KeyboardLayout();
|
KeyboardLayout();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user