diff --git a/frontend/device/input.lua b/frontend/device/input.lua index a1e5d6216..0a46ceca0 100644 --- a/frontend/device/input.lua +++ b/frontend/device/input.lua @@ -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.