A device for controlling the operation of an dual-fuel engine operable in a low load diesel fuel mode, a high load diesel fuel mode and a gas fuel mode, the device comprising: a shaft rotationally supported, the shaft being provided with a first eccentric, a second eccentric and a third eccentric, the first eccentric being configured to support an inlet valve operating lever for controlling an inlet valve, the second eccentric being configured to support an outlet valve operating lever for controlling an outlet valve, the third eccentric being configured to support a fuel pump operating lever for controlling a fuel pump; an adjusting device configured to re-adjust the rotational angle of the shaft at least in a low load diesel fuel mode angle position, a high load diesel fuel mode angle position different to the low load diesel fuel mode angle position, and a gas fuel mode angle position different to the low load diesel fuel mode angle position and different to the high load diesel fuel mode angle position; the first eccentric being designed and arranged on the shaft such that, in the low load diesel fuel mode angle position, the associated inlet valve opens late, and, in the high load diesel fuel mode angle position, the associated inlet valve opens early, and, in the gas fuel mode angle position, the associated inlet valve opens late; the second eccentric being designed and arranged on the shaft such that, in the low load diesel fuel mode angle position, the associated outlet valve opens late, and, in the high load diesel fuel mode angle position, the associated outlet valve opens late, and, in the gas fuel mode angle position, the associated outlet valve opens early; and the third eccentric being designed and arranged on the shaft such that, in the low load diesel fuel mode angle position, the associated fuel pump is controlled such that an injection is performed early, and, in the high load diesel fuel mode angle position, the associated fuel pump is controlled such that an injection is performed late. a shaft rotationally supported, the shaft being provided with a first eccentric, a second eccentric and a third eccentric, the first eccentric being configured to support an inlet valve operating lever for controlling an inlet valve, the second eccentric being configured to support an outlet valve operating lever for controlling an outlet valve, the third eccentric being configured to support a fuel pump operating lever for controlling a fuel pump; an adjusting device configured to re-adjust the rotational angle of the shaft at least in a low load diesel fuel mode angle position, a high load diesel fuel mode angle position different to the low load diesel fuel mode angle position, and a gas fuel mode angle position different to the low load diesel fuel mode angle position and different to the high load diesel fuel mode angle position; the first eccentric being designed and arranged on the shaft such that, in the low load diesel fuel mode angle position, the associated inlet valve opens late, and, in the high load diesel fuel mode angle position, the associated inlet valve opens early, and, in the gas fuel mode angle position, the associated inlet valve opens late; the second eccentric being designed and arranged on the shaft such that, in the low load diesel fuel mode angle position, the associated outlet valve opens late, and, in the high load diesel fuel mode angle position, the associated outlet valve opens late, and, in the gas fuel mode angle position, the associated outlet valve opens early; and the third eccentric being designed and arranged on the shaft such that, in the low load diesel fuel mode angle position, the associated fuel pump is controlled such that an injection is performed early, and, in the high load diesel fuel mode angle position, the associated fuel pump is controlled such that an injection is performed late.