blob: 9cd4818957c7a6ac0aa9c9ccb065e668cd1dc60f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <stdbool.h>
#include <stdint.h>
struct MouseEvent {
bool updated;
bool lmb;
bool rmb;
bool mmb;
int relx;
int rely;
};
void ps2mouse_init(void);
void ps2mouse_recv(void);
struct MouseEvent ps2mouse_get(void);
|