Edit -> Project Settings -> Input, then in the “Actions Mapping” list add buttons to motion controller events: