Closed hajimehoshi closed 1 year ago
Oops, on this machine, ebiten.NumpadEnter
was pressed instead of ebiten.Enter
.
This is an issue in the machine, not Ebitengine.
https://techtablets.com/forum/topic/keyboard-enter-key-problem/
I saw, that in the Keyboard configuration of the game, when I choose the Enter key there its Named “Enter (Numerical Pad)” Maybe this is the problem?
https://rigacci.org/wiki/doku.php/doc/appunti/hardware/jumper_ezbook_s3
FIXME Enter key misbehaving in less. Problem: e.g. man page, backslash to search, hit Enter does not work, it prints ESCOM string instad. Workaround: use Ctrl-M. Tips: xev says that Enter sends KP_Enter instead of Return, but changing keysym with xmodmap -e "keysym KP_Enter = Return" does not resolve. Use .lesskey to modifiy?
Ebitengine Version
6f4cb04ebb14f16ec67ef99b2b307ab959b17b7c
Operating System
Go Version (
go version
)go 1.19
What steps will reproduce the problem?
See the result of
println(ebiten.IsKeyPressed(ebiten.KeyEnter))
and press an enter keyWhat is the expected result?
true
is printed when the key is pressedWhat happens instead?
false
is printed even when the key is pressedAnything else you feel useful to add?