axmol/cocos/scripting/lua-bindings/auto/api/EventController.lua

53 lines
1.3 KiB
Lua

--------------------------------
-- @module EventController
-- @extend Event
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventController] getControllerEventType
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventController] setConnectStatus
-- @param self
-- @param #bool isConnected
--------------------------------
--
-- @function [parent=#EventController] isConnected
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#EventController] setKeyCode
-- @param self
-- @param #int keyCode
--------------------------------
--
-- @function [parent=#EventController] getController
-- @param self
-- @return Controller#Controller ret (return value: cc.Controller)
--------------------------------
--
-- @function [parent=#EventController] getKeyCode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @overload self, int, cc.Controller, bool
-- @overload self, int, cc.Controller, int
-- @function [parent=#EventController] EventController
-- @param self
-- @param #int type
-- @param #cc.Controller controller
-- @param #int keyCode
return nil