Fuel injected engines doesn't necessarily have electronically controlled throttle. And even when they do, injection amount isn't derived directly from pedal position. What's important is amount of air sucked into the cylinder, which is calculated from manifold air pressure or mass air flow sensor readings.