diff --git a/src/controller/controldevice/controller/mapping/factories/AxisDirectionMappingFactory.cpp b/src/controller/controldevice/controller/mapping/factories/AxisDirectionMappingFactory.cpp index 898cf65f8..bc281b17f 100644 --- a/src/controller/controldevice/controller/mapping/factories/AxisDirectionMappingFactory.cpp +++ b/src/controller/controldevice/controller/mapping/factories/AxisDirectionMappingFactory.cpp @@ -1,5 +1,6 @@ #include "AxisDirectionMappingFactory.h" #include "controller/controldevice/controller/mapping/keyboard/KeyboardKeyToAxisDirectionMapping.h" +#include "controller/controldevice/controller/mapping/mouse/MouseKeyToAxisDirectionMapping.h" #include "controller/controldevice/controller/mapping/sdl/SDLButtonToAxisDirectionMapping.h" #include "controller/controldevice/controller/mapping/sdl/SDLAxisDirectionToAxisDirectionMapping.h" diff --git a/src/controller/controldevice/controller/mapping/mouse/MouseKeyToAxisDirectionMapping.cpp b/src/controller/controldevice/controller/mapping/mouse/MouseKeyToAxisDirectionMapping.cpp index b255b9b53..3532aa466 100644 --- a/src/controller/controldevice/controller/mapping/mouse/MouseKeyToAxisDirectionMapping.cpp +++ b/src/controller/controldevice/controller/mapping/mouse/MouseKeyToAxisDirectionMapping.cpp @@ -6,7 +6,7 @@ #include "Context.h" namespace Ship { -KeyMouseToAxisDirectionMapping::MouseKeyToAxisDirectionMapping(uint8_t portIndex, Stick stick, +MouseKeyToAxisDirectionMapping::MouseKeyToAxisDirectionMapping(uint8_t portIndex, Stick stick, Direction direction, MouseBtn button) : ControllerInputMapping(ShipDeviceIndex::Mouse), MouseKeyToAnyMapping(button), ControllerAxisDirectionMapping(ShipDeviceIndex::Mouse, portIndex, stick, direction) {