Fix keymaps, reported info and add custom cursors

This commit is contained in:
2026-02-11 17:32:15 +02:00
parent 28a68069fb
commit a74d99de45
7 changed files with 797 additions and 297 deletions

View File

@@ -17,6 +17,10 @@ namespace LibInput
KeyEvent key_event_from_raw(RawKeyEvent);
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:
KeyboardLayout();