From ef252c41a8d7776c2c9991d9084c4aa12a767013 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 1 Feb 2025 11:03:50 -0800 Subject: Fix --- game/src/plugins/pong.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/src/plugins') diff --git a/game/src/plugins/pong.c b/game/src/plugins/pong.c index 070cc6f..c1c55be 100644 --- a/game/src/plugins/pong.c +++ b/game/src/plugins/pong.c @@ -98,10 +98,10 @@ void move_human_player(Player* player, R dt) { assert(player); R speed = 0; - if (gfx_is_key_pressed('a')) { + if (gfx_app_is_key_pressed('a')) { speed -= PLAYER_SPEED; } - if (gfx_is_key_pressed('d')) { + if (gfx_app_is_key_pressed('d')) { speed += PLAYER_SPEED; } -- cgit v1.2.3