Open rboullerne opened 4 years ago
I had this too.
Home
key sends a hxd.Event
with e.keyCode = 36, e.charCode = 0
$
key sends a first hxd.Event
with e.keyCode = 36, e.charCode = 0
, and then a second with e.keyCode = 0, e.charCode = 36
. Cursor goes to the beginning and then write $
there.£
key sends a first hxd.Event
with e.keyCode = 36, e.charCode = 0
, and then a second with e.keyCode = 0, e.charCode = 163
. My font doesn't support £
so I saw the real behavior, which is the same as $
but since SHIFT is pressed all text before cursor is selected and then replaced by $
(edit: on an azerty keyboard)
Here are a couple weird behaviours when using TextInput with SDL (using an AZERTY french keyboard) :
Everything works fine under DirectX.