mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
KeyboardSettings+Kernel: Setting to enable Num Lock on login
This commit is contained in:
parent
7fdeb0ec74
commit
ce6658acc1
Notes:
sideshowbarker
2024-07-18 10:25:01 +09:00
Author: https://github.com/ForLoveOfCats
Commit: ce6658acc1
Pull-request: https://github.com/SerenityOS/serenity/pull/8417
Reviewed-by: https://github.com/gunnarbeutner
11 changed files with 58 additions and 1 deletions
|
@ -98,6 +98,11 @@ void HIDManagement::set_maps(const Keyboard::CharacterMapData& character_map_dat
|
|||
dbgln("New Character map '{}' passed in by client.", character_map_name);
|
||||
}
|
||||
|
||||
void HIDManagement::set_num_lock(bool on)
|
||||
{
|
||||
m_i8042_controller->keyboard()->set_num_lock(on);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void HIDManagement::enumerate()
|
||||
{
|
||||
// FIXME: When we have USB HID support, we should ensure that we disable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue