diff --git a/src/common/PJoystickHandler.cxx b/src/common/PJoystickHandler.cxx index f9a067484..b8ca46c90 100644 --- a/src/common/PJoystickHandler.cxx +++ b/src/common/PJoystickHandler.cxx @@ -39,7 +39,7 @@ PhysicalJoystickHandler::PhysicalJoystickHandler( OSystem& system, EventHandler& handler, Event& event) : myOSystem{system}, myHandler{handler}, - myEvent(event) + myEvent{event} { if(myOSystem.settings().getInt("event_ver") != Event::VERSION) { Logger::info("event version mismatch; dropping previous joystick mappings"); diff --git a/src/emucore/Paddles.cxx b/src/emucore/Paddles.cxx index 30a243969..30aa946a7 100644 --- a/src/emucore/Paddles.cxx +++ b/src/emucore/Paddles.cxx @@ -195,6 +195,7 @@ void Paddles::update() setPin(DigitalPin::Three, !getAutoFireStateP1(firePressedB)); } +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AnalogReadout::Connection Paddles::getReadOut(int lastAxis, int& newAxis, int center) { const float range = ANALOG_RANGE - analogDeadZone() * 2;