mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
KeyboardSettings+Kernel: Setting to enable Num Lock on login
This commit is contained in:
parent
7fdeb0ec74
commit
ce6658acc1
11 changed files with 58 additions and 1 deletions
|
@ -137,6 +137,11 @@ int getkeymap(char* name_buffer, size_t name_buffer_size, u32* map, u32* shift_m
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
void set_num_lock(bool on)
|
||||
{
|
||||
syscall(SC_set_num_lock, on);
|
||||
}
|
||||
|
||||
u16 internet_checksum(const void* ptr, size_t count)
|
||||
{
|
||||
u32 checksum = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue