Custom flaperons mix

I’m working on a tandem wing, four motor tilt rotor. I would like to setup flaperons on the 4 control surfaces so that when it’s in hover flight the flaps are extended to lessen the wing chord under the prop wash. I’d like them to retract as the motors transition to forward flight. Does this seem feasible without custom coding?