mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
Kernel: Replace char and u8 data types to u32 for code point
Remove character property from event and add code_point property.
This commit is contained in:
parent
1887e35dc8
commit
174987f930
Notes:
sideshowbarker
2024-07-19 05:37:36 +09:00
Author: https://github.com/asliturk
Commit: 174987f930
Pull-request: https://github.com/SerenityOS/serenity/pull/2541
4 changed files with 10 additions and 10 deletions
|
@ -265,7 +265,7 @@ void KeyboardDevice::key_state_changed(u8 scan_code, bool pressed)
|
|||
event.flags = m_modifiers;
|
||||
event.e0_prefix = m_has_e0_prefix;
|
||||
event.caps_lock_on = m_caps_lock_on;
|
||||
event.character = m_character_map.get_char(event);
|
||||
event.code_point = m_character_map.get_char(event);
|
||||
|
||||
if (pressed)
|
||||
event.flags |= Is_Press;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue