Introduce InputEvent bindings in preparation for the input events spec