simpleguics2pygame — keys

simpleguics2pygame/keys (May 29, 2015)

Keys helpers.

Piece of SimpleGUICS2Pygame. https://bitbucket.org/OPiMedia/simpleguics2pygame

GPLv3 — Copyright (C) 2015 Olivier Pirson http://www.opimedia.be/

SimpleGUICS2Pygame.simpleguics2pygame.keys.KEY_MAP = {'S': 83, '7': 55, 'e': 69, '8': 56, 'K': 75, 'E': 69, 'right': 39, 'j': 74, 'F': 70, 'b': 66, 'v': 86, 'G': 71, 'U': 85, 'n': 78, 'p': 80, 'z': 90, '0': 48, '4': 52, 'N': 78, '5': 53, 'i': 73, 'u': 85, 'left': 37, 'Y': 89, 'B': 66, 't': 84, 'Z': 90, 'o': 79, 'D': 68, 'V': 86, 'C': 67, 'J': 74, 'P': 80, 'up': 38, 'a': 65, 'O': 79, 'W': 87, 'm': 77, 's': 83, 'f': 70, 'Q': 81, '1': 49, 'h': 72, 'T': 84, 'r': 82, 'X': 88, 'k': 75, '6': 54, 'down': 40, 'c': 67, 'space': 32, 'l': 76, 'w': 87, '2': 50, 'd': 68, 'A': 65, 'I': 73, 'L': 76, 'R': 82, 'M': 77, '9': 57, 'q': 81, 'g': 71, 'H': 72, 'y': 89, '3': 51, 'x': 88}

SimpleGUI keyboard characters contants.

SimpleGUICS2Pygame.simpleguics2pygame.keys.__all__ = ['KEY_MAP']

list() -> new empty list list(iterable) -> new list initialized from iterable’s items

[source]