Is there a good way to listen to key events and tie them back to the active vehicle?

I am trying to add another layer of safety to my vehicle in which I have to hold a key to continue performing a maneuver. I was looking through the code and I can only see references to key event listeners in some of the widgets I am not using. Is there a widget that is active with the default setup that would listen for key press events and I could tie them back to the active vehicle?

Please only post the same question in one place