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

---@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