diff options
| author | realtradam <[email protected]> | 2024-05-12 02:08:26 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-12 02:08:26 -0400 |
| commit | 885591d23c49c2a4dfefbf78c76f1394f938947e (patch) | |
| tree | cb94528b3ea4213231cd68754ab5b155a3b6b897 /src/input.c | |
| parent | 963ca487e39dc6f5fa28ea230610d140bf1583fb (diff) | |
| download | tojam2024-885591d23c49c2a4dfefbf78c76f1394f938947e.tar.gz tojam2024-885591d23c49c2a4dfefbf78c76f1394f938947e.zip | |
working camera
Diffstat (limited to 'src/input.c')
| -rw-r--r-- | src/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 5a43ae5..3661492 100644 --- a/src/input.c +++ b/src/input.c @@ -18,7 +18,6 @@ void updateController() held_p2 = joypad_get_buttons_held(JOYPAD_PORT_2); inputs_p2 = joypad_get_inputs(JOYPAD_PORT_2); - float x = inputs_p1.stick_x; float y = inputs_p1.stick_y; @@ -138,4 +137,5 @@ void updateController() inputs_p2.stick_x = x / 55.0f * 127.0f; inputs_p2.stick_y = y / 55.0f * 127.0f; + } |
