Kernel: Move KeyEvent/MouseEvent from kernel to LibInput

This commit is contained in:
2024-05-28 18:00:39 +03:00
parent 87d52e5ebe
commit 8bc6c2eb20
19 changed files with 196 additions and 113 deletions

View File

@@ -7,7 +7,7 @@
#include <sys/mman.h>
#include <termios.h>
#include <kernel/Input/MouseEvent.h>
#include <LibInput/MouseEvent.h>
framebuffer_info_t fb_info;
void* fb_mmap = nullptr;
@@ -137,7 +137,7 @@ int main(int argc, char** argv)
while (true)
{
using namespace Kernel::Input;
using namespace LibInput;
MouseEvent event;
if (read(mouse_fd, &event, sizeof(event)) == -1)