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