diff --git a/src/routes/superglidetrainer/+page.svelte b/src/routes/superglidetrainer/+page.svelte index 1222419..ecb9811 100644 --- a/src/routes/superglidetrainer/+page.svelte +++ b/src/routes/superglidetrainer/+page.svelte @@ -559,9 +559,9 @@ let key = await waitingKeypress(); console.log(`Pressed key "${key}"`); - if (key === $settings.mnk.crouch.bind) { + if (key.toLowerCase() === $settings.mnk.crouch.bind) { handleCrouch(); - } else if (key === $settings.mnk.jump.bind) { + } else if (key.toLowerCase() === $settings.mnk.jump.bind) { handleJump(); } else { instructions = `Other key pressed, ignoring`;