Add support for input syncs without direction defined

When you create a GenericSync / MouseSync with direction undefined the velocity / delta variable on the event is an array and makes current code crash. This checkin allows for support for this.