-------------------------------- -- @module EventKeyboard -- @extend Event -- @parent_module cc -------------------------------- -- Constructor.
-- param keyCode A given keycode.
-- param isPressed True if the key is pressed.
-- js ctor -- @function [parent=#EventKeyboard] EventKeyboard -- @param self -- @param #int keyCode -- @param #bool isPressed -- @return EventKeyboard#EventKeyboard self (return value: cc.EventKeyboard) return nil