pmndrs / racing-game

🏎 Open source racing game developed by everyone willing
https://racing.pmnd.rs/
MIT License
2.13k stars 176 forks source link

Azerty controls #165

Closed vidup closed 3 years ago

vidup commented 3 years ago

I thought we could add a few controls for Azerty users. So I added Z for forward & Q for left movements. I also added an indication of the new controls in the Help.tsx component so that users can see it when they launch the game.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/racing-game/4pVqSHWVX7UXVLj1T8SxuABK8sec
✅ Preview: https://racing-game-git-fork-vidup-fun-pmndrs.vercel.app

njm222 commented 3 years ago

Instead of adding different keys it would be better if they were user editable and we just save the state in localStorage or supabase. This will solve all other keyboard layouts as well.

bjornstar commented 3 years ago

Instead of adding different keys it would be better if they were user editable and we just save the state in localStorage or supabase. This will solve all other keyboard layouts as well.

Let's make an issue for that.