ade.abort.Keyboard(protocol.Protocol)
class documentation
Part of ade.abort
(View In Hierarchy)
Receives STDIN. Pressing the Enter key will thus cause ade to quit.
Method | __init__ | Keyboard() |
Method | addCallback | Adds func to my list of shutdown callbacks. |
Method | shutdown | Cleanly shuts me down. |
Method | ignore | Call this to ignore keypresses. For development purposes only. |
Method | dataReceived | Runs down the shutdown callback the first time data is received, e.g., the Enter key is pressed. |