summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/EventKeyboard.lua
blob: 06ef6db534fb3dd7880d6a237d0cc8daf9bac8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---@meta

---@class cc.EventKeyboard :cc.Event
local EventKeyboard={ }
cc.EventKeyboard=EventKeyboard




---*  Constructor.<br>
---* param keyCode A given keycode.<br>
---* param isPressed True if the key is pressed.<br>
---* js ctor
---@param keyCode int
---@param isPressed boolean
---@return self
function EventKeyboard:EventKeyboard (keyCode,isPressed) end