diff --git a/kernel/mouse.h b/kernel/mouse.h new file mode 100644 index 0000000..7981aa4 --- /dev/null +++ b/kernel/mouse.h @@ -0,0 +1,21 @@ +/* +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