local function O(O,m)if O.UserInputType==keyboardInput then local m=O.KeyCode isDown[m]=true onKeyDown:Fire(m)end end local function m(O,m)if O.UserInputType==keyboardInput then local m=O.KeyCode isDown[m]=false onKeyUp:Fire(m)end end
-- ================================================================================
-- LOCAL FUNCTIONS
-- ================================================================================
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()
