Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Started on mouse driver
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 24, 2024
1 parent e84bbf5 commit f67f844
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/system/drivers/mouse.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#ifndef __MOUSE_H__
#define __MOUSE_H__

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <vga.h>
#include <system/idt/idt.h>
#include <serial/serial.h>

extern uint32_t mouse_x;
extern uint32_t mouse_y;

extern bool mouse_left_pressed;
extern bool mouse_right_pressed;

extern bool mouse_moved;

void mouse_init();

#endif // __MOUSE_H__

0 comments on commit f67f844

Please sign in to comment.