Typically, these alarms have inputs for power and ground, as well as for positive- and negative-switched door open circuits, negative trunk and/or hood circuits, and ignition-switched circuits to detect the ignition being turned on; aftermarket alarms also usually have a shock sensor which may be built into the control module or external to it.