1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

Kernel+KeyboardSettings: Remove numlock syscall and implement ioctl

This commit is contained in:
Edwin Hoksberg 2021-07-05 21:51:54 +02:00 committed by Gunnar Beutner
parent 385e2ccb66
commit 99328e1038
10 changed files with 21 additions and 38 deletions

View file

@ -1,18 +0,0 @@
/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Devices/HID/HIDManagement.h>
#include <Kernel/Process.h>
namespace Kernel {
KResultOr<FlatPtr> Process::sys$set_num_lock(bool on)
{
HIDManagement::the().set_num_lock(on);
return 0;
}
}