I can't add controller support to widget. Please help

Actually, I fixed it. It was working I just needed to add the set keyboard focus node in the event construct of the widget