Not 100% but on the 777 the centre (inner) flap acts as the inboard aileron too
Not quite: the centre inner flap is actually the inboard aileron that also droops as a flap when main trailing edge flaps are lowered.
High speed aileron for the rest of the flight and called a flaperon....
TW