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);
|
2024-04-26 07:48:26 +02:00
|
|
|
DECLARE_FUNC(void, recomp_get_mouse_deltas, float* x, float* y);
|
2024-05-26 15:34:26 +02:00
|
|
|
DECLARE_FUNC(s32, recomp_get_targeting_mode);
|
|
|
|
DECLARE_FUNC(void, recomp_get_inverted_axes, s32* x, s32* y);
|
|
|
|
DECLARE_FUNC(s32, recomp_analog_cam_enabled);
|
|
|
|
DECLARE_FUNC(void, recomp_get_analog_inverted_axes, s32* x, s32* y);
|
|
|
|
DECLARE_FUNC(void, recomp_get_camera_inputs, float* x, float* y);
|
|
|
|
DECLARE_FUNC(void, recomp_set_right_analog_suppressed, s32 suppressed);
|
2023-11-12 20:47:38 +01:00
|
|
|
|
|
|
|
#endif
|