Electrohydraulic control