Adding 'level' for colorControl.
authorrtrimana <rtrimana@uci.edu>
Sun, 4 Aug 2019 05:55:49 +0000 (22:55 -0700)
committerrtrimana <rtrimana@uci.edu>
Sun, 4 Aug 2019 05:55:49 +0000 (22:55 -0700)
Extractor/ExtractorScript.py

index ef313d5..d04a9dc 100644 (file)
@@ -926,6 +926,8 @@ def ExtractEvents(extractedEvents):
                                event = open("eventSimulator/musicPlayerLevelEvent.groovy", "r")
                        elif capability == "capability.switchLevel":
                                event = open("eventSimulator/switchLevelEvent.groovy", "r")
+                       elif capability == "capability.colorControl":
+                               event = open("eventSimulator/colorLevelChangeEvent.groovy", "r")
                        for line in event:
                                extractedEvents.write(line)
                        event.close()