diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-20 13:43:18 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-20 16:56:30 +0200 |
| commit | 87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17 (patch) | |
| tree | f3d317088514089d0f84fb553cf9e307dffca549 /src/camera/privinc | |
| parent | 14df82ee4db71509f4ec4968df439d4659ca1ac3 (diff) | |
| download | jancity-87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17.tar.gz | |
Remap calls to pad/mouse/keyboard to input
Diffstat (limited to 'src/camera/privinc')
| -rw-r--r-- | src/camera/privinc/camera_private.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/camera/privinc/camera_private.h b/src/camera/privinc/camera_private.h index c3cb64c..e83c255 100644 --- a/src/camera/privinc/camera_private.h +++ b/src/camera/privinc/camera_private.h @@ -2,6 +2,9 @@ #define CAMERA_PRIVATE_H #include <camera.h> +#include <input.h> +#include <mouse.h> +#include <pad.h> #ifdef __cplusplus extern "C" @@ -15,9 +18,11 @@ enum }; void camera_update_pos(struct camera *cam); -void camera_update_pad(struct camera *cam, const struct pad *p); +void camera_update_pad(struct camera *cam, const struct pad *p, + const struct input *in); void camera_update_mouse(struct camera *cam, const struct mouse *m); -void camera_update_touch(struct camera *cam, const struct mouse *m); +void camera_update_touch(struct camera *cam, const struct mouse *m, + const struct input *in); #ifdef __cplusplus } |
