As far back as the L1011 Tristar active control systems have done 'clever' things with the ailerons.
At high lift modes (flaps / slats extended) the ailerons deflect up to dump lift from the wingtips and move the lift envelope inboard - alleviate root loads.
In elastic mode suppression (wing flapping) the ailerons move up or down together to counter the flapping motion.
In approach mode the ailerons feed into the spoilers, to augment roll control at slow speeds.
Things have moved on quite a lot since then, and you'll find inboard and outboard ailerons doing different things at any given time!