In this paper, an event-based sampled discrete-time linear system representing a port-fuel-injection process based on wall-wetting dynamics is obtained and formulated as a linear parameter varying (LPV) system. The system parameters used in the engine fuel system model are engine speed, temperature, and load. These system parameters can be measured in real-time through physical or virtual sensors. A gain-scheduling controller for the obtained LPV system is then designed based on the numerically efficient convex optimization or linear matrix inequality (LMI) technique. To demonstrate the feasibility of implementing the gain-scheduling controller, a hardware-in-the-loop (HIL) simulation is performed using a mixed mean-value and crank-based engine model. The HIL results show the effectiveness and implementability of the proposed scheme.