If you're set on using button presses for it, it's entirely doable, though I would suggest the "analog" route for slightly better overall control if it's possible.
You'd be looking at "motion input" and "extension motion input" as the options to check in the controller settings.