[go: up one dir, main page]

Menu

[r361]: / tda / controls.py  Maximize  Restore  History

Download this file

26 lines (20 with data), 438 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Modify this file to change the controls.
# There are a few presets. Just comment or erase the rest and uncomment what
# you want. (yeah sorry you kinda need to know how comments work in Python
# but it's pretty simple)
from pygame.locals import *
# Qwerty
LEFT = K_a
RIGHT = K_d
UP = K_w
DOWN = K_s
# Cursor keys
# LEFT = K_LEFT
# RIGHT = K_RIGHT
# UP = K_UP
# DOWN = K_DOWN
# Dvorak
LEFT = K_a
RIGHT = K_e
UP = K_COMMA
DOWN = K_o