getPressed callback and return True or False solve the issue.