def METHOD_NAME(self, e, keycode,type):
    if e in self.ignore:
        return
    g = self.fw.get_geometry()
    fe = self.build_event(e, keycode, g,type)
    if not fe: return
    self.fw.send_event(fe)