SystemEvent.EventType
Class
Module: cc
The event type supported by SystemEvent
Index
Properties
KEY_DOWN
String
The event type for press the key down event, you can use its value directly: 'keydown'KEY_UP
String
The event type for press the key up event, you can use its value directly: 'keyup'DEVICEMOTION
String
The event type for press the devicemotion event, you can use its value directly: 'devicemotion'
Details
Properties
KEY_DOWN
The event type for press the key down event, you can use its value directly: 'keydown'
meta | description |
---|---|
Type | String |
Defined in | cocos2d/core/event/system-event.js:48 |
KEY_UP
The event type for press the key up event, you can use its value directly: 'keyup'
meta | description |
---|---|
Type | String |
Defined in | cocos2d/core/event/system-event.js:56 |
DEVICEMOTION
The event type for press the devicemotion event, you can use its value directly: 'devicemotion'
meta | description |
---|---|
Type | String |
Defined in | cocos2d/core/event/system-event.js:64 |