summaryrefslogtreecommitdiff
path: root/wasp/apps/testapp.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-26 20:42:03 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-26 20:42:03 (GMT)
commita9413db5cf80c8ccf46782aeba8503371655d912 (patch)
treea481b24e8c1c932d1712d734d747fcd983c332af /wasp/apps/testapp.py
parent9545e60f6242b6dad6a82eec4bb8f7e3c02a579a (diff)
wasp: Move the constants into seperate container classes
Diffstat (limited to 'wasp/apps/testapp.py')
-rw-r--r--wasp/apps/testapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/testapp.py b/wasp/apps/testapp.py
index af531eb..40e8cce 100644
--- a/wasp/apps/testapp.py
+++ b/wasp/apps/testapp.py
@@ -16,7 +16,7 @@ class TestApp():
"""Activate the application."""
self.on_screen = ( -1, -1, -1, -1, -1, -1 )
self.draw(effect)
- wasp.system.request_event(wasp.EVENT_TOUCH | wasp.EVENT_SWIPE_UPDOWN)
+ wasp.system.request_event(wasp.Event.TOUCH | wasp.Event.SWIPE_UPDOWN)
def background(self):
"""De-activate the application (without losing state)."""