adds inputhelper 'directionFromEvents'