I'm not 100% sure about hornets but even on my honda XR..you get a throttle position sensor. aka. TPS.
From what i understand, it's just to tell the ECU to control the spark timing/duration etc.
Nowadays quite a few bikes are having fuel injection... these don't have carbs but have a miniature version of a vehicle injection system.