add wrapper for FFI input.open()

pull/1076/head
Hans-Werner Hilse 10 years ago
parent 3eae0cdcb7
commit 64601ffe3b

@ -128,6 +128,16 @@ function Input:init()
self.event_map[10021] = "NotCharging"
end
--[[
wrapper for FFI input open
Note that we adhere to the "." syntax here for compatibility.
TODO: clean up separation FFI/this
--]]
function Input.open(device)
input.open(device)
end
--[[
Different device models can implement their own hooks
and register them.

Loading…
Cancel
Save