Structures of CaV2 Ca2+/CaM-IQ domain complexes reveal binding modes that underlie calcium-dependent inactivation and facilitation.