diff options
author | Hüseyin ASLITÜRK <asliturk@hotmail.com> | 2020-06-11 21:26:05 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-16 13:15:17 +0200 |
commit | 174987f930e38c5fd7335c85f87e06c39b2d5b58 (patch) | |
tree | f7b06b2ac62320bde74c700965c710b88b1e3423 /Kernel/Devices/KeyboardDevice.cpp | |
parent | 1887e35dc840e6742b853252705be7d687aadeaa (diff) | |
download | serenity-174987f930e38c5fd7335c85f87e06c39b2d5b58.zip |
Kernel: Replace char and u8 data types to u32 for code point
Remove character property from event and add code_point property.
Diffstat (limited to 'Kernel/Devices/KeyboardDevice.cpp')
-rw-r--r-- | Kernel/Devices/KeyboardDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/KeyboardDevice.cpp b/Kernel/Devices/KeyboardDevice.cpp index 99c30e42b0..01a34c8534 100644 --- a/Kernel/Devices/KeyboardDevice.cpp +++ b/Kernel/Devices/KeyboardDevice.cpp @@ -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; |