KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
mouse.h File Reference

Definitions for using the mouse device. More...

#include <kos/cdefs.h>
#include <stdint.h>
#include <kos/regfield.h>

Go to the source code of this file.

Data Structures

struct  mouse_state_t
 Mouse status structure. More...
 

Macros

#define MOUSE_RIGHTBUTTON   BIT(1)
 Right mouse button.
 
#define MOUSE_LEFTBUTTON   BIT(2)
 Left mouse button.
 
#define MOUSE_SIDEBUTTON   BIT(3)
 Side mouse button.
 
#define MOUSE_DELTA_CENTER   0x200
 Mouse center value in the raw condition structure.
 

Detailed Description

Definitions for using the mouse device.

This file contains the definitions needed to access the Maple mouse type device.

Author
Jordan DeLong
Megan Potter