basekernel/kernel/mouse.h

22 lines
359 B
C
Raw Permalink Normal View History

2024-10-14 23:09:06 +02:00
/*
Copyright (C) 2016-2019 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file LICENSE for details.
*/
#ifndef MOUSE_H
#define MOUSE_H
#include "kernel/types.h"
struct mouse_state {
uint8_t buttons;
uint16_t x;
uint16_t y;
};
void mouse_read( struct mouse_state *s );
void mouse_init();
#endif