Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame
- from pygame.locals import *
- import sys
- K_BACKSPACE == #backspace
- K_TAB == #tab
- K_CLEAR == #clear
- K_RETURN == #enter
- K_ESCAPE == #escape
- K_SPACE == #spacebar
- K_PLUS == #plus
- K_MINUS == #minus
- K_PERIOD == #fullstop
- K_SLASH == #slash
- K_UP == #up arrowkey
- K_DOWN == #down arrowkey
- K_LEFT == #left arrowkey
- K_RIGHT == #right arrowkey
- K_0 == #0
- K_1 == #1
- K_2 == #2
- K_3 == #3
- K_4 == #4
- K_5 == #5
- K_6 == #6
- K_7 == #7
- K_8 == #8
- K_9 == #9
- K_a == #a
- K_b == #b
- K_c == #c
- K_y == #c
- K_z == #z
- K_DELETE == #delete
- K_KP0 == #0 (keypad)
- K_KP1 == #1 (keypad)
- K_KP2 == #2 (keypad)
- K_KP3 == #3 (keypad)
- K_KP4 == #4 (keypad)
- K_KP5 == #5 (keypad)
- K_KP6 == #6 (keypad)
- K_KP7 == #7 (keypad)
- K_KP8 == #8 (keypad)
- K_KP9 == #9 (keypad)
- K_F1 == #f1
- K_F2 == #f2
- K_F3 == #f3
- K_F14 == #f14
- K_F15 == #f15
- K_RSHIFT == #right shift
- K_LSHIFT == #left shift
- K_RCLTRL == #right control
- K_LCTRL == #left control
- K_RALT == #right alt
- K_LALT == #left alt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement