diff options
author | who-knows-who <j.williams97@outlook.com> | 2021-06-22 22:12:29 +0100 |
---|---|---|
committer | who-knows-who <j.williams97@outlook.com> | 2021-06-22 22:12:29 +0100 |
commit | cec1d428f458997fe3e4c0ac4abf0dc6b36ba699 (patch) | |
tree | f246a8956341a8f743d29c58f39a80a6ac5f865a /arm9/lib/include/tp.h | |
parent | 5bbef1bba183ad6654edbd0c8fc8244db38ac5c9 (diff) | |
parent | d192b6951f54d1397ded3db03b5e486ec679ac6f (diff) |
Merge branch 'master' of github.com:pret/pokediamond into 0202A1E0
Diffstat (limited to 'arm9/lib/include/tp.h')
-rw-r--r-- | arm9/lib/include/tp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arm9/lib/include/tp.h b/arm9/lib/include/tp.h index d2687545..dc762f10 100644 --- a/arm9/lib/include/tp.h +++ b/arm9/lib/include/tp.h @@ -1,6 +1,14 @@ #ifndef NITRO_TP_H_ #define NITRO_TP_H_ +#define TP_TOUCH_OFF 0 // Not being touched +#define TP_TOUCH_ON 1 // Being touched + +#define TP_VALIDITY_VALID 0 // Valid +#define TP_VALIDITY_INVALID_X 1 // Data with invalid X coordinate +#define TP_VALIDITY_INVALID_Y 2 // Data with invalid Y coordinate +#define TP_VALIDITY_INVALID_XY (TP_VALIDITY_INVALID_X | TP_VALIDITY_INVALID_Y) // Data with invalid X and Y coordinates + // Touch panel input structure typedef struct { |