Added primitive support for unpacking motion events