Exemplo n.º 1
0
Arquivo: api.py Projeto: tarzenda/gasp
def key_pressed(key):
    return key in backend.keys()
Exemplo n.º 2
0
def key_pressed(key):
    return key in backend.keys()
Exemplo n.º 3
0
Arquivo: api.py Projeto: tarzenda/gasp
def keys_pressed(): 
    """
    Returns a list of all of the keys being pressed
    """
    return backend.keys()
Exemplo n.º 4
0
def keys_pressed():
    """
    Returns a list of all of the keys being pressed
    """
    return backend.keys()