NoelFB / Celeste

Celeste Bugs & Issue Tracker + some Source Code
MIT License
3.59k stars 427 forks source link

Key bindings change on relaunch if your keyboard layout does not match your physical keyboard #37

Open glastonbridge opened 2 years ago

glastonbridge commented 2 years ago

Seen in 1.4.0 on 64-bit Windows version, downloaded from Itch.

This is really niche I am sorry!

I use a QWERTY physical keyboard, and I use Windows' language settings to use a Dvorak keyboard layout, so that the keycaps don't match the keyboard layout. When I load Celeste, my key bindings are wrong and I need to set them. When I reload, they have been mapped to what the key would have been if I had specified them in QWERTY. Effectively, they move position.

Steps to reproduce:

  1. Set your keyboard up to something that differs from its physical layout, like Dvorak (I have not tested this with other layouts, but I suspect it's an equivalent behaviour)
  2. Launch Celeste
  3. Navigate to Keyboard Options
  4. Set (for example) jump to be H in Dvorak, by pressing the physical C key.
  5. Exit Celeste
  6. Launch Celeste
  7. Navigate to Keyboard Options
  8. Observe that the key for jump is now C, which corresponds to the physical I key.

Optional step: give yourself a hug for making such a wonderful game!