19#ifndef __DC_MAPLE_MOUSE_H
20#define __DC_MAPLE_MOUSE_H
41#define MOUSE_RIGHTBUTTON BIT(1)
42#define MOUSE_LEFTBUTTON BIT(2)
43#define MOUSE_SIDEBUTTON BIT(3)
49#define MOUSE_DELTA_CENTER 0x200
100void mouse_init(
void);
101void mouse_shutdown(
void);
Various common macros used throughout the codebase.
static uint32_t("Please see purupuru_effect_t for modern equivalent.") PURUPURU_EFFECT2_UINTENSITY(uint8_t x)
Definition purupuru.h:96
Macros to help dealing with register fields.
Mouse status structure.
Definition mouse.h:82
int dz
Z movement value.
Definition mouse.h:95
int dy
Y movement value.
Definition mouse.h:92
int dx
X movement value.
Definition mouse.h:89
uint32_t buttons
Buttons pressed bitmask.
Definition mouse.h:86