A device for controlling the operation of a dual fuel engine operable in a low load liquid fuel mode, a high load liquid fuel mode and a gaseous 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; and an adjusting device configured to adjust the rotational angle of the shaft to at least a first angle position and a second angle position different from the first angle position, the first angle position being associated with the high load liquid fuel mode and the second angle position being associated with the low load liquid fuel mode and the gaseous fuel mode, the first eccentric being designed and arranged on the shaft such that, in the first angle position, the associated inlet valve opens at a first inlet valve opening timing, and, in the second angle position, the associated inlet valve opens at a second inlet valve opening timing later than the first inlet valve opening timing, the second eccentric being designed and arranged on the shaft such that, in the first angle position, the associated outlet valve opens at a first outlet valve opening timing, and, in the second angle position, the associated outlet valve opens at a second outlet valve opening timing earlier than the first outlet valve opening timing, and the third eccentric being designed and arranged on the shaft such that, in the first angle position, the associated fuel pump is controlled such that a liquid fuel main injection is performed at a first liquid fuel main injection timing, and, in the second angle position, the associated fuel pump is controlled such that a liquid fuel main injection is performed at a second liquid fuel main injection timing equal to or later than the first liquid fuel main injection timing when the dual fuel engine is operating in the low load liquid fuel mode. 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; and an adjusting device configured to adjust the rotational angle of the shaft to at least a first angle position and a second angle position different from the first angle position, the first angle position being associated with the high load liquid fuel mode and the second angle position being associated with the low load liquid fuel mode and the gaseous fuel mode, the first eccentric being designed and arranged on the shaft such that, in the first angle position, the associated inlet valve opens at a first inlet valve opening timing, and, in the second angle position, the associated inlet valve opens at a second inlet valve opening timing later than the first inlet valve opening timing, the second eccentric being designed and arranged on the shaft such that, in the first angle position, the associated outlet valve opens at a first outlet valve opening timing, and, in the second angle position, the associated outlet valve opens at a second outlet valve opening timing earlier than the first outlet valve opening timing, and the third eccentric being designed and arranged on the shaft such that, in the first angle position, the associated fuel pump is controlled such that a liquid fuel main injection is performed at a first liquid fuel main injection timing, and, in the second angle position, the associated fuel pump is controlled such that a liquid fuel main injection is performed at a second liquid fuel main injection timing equal to or later than the first liquid fuel main injection timing when the dual fuel engine is operating in the low load liquid fuel mode. the first eccentric being designed and arranged on the shaft such that, in the first angle position, the associated inlet valve opens at a first inlet valve opening timing, and, in the second angle position, the associated inlet valve opens at a second inlet valve opening timing later than the first inlet valve opening timing, the second eccentric being designed and arranged on the shaft such that, in the first angle position, the associated outlet valve opens at a first outlet valve opening timing, and, in the second angle position, the associated outlet valve opens at a second outlet valve opening timing earlier than the first outlet valve opening timing, and the third eccentric being designed and arranged on the shaft such that, in the first angle position, the associated fuel pump is controlled such that a liquid fuel main injection is performed at a first liquid fuel main injection timing, and, in the second angle position, the associated fuel pump is controlled such that a liquid fuel main injection is performed at a second liquid fuel main injection timing equal to or later than the first liquid fuel main injection timing when the dual fuel engine is operating in the low load liquid fuel mode.