summaryrefslogtreecommitdiff
path: root/kernel/drivers/mouse.c
AgeCommit message (Collapse)Author
2024-12-12formatting: Use clang-format on all projectsAnton Kling
This commit also add braces to all `if` statements.
2024-06-25Optimize mouse driver to perform more work in kernelAnton Kling
Instead of sending every event to userland they now get handeld in the kernel when possible. It will now only send out events when buttons are clicked or the mouse position is requested by userland.
2024-05-05Kernel: Clear more interrupts for mouse driverAnton Kling
I am not sure why the mouse requires interrupt line 2 to be cleared.
2024-04-28Kernel: Use ringbuffer for keyboard and mouse eventsAnton Kling
2024-04-27Kernel: Make file descriptor numbers reusable.Anton Kling
Instead of using the "append only" list it now uses "relist" which allows for indexes to be removed.
2024-04-26Kernel/VFS: Change polling from variables to functionsAnton Kling
Instead of having to store state in variables functions are called to check the object directly.
2024-04-18Kernel: Fix compiler warningsAnton Kling
2024-04-02Kernel: Use "struct list" to handle file descriptors instead of a fixed ↵Anton Kling
sized array
2024-03-17stuffAnton Kling
2024-03-14random changes madeAnton Kling
2024-02-22Kernel: Fix undefined behavior and cleanup functions.Anton Kling
The int_syscall caused crashes for higher level of optimizations. To fix this I rewrote the function in assembly as I deemed it to be simpler.
2024-02-21New clang-format optionsAnton Kling
2024-02-17cleanupAnton Kling
2024-02-09Kernel/Interrupts: Restructure how interrupts are handeled in the kernelAnton Kling
Now all interrupts go through a common stub which will make certain signal handlers easier to implement
2024-02-07Remove sti and cli inline assemblyAnton Kling
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-10Kernel Style: Change uint*_t -> u*Anton Kling
2023-10-31Meta: Move kernel and userland to their own folders.Anton Kling
This is to allow both the kernel and the userland to share certain header files and to make the folder structure a bit more clear.