summaryrefslogtreecommitdiff
path: root/mm/include/padutils.h
blob: 4531bc010a23192efe2884bc6560f6c9d853f1d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PADUTILS_H
#define PADUTILS_H

#include "PR/controller.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

#endif