input.IsKeyDown Problem ......

this bug is korean language keyboard doesn’t work!

my last post is http://forum.facepunch.com/showthread.php?t=1405215

why this bug not fixing?

this bug is really shitshitshitshitshitshstihtihst hhh

pls pls fix this :slight_smile:

source
[lua]
local KEYTAB_CAST = {KEY_Q, KEY_E, KEY_R, KEY_T}
Pressed = Pressed or {}
hook.Add(“Move”, “Cast”, function()
for index, key in pairs(KEYTAB_CAST) do
if client:IsTyping() then continue end

	if input.IsKeyDown(key) and !Pressed[key] then
		print(key)
		netstream.Start("sv_CastStart", index)
		Pressed[key] = true
	elseif input.WasKeyReleased(key) and Pressed[key] then
		netstream.Start("sv_CastFinish", index)
		Pressed[key] = false
	end
end

end)
[/lua]

i love you developer

[editline]11th July 2014[/editline]

oh! input.IsMouseDown is korean keyboards working!!