summaryrefslogtreecommitdiff
path: root/wasp/apps/testapp.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-27 20:09:28 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-06 21:04:20 (GMT)
commitd10f3dbc49f07e626debe495b3cd9fc9c4b31c93 (patch)
treeb83759cd0c5e05c4d2f23183d5a94ef929ffeb9e /wasp/apps/testapp.py
parent0ac2321e8287be908bc6684696568993591914a7 (diff)
wasp: Get the terminology straight
As it turned out Direction was only a Direction because there were things missing from the enumeration!
Diffstat (limited to 'wasp/apps/testapp.py')
-rw-r--r--wasp/apps/testapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wasp/apps/testapp.py b/wasp/apps/testapp.py
index 40e8cce..857ba4b 100644
--- a/wasp/apps/testapp.py
+++ b/wasp/apps/testapp.py
@@ -16,7 +16,8 @@ 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.EventMask.TOUCH |
+ wasp.EventMask.SWIPE_UPDOWN)
def background(self):
"""De-activate the application (without losing state)."""