switched from position to gui (since position no longer exists)

develop
doomchild 2011-03-29 10:08:08 -05:00
parent ea54dc645c
commit 3e335c4b7b
1 changed files with 2 additions and 2 deletions

@ -5,11 +5,11 @@ df = cm.get_single_context()
df.attach()
pos = df.position
gui = df.gui
print "Hotkeys"
hotkeys = pos.read_hotkeys()
hotkeys = gui.read_hotkeys()
for key in hotkeys:
print "x: %d\ny: %d\tz: %d\ttext: %s" % (key.x, key.y, key.z, key.name)