Newer drive-by-wire systems operate on a fully electronic mode. These systems work by the ECM actuating a motor at the throttle body and using multiple TPS or throttle position sensors as a feedback loop. They're complex systems that require the attention of a modern technician to diagnose. See how they operate right here.