Files
ac-decomp/include/libultra/osContPad.h
T
2023-04-22 00:55:05 -04:00

33 lines
472 B
C

/* This file is fabriacted. These structs are in a unified file in N64 SDK. */
#ifndef OS_CONT_PAD
#define OS_CONT_PAD
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MAXCONTROLLERS 4
typedef struct {
u16 type;
u8 status;
u8 errno;
} OSContStatus;
/* sizeof(OSContPad) == 6 */
typedef struct {
/* 0x00 */ u16 button;
/* 0x02 */ s8 stick_x;
/* 0x03 */ s8 stick_y;
/* 0x04 */ u8 errno;
} OSContPad;
#ifdef __cplusplus
}
#endif
#endif