Class enchant.KeyboardInputSource
キーボード入力をラップするBinaryInputSource. キーコードをidとして持つ.
- Defined in: enchant.js
- Extends enchant.BinaryInputSource
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.KeyboardInputSource(keyCode)
|
- Fields borrowed from class enchant.InputSource:
- identifier
Method Summary
Method Attributes | Method Name and Description |
---|---|
<static> |
enchant.KeyboardInputSource.getByKeyCode(keyCode)
|
- Methods borrowed from class enchant.InputSource:
- notifyStateChange
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.KeyboardInputSource(keyCode)
- Parameters:
- {String} keyCode
- キーコード.
Method Detail
-
- Parameters:
- {Number} keyCode
- キーコード.
- Returns:
- {enchant.KeyboardInputSource} instance.