# have all the modifiers this started with been released?
if (data.action == ob.KeyAction.Release and
not self.state & data.state):
# have all the modifiers this started with been released?
if (data.action == ob.KeyAction.Release and
not self.state & data.state):