serenity/Kernel/Keyboard.h
Andreas Kling 9396108034 Import the "gerbert" kernel I worked on earlier this year.
It's a lot crappier than I remembered it. It's gonna need a lot of work.
2018-10-16 11:02:00 +02:00

16 lines
216 B
C++

#pragma once
namespace Keyboard {
enum class LED {
ScrollLock = 1 << 0,
NumLock = 1 << 1,
CapsLock = 1 << 2,
};
void initialize();
void setLED(LED);
void unsetLED(LED);
void handleInterrupt();
}