summaryrefslogtreecommitdiff
path: root/arm7/lib/include/PAD_xyButton.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-07-06 16:26:39 -0400
committerGitHub <noreply@github.com>2020-07-06 16:26:39 -0400
commit6b4bf8b5a0fe88dfe6adc769ea82bc2aeb527752 (patch)
tree873500ec67f14572021e773b87f1590b0cc428eb /arm7/lib/include/PAD_xyButton.h
parent8ae925315e82abdb9f07442d200f4a7bcae97559 (diff)
parent85c37c87a3c79f97c9603129701f91785abd0ddc (diff)
Merge pull request #223 from Cleverking2003/master
Decompile PAD_xyButton
Diffstat (limited to 'arm7/lib/include/PAD_xyButton.h')
-rw-r--r--arm7/lib/include/PAD_xyButton.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arm7/lib/include/PAD_xyButton.h b/arm7/lib/include/PAD_xyButton.h
new file mode 100644
index 00000000..6d8c0d38
--- /dev/null
+++ b/arm7/lib/include/PAD_xyButton.h
@@ -0,0 +1,12 @@
+#ifndef POKEDIAMOND_PAD_XYBUTTON_H
+#define POKEDIAMOND_PAD_XYBUTTON_H
+
+#include "mmap.h"
+#include "nitro/types.h"
+
+#define BUTTON_XY_BUF (*(vu16 *) HW_BUTTON_XY_BUF)
+
+BOOL PAD_InitXYButton(void);
+void PADi_xyButtonAlarmHandler(void);
+
+#endif