|
|
|
@ -300,7 +300,7 @@ function Input:disableRotationMap()
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[--
|
|
|
|
|
Wrapper for Lua/C input open.
|
|
|
|
|
Wrapper for our Lua/C input module's open.
|
|
|
|
|
|
|
|
|
|
Note that we adhere to the "." syntax here for compatibility.
|
|
|
|
|
|
|
|
|
@ -325,7 +325,7 @@ function Input.open(path, name)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[--
|
|
|
|
|
Wrapper for Lua/C input close.
|
|
|
|
|
Wrapper for our Lua/C input module's close.
|
|
|
|
|
|
|
|
|
|
Note that we adhere to the "." syntax here for compatibility.
|
|
|
|
|
--]]
|
|
|
|
@ -340,6 +340,16 @@ function Input.close(path)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[--
|
|
|
|
|
Wrapper for our Lua/C input module's closeAll.
|
|
|
|
|
|
|
|
|
|
Note that we adhere to the "." syntax here for compatibility.
|
|
|
|
|
--]]
|
|
|
|
|
function Input.teardown()
|
|
|
|
|
input.closeAll()
|
|
|
|
|
Input.opened_devices = {}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[--
|
|
|
|
|
Different device models can implement their own hooks and register them.
|
|
|
|
|
--]]
|
|
|
|
|