summaryrefslogtreecommitdiff
path: root/include/libu64/pad.h
blob: db9e6e4196e36f5b536875c63e625efb2f65831d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef LIBU64_PAD_H
#define LIBU64_PAD_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