X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/0adb475173e22229c0eb5c6c79b8a8488894b7c9..baf4f2fe0e04d6b95c428813dd920b597031ec04:/src/app/events.py?ds=sidebyside diff --git a/src/app/events.py b/src/app/events.py index eee6445..6b90d92 100755 --- a/src/app/events.py +++ b/src/app/events.py @@ -41,3 +41,5 @@ pygame_events = [ for name in pygame_events : eventNames[getattr(pygame, name)] = name + +eventCodes = dict([v, k] for k, v in eventNames.items())