mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 12:59:44 +00:00
3705eaedac
* m2ctx.py * check warnings * vimode includes * bgcheck includes * padmgr includes * sprintf * z_std_dma * sys_ucode * z64voice * z64lib * z64effect_ss * segment_symbols.h * padutils * main * stdarg.h * fault * bzero * undefined_syms * z64rumble
18 lines
343 B
C
18 lines
343 B
C
#ifndef PADUTILS_H
|
|
#define PADUTILS_H
|
|
|
|
#include "PR/os_cont.h"
|
|
|
|
|
|
typedef struct Input {
|
|
/* 0x00 */ OSContPad cur;
|
|
/* 0x06 */ OSContPad prev;
|
|
/* 0x0C */ OSContPad press; // X/Y store delta from last frame
|
|
/* 0x12 */ OSContPad rel; // X/Y store adjusted
|
|
} Input; // size = 0x18
|
|
|
|
|
|
void PadUtils_UpdateRelXY(Input* input);
|
|
|
|
#endif
|