1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:47:45 +00:00

LibWeb: Add missing EventModifierInit fields and getModifierState

This commit is contained in:
Bastiaan van der Plaat 2024-01-19 18:52:45 +01:00 committed by Andreas Kling
parent ba8704243e
commit 9aadc6c8c9
11 changed files with 174 additions and 24 deletions

View file

@ -16,6 +16,17 @@ struct EventModifierInit : public UIEventInit {
bool shift_key { false };
bool alt_key { false };
bool meta_key { false };
bool modifier_alt_graph { false };
bool modifier_caps_lock { false };
bool modifier_fn { false };
bool modifier_fn_lock { false };
bool modifier_hyper { false };
bool modifier_num_lock { false };
bool modifier_scroll_lock { false };
bool modifier_super { false };
bool modifier_symbol { false };
bool modifier_symbol_lock { false };
};
}