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.
def __init__(self):

Keyboard()

def addCallback(self, func):

Adds func to my list of shutdown callbacks.

def shutdown(self):

Cleanly shuts me down.

def ignore(self):

Call this to ignore keypresses. For development purposes only.

def dataReceived(self, data):

Runs down the shutdown callback the first time data is received, e.g., the Enter key is pressed.

API Documentation for ade, generated by pydoctor at 2022-11-17 13:13:22.