2023-11-12 19:47:38 +00:00
|
|
|
#ifndef __INPUT_H__
|
|
|
|
#define __INPUT_H__
|
|
|
|
|
2024-02-18 03:11:07 +00:00
|
|
|
#include "patch_helpers.h"
|
2023-11-12 19:47:38 +00:00
|
|
|
|
2023-12-01 15:56:20 +00:00
|
|
|
typedef enum {
|
|
|
|
RECOMP_CAMERA_NORMAL,
|
|
|
|
RECOMP_CAMERA_DUALANALOG,
|
|
|
|
} RecompCameraMode;
|
|
|
|
|
|
|
|
extern RecompCameraMode recomp_camera_mode;
|
|
|
|
|
2024-01-23 04:08:59 +00:00
|
|
|
DECLARE_FUNC(void, recomp_get_gyro_deltas, float* x, float* y);
|
2023-12-27 22:56:26 +00:00
|
|
|
// TODO move these
|
2023-11-24 22:10:21 +00:00
|
|
|
DECLARE_FUNC(void, recomp_puts, const char* data, u32 size);
|
2023-12-27 22:56:26 +00:00
|
|
|
DECLARE_FUNC(void, recomp_exit);
|
2024-01-13 06:39:08 +00:00
|
|
|
DECLARE_FUNC(void, recomp_handle_quicksave_actions, OSMesgQueue* enter_mq, OSMesgQueue* exit_mq);
|
|
|
|
DECLARE_FUNC(void, recomp_handle_quicksave_actions_main, OSMesgQueue* enter_mq, OSMesgQueue* exit_mq);
|
2024-03-01 23:42:05 +00:00
|
|
|
DECLARE_FUNC(u16, recomp_get_pending_warp);
|
2023-11-12 19:47:38 +00:00
|
|
|
|
|
|
|
#endif
|