22 lines
359 B
C
22 lines
359 B
C
/*
|
|
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
|