Class enchant.KeyboardInputManager
- Defined in: enchant.js
 - Extends enchant.BinaryInputManager
 
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
								 
									enchant.KeyboardInputManager(dom, flagStore)
								 
								
							 | 
						
- Fields borrowed from class enchant.BinaryInputManager:
 - activeEventNameSuffix, activeInputsNum, inactiveEventNameSuffix
 - Fields borrowed from class enchant.InputManager:
 - broadcastTarget, source, valueStore
 
Method Summary
| Method Attributes | Method Name and Description | 
|---|---|
| 
										 keybind(keyCode, name)
										 
										
									 | 
								|
| 
										 keyunbind(keyCode)
										 
										
									 | 
								
- Methods borrowed from class enchant.BinaryInputManager:
 - bind
 - changeState
 - unbind
 - Methods borrowed from class enchant.InputManager:
 - addBroadcastTarget
 - broadcastEvent
 - removeBroadcastTarget
 - Methods borrowed from class enchant.EventTarget:
 - addEventListener
 - clearEventListener
 - dispatchEvent
 - on
 - removeEventListener
 
Class Detail
						enchant.KeyboardInputManager(dom, flagStore)
					
					
					- Parameters:
 - {HTMLElement} dom
 - {*} flagStore
 
Method Detail
- 
								keybind(keyCode, name)
- Parameters:
 - {Number} keyCode
 - {String} name
 
 - 
								keyunbind(keyCode)
- Parameters:
 - {Number} keyCode