Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Lordling of Hearts

An erotic, cozy, and comedic text/RPG adventure · By Nranchs

Bug, Hotkeys controls not respecting keyboard layout

A topic by sillywalrus created Jun 07, 2024 Views: 122 Replies: 1
Viewing posts 1 to 2

A very common bug in games and software is when the program takes raw keystrokes and interprets them through a qwerty layout regardless of what keyobard the computer uses. Most people, developers included, will understandably never notice this bug because they use the querty keyboard andso experience no observable buggy behavior. I use a non-qwerty keyboard: (played in firefox browser, though potentially elsewhere) Lording of Hearts has this bug. 

Eg, Pressing E on my keyboard doesn't attack the nearest enemy, but pressing Y (which is in the qwerty E position) does, and so on.

Developer (3 edits)

I am sorry for your inconvenience, I know that bad hotkey labels are very frustrating.

Unfortunately, that behavior is as intended. The buttons are bound positionally, so WASD keys remain together on the same spot regardless of keyboard. What is not working is that the labels for the hotkeys are static. They do not show the keys as they appear on the users keyboard, but only for the QWERTY keyboard. 

Alas, this isn't trivial to fix. It will require part of a key rebind system to be in place (as the labels need to reference some of the internal action bindings, and those are tricky to work with). I hope to add key rebind system in the future, which should fix all your issues and more, but it might take quite a while to do so.