diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2020-12-17 13:17:58 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 13:17:58 -0600 |
commit | 096de8d9b2ffd90c52e790296bfd7c5436d45ca3 (patch) | |
tree | 9c5af2e04dea05221c71946a5dfc06471f77801d /include/input.h | |
parent | bc504264f1e54b3c1e482710c592e5549828bfe1 (diff) | |
parent | f90f3affeb9b0a66aa7df68f5fdecd692033faf9 (diff) |
Merge pull request #12 from SethBarberee/master
Merge work from SethBarberee/pmd-red into pret.
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h new file mode 100644 index 0000000..0c4208d --- /dev/null +++ b/include/input.h @@ -0,0 +1,62 @@ +#ifndef GUARD_INPUT_H +#define GUARD_INPUT_H + +struct UnkInputStruct1 +{ + /* 0x0 */ u16 unk0; + /* 0x2 */ u16 unk2; + /* 0x4 */ u16 unk4; + /* 0x6 */ u16 unk6; + /* 0x8 */ u16 unk8; + /* 0xA */ u16 unkA; + /* 0xC */ u32 unkC; +}; + +struct UnkInputStruct2 +{ + /* 0x0 */ u16 unk0; + /* 0x2 */ u16 unk2; + /* 0x4 */ u16 unk4; + /* 0x6 */ u16 unk6; +}; + +struct Input +{ + /* 0x0 */ u16 unk0; + /* 0x2 */ u16 unk2; + /* 0x4 */ u16 unk4; + /* 0x6 */ u16 unk6; + /* 0x8 */ u16 unk8; + /* 0xA */ u16 unkA; + /* 0xC */ u16 unkC; + /* 0xE */ u16 unkE; + /* 0x10 */ u16 unk10; + /* 0x12 */ u16 unk12; + /* 0x14 */ u16 unk14; + /* 0x16 */ u16 unk16; + /* 0x16 */ u16 unk18; + /* 0x1A */ u16 unk1A; + /* 0x1C */ u16 unk1C; + /* 0x1E */ u16 unk1E; + /* 0x20 */ u32 unk20; + /* 0x24 */ u16 unk24; + /* 0x24 */ u16 unk26; + /* 0x28 */ u8 unk28; + /* 0x29 */ u8 unk29; + /* 0x2A */ u8 unk2A; + /* 0x2B */ u8 padding; +}; + +void InitInput(void); +void sub_800485C(void); +u8 sub_80048B8(void); +u8 sub_80048BC(void); +u8 sub_80048C0(void); +u8 sub_80048C4(void); +u8 sub_80048C8(void); +u8 sub_80048CC(void); +void sub_80048D0(void); +void sub_80048F8(void); +void sub_8004914(void); + +#endif // GUARD_INPUT_H |