Using Keyboard Control in a Widget

I don’t have an on key down function in my widget… am I missing something here cause I have never seen this function before