love.keyboard.isDown
does not properly detect remapped input
#2082
Labels
library dependency
Related to a library used by LÖVE
Linux
more info needed
Further information is needed from the user
Using certain xkb keyboard options confuses
love.keyboard.isDown
. With+ctrl(nocaps)
and the following code,Pressing left control produces
and pressing capslock produces
This behavior is confusing, at least to me. Considering the
key
parameter passed tokeypressed
is lctrl in both cases, I would expectisDown
to return true if either virtual control key was pressed. At the very least, it should default to the state of the physical control key and not the capslock key. It's possible this is an issue in SDL, but I've never had this issue in an SDL application and I don't have the experience to check for sure.The text was updated successfully, but these errors were encountered: