Keyboard device: use an event filter to catch key event
Add a way for InputMapping to be configured by input device events