local function l(l,s)if l.UserInputType==keyboardInput then local s=l.KeyCode isDown[s]=true onKeyDown:Fire(s)end end local function s(l,s)if l.UserInputType==keyboardInput then local s=l.KeyCode isDown[s]=false onKeyUp:Fire(s)end end

local function InputBegan(input, processed)
	if input.UserInputType == keyboardInput then
		local key = input.KeyCode
		isDown[key] = true
		onKeyDown:Fire(key)
	end
end -- InputBegan()

local function InputEnded(input, processed)
	if input.UserInputType == keyboardInput then
		local key = input.KeyCode
		isDown[key] = false
		onKeyUp:Fire(key)
	end
end -- InputEnded()