Valeryo Posted October 30, 2013 Report Posted October 30, 2013 Hi Pete.I apologize in advance for my English, because I use Google translator.I encountered a problem.I'm trying to get data on the button is pressed by an offset 03c0-03ff.I see a pressing knobs only one joystick. All other connected joysticks I can not see. Checked out the full range: 03c0, 03c4, 03c8, etc...I do not understand what is my mistake ...
Pete Dowson Posted October 30, 2013 Report Posted October 30, 2013 I'm trying to get data on the button is pressed by an offset 03c0-03ff. I see a pressing knobs only one joystick. All other connected joysticks I can not see. Checked out the full range: 03c0, 03c4, 03c8, etc... I do not understand what is my mistake ... You always need to tell me the version number of FSUIPC. Offsets 03C0-03FF only provide the button states of those joysticks being actively scanned by FSUIPC. For FSUIPC to scan a joystick there must be at least one assignment to one of its buttons. FSUIPC does not waste time and resources scanning joysticks not actively used in FSUIPC, which is probably what is happening in your case. Regards Pete
Valeryo Posted October 31, 2013 Author Report Posted October 31, 2013 Thanks for a prompt reply! Version 4.921f I connected MJoy16, Saitek Yoke, Saitek pedals.I see pressing of the MJoy16 buttons. And here pressing of the Saitek Yoke buttons isn't present. Some Saitek Yoke buttons are programmed through FSUIPC.I use FSInterrogate2std for this purpose.
Pete Dowson Posted October 31, 2013 Report Posted October 31, 2013 Thanks for a prompt reply! Version 4.921f I connected MJoy16, Saitek Yoke, Saitek pedals. I see pressing of the MJoy16 buttons. And here pressing of the Saitek Yoke buttons isn't present. Some Saitek Yoke buttons are programmed through FSUIPC. I use FSInterrogate2std for this purpose. What joystick numbers are assigned to those devices? Are you looking in the right offsets? The code to keep those offsets up to date is the same for all 16 joystick numbers -- it isn't likely to be working for some numbers and not others. Perhaps you need to show me the FSUIPC4.INI file. You could also try using FSUIPC's logging. Firdt, in FSUIPC.INI, add "Debug=Please" to the [General] section. Then lod FSX, go to the Logging tab, and check Button logging AND set the "Extras" field to 2. This will log just about everything to do with buttons. You can also monitor the offsets you are interested in on the right-hand side. They'll be type U32 and best to check the 'hex' option, and "Normal log" so that the values appear there. Regards Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 !1=0[General]UpdatedByVersion=4900History=6UJMCSNWBVKVHOBQUWQBWMouseWheelTrim=NoMouseWheelTrimSpeed=1JoystickTimeout=20PollGFTQ6=YesBlankDisplays=NoFixControlAccel=NoFixMachSpeedBug=NoVisibilityOptions=NoOneCloudLayer=NoCloudTurbulence=NoCloudIcing=NoGenerateCirrus=NoSuppressCloudTurbulence=NoMaxIce=-4MinIce=-4UpperWindGusts=NoSuppressWindTurbulence=NoSuppressWindVariance=NoWindTurbulence=NoTurbulenceRate=1.0,5.0TurbulenceDivisor=20,20,40,40SuppressAllGusts=NoMaxSurfaceWind=0WindLimitLevel=200WindDiscardLevel=400WindAjustAltitude=NoWindAjustAltitudeBy=2000SmoothBySimTime=NoWindSmoothing=YesWindSmoothness=2WindSmoothAirborneOnly=NoPressureSmoothness=0TemperatureSmoothness=0DisconnTrimForAP=NoZeroElevForAPAlt=NoThrottleSyncAll=NoWhiteMessages=NoShowPMcontrols=NoSpoilerIncrement=512MagicBattery=NoRudderSpikeRemoval=NoElevatorSpikeRemoval=NoAileronSpikeRemoval=NoReversedElevatorTrim=NoClockSync=NoClockSyncMins=5ClearWeatherDynamics=NoOwnWeatherChanges=NoTimeForSelect=4LoadFlightMenu=NoLoadPlanMenu=NoPauseAfterCrash=NoBrakeReleaseThreshold=75SaveDataWithFlights=NoZapSound=fireworkShortAircraftNameOk=NoUseProfiles=NoTCASid=FlightTCASrange=40AxisCalibration=NoDirectAxesToCalibs=NoShowMultilineWindow=YesSuppressSingleline=NoSuppressMultilineFS=NoAxisIntercepts=NoDontResetAxes=NoGetNearestAirports=YesWeatherReadFactor=2WeatherRewriteSeconds=1CustomWeatherModify=NoSimConnectStallTime=1LuaRerunDelay=66Console=NoInitDelayDevicesToo=NoMouseWheelMove=NoDeleteVehiclesForAES=YesAutoScanDevices=YesEnableMouseLook=NoAxesWrongRange=NoInitDelay=0OOMcheck=NoLogLua=YesDebugLua=YesLogAxes=YesUseMidMouseBtn=YesFSVersionUsed="Microsoft Flight Simulator X",10.0.61637.0SimConnectUsed=10.0.61259.0[JoyNames]AutoAssignLetters=NoG=GVL224-4000-8R=Saitek Pro Flight Rudder PedalsY=Saitek Pro Flight YokeM=Outgauge-MCP2=GVL224-4000-82.GUID={6EE0ED20-3AAB-11E3-8001-444553540000}0=Saitek Pro Flight Rudder Pedals0.GUID={B2B97980-3930-11E3-8002-444553540000}1=Saitek Pro Flight Yoke1.GUID={B2B97980-3930-11E3-8003-444553540000}[buttons]ButtonRepeat=20,102=PY,19,C65758,03=PY,18,C65759,08=PY,5,C65655,09=PY,4,C65656,012=RY,20,C66635,013=UY,20,C65967,014=RY,21,C66636,015=UY,21,C65972,017=PY,16,C66298,020=PY,17,C66299,024=PG,14,Cx06000D0C,x000825=PG,23,C66059,026=PY,0,C1007,127=PG,15,Cx06000D0C,x000128=PG,29,C66052,029=PG,30,Cx06000D0C,x000230=PG,31,Cx06000D0C,x002031=PG,7,C66079,034=PG,2,Cx02000E02,x000035=PG,21,C66224,036=PG,20,C66452,037=RG,24,C65641,038=RG,26,C65643,039=RG,25,C65640,040=RG,27,C65642,041=RG,16,C65645,042=RG,18,C65647,043=RG,17,C65644,044=RG,19,C65646,045=PG,28,C66448,046=PY,14,C65861,047=PG,9,Cx02000E00,x000148=PG,10,Cx02000E00,x000250=PG,6,C66029,051=PG,6,C66072,052=PY,15,C65752,053=UG,6,C66030,054=UG,6,C66073,055=PG,11,Cx02000E00,x000356=UG,23,C66060,057=UG,14,Cx0A000D0C,x000858=UG,15,Cx0A000D0C,x000159=UG,29,C66053,060=UG,30,Cx0A000D0C,x000261=UG,31,Cx0A000D0C,x002062=UG,7,C66080,063=PG,13,Cx02000E00,x000565=PG,0,Cx02000E02,x000066=PG,4,Cx02000E02,x000267=PG,3,Cx02000E02,x000168=U3,7,C1038,069=P3,7,C1038,070=P3,4,C65645,071=PG,12,Cx02000E00,x000472=PG,22,C66531,073=PG,8,Cx02000E00,x000075=PY,12,CM4:1,076=PY,13,CM4:5,077=P64,0,CM3:2,0[AutoSave]AutoSaveEnabled=NoNext=1Interval=60Files=10SaveOnGround=No[GPSout]GPSoutEnabled=NoPort=COM1Speed=4800Interval=2000PosTo6Decimal=NoSimModeIndicator=NoSentences=[GPSout2]GPSoutEnabled=NoPort=<none set>Speed=4800Interval=2000PosTo6Decimal=NoSimModeIndicator=NoSentences=[WideServer]WideFSenabled=Yes[sounds]Path=F:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Sound\Device1=Первичный звуковой драйверDevice2=Динамики (Realtek High Definition Audio)Device3=LG TV-3 (NVIDIA High Definition Audio)Device4=Realtek Digital Output(Optical) (Realtek High Definition Audio)Device5=Realtek Digital Output (Realtek High Definition Audio)[Programs]Run1=READY,HIDE,KILL,D:\Fraps\fraps.exeRun2=READY,HIDE,KILL,D:\SIOC\sioc.exeRun3=READY,HIDE,KILL,D:\Program Files (x86)\lekseecon\lekseecon.exe[Axes]RangeRepeatRate=100=RX,256,D,7,0,0,01=RY,256,D,8,0,0,02=RR,256,D,3,0,0,03=YX,256,D,1,0,0,04=YY,256,D,2,0,0,05=YZ,256,D,9,0,0,06=YR,256,D,22,0,0,07=YU,256,D,10,0,0,08=YV,256,D,22,0,0,0[JoystickCalibration]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=0RudderTrimControl=0CowlFlaps1Control=0CowlFlaps2Control=0CowlFlaps3Control=0CowlFlaps4Control=0MaxSteerSpeed=60LeftBrake=-16380,16380/16RightBrake=-16380,16380/16SlopeLeftBrake=10SlopeRightBrake=10Aileron=-16380,0,0,16380/8Spoilers=-16380,16380/24UseAxisControlsForNRZ=NoSteeringTillerControl=0Rudder=-16380,-64,0,16380Throttle1=-16380,-512,512,16380/40Throttle2=-16380,-512,512,16380/40MapThr12to34=YesElevator=-16380,-512,512,16380[Axes.Cessna Skyhawk 172SP Paint3]0=RX,256,D,7,0,0,01=RY,256,D,8,0,0,02=RR,256,D,3,0,0,03=YX,256,D,1,0,0,04=YY,256,D,2,0,0,05=YZ,256,D,9,0,0,06=YR,256,D,22,0,0,07=YU,256,D,10,0,0,08=YV,256,D,6,0,0,0[JoystickCalibration.Boeing 747-400 Paint9]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoUseAxisControlsForNRZ=NoMapThr12to34=YesFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=0RudderTrimControl=0CowlFlaps1Control=0CowlFlaps2Control=0CowlFlaps3Control=0CowlFlaps4Control=0SteeringTillerControl=0MaxSteerSpeed=60Aileron=-16380,-512,512,16380/8Rudder=-16380,64,512,16380LeftBrake=-16380,16380/16SlopeLeftBrake=10RightBrake=-16380,16380/16SlopeRightBrake=10Throttle1=-16380,-512,512,16380/40Throttle2=-16380,-512,512,16380/40Spoilers=-16380,16380/24[Axes.Cessna Grand Caravan]0=RX,256,D,7,0,0,01=RY,256,D,8,0,0,02=RR,256,D,3,0,0,03=YX,256,D,1,0,0,04=YY,256,D,2,0,0,05=YZ,256,D,4,0,0,06=YR,256,D,22,0,0,07=YU,256,D,5,0,0,08=YV,256,D,6,0,0,0[buttons.Level D Simulations B767-300ER - United Airlines (Old Livery) - 000]ButtonRepeat=20,1010=PG,10,Cx06000356,x000411=PG,9,Cx06000356,x000230=PG,24,CM2:2,031=PG,26,CM2:1,032=PG,25,CM2:3,033=PG,27,CM2:4,034=PG,28,CM2:5,035=PG,12,Cx06000356,x001036=PG,11,Cx06000356,x00081=PG,29,Cx06000D0C,x00102=PG,15,Cx06000D0C,x000137=PG,7,C66079,039=PG,31,Cx06000D0C,x002040=PG,30,Cx06000D0C,x000241=PG,14,Cx06000D0C,x000842=PG,23,Cx06000D0C,x000443=RY,14,Cx0200080C,x000144=UY,14,Cx0200080C,x000045=PG,8,Cx06000356,x000146=PG,2,Cx06000352,x000447=RG,16,CM1:1,048=RG,18,CM1:3,049=RG,17,CM1:2,050=RG,19,CM1:4,052=RG,21,Cx06000371,x002054=UG,21,Cx0A000371,x002055=PG,22,C66531,057=UG,23,Cx0A000D0C,x000458=UG,14,Cx0A000D0C,x000859=UG,15,Cx0A000D0C,x000160=UG,29,Cx0A000D0C,x001061=UG,30,Cx0A000D0C,x000262=UG,31,Cx0A000D0C,x002063=UG,7,C66080,064=UG,8,Cx0A000356,x000165=UG,9,Cx0A000356,x000266=UG,10,Cx0A000356,x000467=UG,11,Cx0A000356,x000868=UG,12,Cx0A000356,x001070=PG,13,Cx06000356,x002071=UG,13,Cx0A000356,x002072=PG,0,Cx06000352,x000173=UG,0,Cx0A000352,x000174=PG,1,Cx06000352,x000275=UG,1,Cx0A000352,x000276=UG,2,Cx0A000352,x000477=PG,3,Cx06000352,x000878=UG,3,Cx0A000352,x000879=PG,4,Cx06000352,x001080=UG,4,Cx0A000352,x001081=PG,5,Cx06000352,x002082=UG,5,Cx0A000352,x002083=PG,20,CM1:5,084=PG,6,CM1:6,085=UG,6,CM1:6,0[Axes.C Skylane 182Q2]0=YX,256,D,1,0,0,01=YY,256,D,2,0,0,02=YZ,256,D,9,0,0,03=YR,256,D,22,0,0,04=YU,256,D,5,0,0,05=YV,256,D,6,0,0,06=RX,256,D,7,0,0,07=RY,256,D,8,0,0,08=RR,256,D,3,0,0,0[Axes.Piper Cub]0=YX,256,D,1,0,0,01=YY,256,D,2,0,0,02=YZ,256,D,9,0,0,03=YR,256,D,22,0,0,04=YU,256,D,10,0,0,05=YV,256,D,6,0,0,06=RX,256,D,7,0,0,07=RY,256,D,8,0,0,08=RR,256,D,3,0,0,0[Axes.C172 Anniversary]0=YX,256,D,1,0,0,01=YY,256,D,2,0,0,02=YZ,256,D,9,0,0,03=YR,256,D,22,0,0,04=YU,256,D,10,0,0,05=YV,256,D,6,0,0,06=RX,256,D,7,0,0,07=RY,256,D,8,0,0,08=RR,256,D,3,0,0,0[Axes.Carenado B200 King 2]0=YX,256,D,1,0,0,01=YY,256,D,2,0,0,02=YZ,256,D,4,0,0,03=YR,256,D,22,0,0,04=YU,256,D,5,0,0,05=YV,256,D,6,0,0,06=RX,256,D,7,0,0,07=RY,256,D,8,0,0,08=RR,256,D,3,0,0,0[buttons.Carenado B200 King Air 6]0=RY,20,C66634,01=UY,20,C65604,02=PY,14,C65793,03=PY,16,C66297,0[Axes.Carenado B200 King Air 6]0=YX,256,D,1,0,0,01=YY,256,D,2,0,0,02=YZ,256,D,4,0,0,03=YR,256,D,22,0,0,04=YU,256,D,5,0,0,05=YV,256,D,6,0,0,06=RX,256,D,7,0,0,07=RY,256,D,8,0,0,08=RR,256,D,3,0,0,0[JoystickCalibration.Carenado B200 King Air 6]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoUseAxisControlsForNRZ=NoMapThr12to34=YesFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=0RudderTrimControl=0CowlFlaps1Control=0CowlFlaps2Control=0CowlFlaps3Control=0CowlFlaps4Control=0SteeringTillerControl=0MaxSteerSpeed=60Aileron=-16380,512,524,16380/8Elevator=-16380,-512,512,16380Rudder=-16380,-64,0,16380LeftBrake=-16380,16380/16SlopeLeftBrake=10RightBrake=-16380,16380/16SlopeRightBrake=10Throttle1=-16380,-512,512,16380/40Throttle2=-16380,-512,512,16380/40Spoilers=-16380,16380/24SlopeAileron=3SlopeElevator=2[JoystickCalibration.Level D Simulations B767-300ER - United Airlines (Old Livery) - 000]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoUseAxisControlsForNRZ=NoMapThr12to34=YesFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=0RudderTrimControl=0CowlFlaps1Control=0CowlFlaps2Control=0CowlFlaps3Control=0CowlFlaps4Control=0SteeringTillerControl=0MaxSteerSpeed=60Aileron=-16380,-969,493,16380/8SlopeAileron=8Elevator=-16380,-512,512,16380SlopeElevator=4Rudder=-16380,-64,0,16380LeftBrake=-16380,16380/16SlopeLeftBrake=10RightBrake=-16380,16380/16SlopeRightBrake=10Throttle1=-16380,-512,512,16380/40Throttle2=-16380,-512,512,16380/40Spoilers=-16380,16380/24[JoystickCalibration.Learjet 45 FP]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoUseAxisControlsForNRZ=NoMapThr12to34=YesFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=0RudderTrimControl=0CowlFlaps1Control=0CowlFlaps2Control=0CowlFlaps3Control=0CowlFlaps4Control=0SteeringTillerControl=0MaxSteerSpeed=60Aileron=-16380,-969,493,16380/8Elevator=-16380,-512,512,16380/8Rudder=-16380,-64,0,16380LeftBrake=-16380,16380/16SlopeLeftBrake=10RightBrake=-16380,16380/16SlopeRightBrake=10Throttle1=-16384,-16384,-16384,16383/40Throttle2=-16384,-16384,-16384,16254/40Spoilers=-16380,16380/24SlopeAileron=1SlopeElevator=7[JoystickCalibration.Boeing 737-800 Paint2]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoUseAxisControlsForNRZ=NoMapThr12to34=YesFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=0RudderTrimControl=0CowlFlaps1Control=0CowlFlaps2Control=0CowlFlaps3Control=0CowlFlaps4Control=0SteeringTillerControl=0MaxSteerSpeed=60Aileron=-16191,-1988,-128,16383/8Elevator=-16380,-512,512,16380Rudder=-16380,-64,0,16380LeftBrake=-16380,16380/16SlopeLeftBrake=10RightBrake=-16380,16380/16SlopeRightBrake=10Throttle1=-16380,-512,512,16380/40Throttle2=-16380,-512,512,16380/40Spoilers=-16380,16380/24[General]UpdatedByVersion=4921fHistory=IZH9RYBWYJK32OQ0R2VGTInitDelayDevicesToo=NoUseMidMouseBtn=YesMouseWheelMove=NoMouseWheelTrim=NoMouseWheelTrimSpeed=1JoystickTimeout=20PollGFTQ6=YesBlankDisplays=NoFixControlAccel=NoFixMachSpeedBug=NoDeleteVehiclesForAES=YesAutoScanDevices=YesVisibilityOptions=NoOneCloudLayer=NoCloudTurbulence=NoCloudIcing=NoGenerateCirrus=NoSuppressCloudTurbulence=NoMaxIce=-4MinIce=-4UpperWindGusts=NoSuppressWindTurbulence=NoSuppressWindVariance=NoWindTurbulence=NoTurbulenceRate=1.0,5.0TurbulenceDivisor=20,20,40,40SuppressAllGusts=NoMaxSurfaceWind=0WindLimitLevel=200WindDiscardLevel=400WindAjustAltitude=NoWindAjustAltitudeBy=2000SmoothBySimTime=NoWindSmoothing=NoWindSmoothness=2WindSmoothAirborneOnly=YesPressureSmoothness=0TemperatureSmoothness=0DisconnTrimForAP=NoZeroElevForAPAlt=NoThrottleSyncAll=NoWhiteMessages=NoShowPMcontrols=NoSpoilerIncrement=512MagicBattery=NoRudderSpikeRemoval=NoElevatorSpikeRemoval=NoAileronSpikeRemoval=NoReversedElevatorTrim=NoClockSync=NoClockSyncMins=5ClearWeatherDynamics=NoOwnWeatherChanges=NoTimeForSelect=4LoadFlightMenu=NoLoadPlanMenu=NoPauseAfterCrash=YesBrakeReleaseThreshold=75SaveDataWithFlights=NoZapSound=fireworkShortAircraftNameOk=SubstringUseProfiles=YesEnableMouseLook=NoAxesWrongRange=NoTCASid=FlightTCASrange=40AxisCalibration=NoDirectAxesToCalibs=NoShowMultilineWindow=YesSuppressSingleline=NoSuppressMultilineFS=NoAxisIntercepts=NoDontResetAxes=NoInitDelay=0GetNearestAirports=YesOOMcheck=YesWeatherReadFactor=2WeatherRewriteSeconds=1CustomWeatherModify=NoSimConnectStallTime=1LuaRerunDelay=66Console=NoUseSystemTime=NoFSVersionUsed="Microsoft Flight Simulator X",10.0.61637.0SimConnectUsed=10.0.61259.0[Profile.Cessna Skyhawk 172SP Paint3]1=Cessna Skyhawk 172SP Paint3[Profile.Beech King Air 350 Paint3]1=Beech King Air 350 Paint3[Profile.Boeing 747-400 Paint9]1=Boeing 747-400 Paint9[Profile.Cessna Grand Caravan]1=Cessna Grand Caravan[Profile.Boeing 747-400 Paint8]1=Boeing 747-400 Paint8[Profile.Boeing 747-400 Paint2]1=Boeing 747-400 Paint2[Profile.Level D Simulations B767-300ER - United Airlines (Old Livery) - 000]1=Level D Simulations B767-300ER - United Airlines (Old Livery) - 0002=Level D Simulations B767-300ER - Nordwind Airlines - 000[Profile.C Skylane 182Q2]1=C Skylane 182Q2[Profile.Cessna 208 Caravan Amphibian Paint2]1=Cessna 208 Caravan Amphibian Paint2[Profile.Level D Simulations B767-300ER - KLM Royal Dutch Airlines - 000]1=Level D Simulations B767-300ER - KLM Royal Dutch Airlines - 000[Profile.Piper Cub]1=Piper Cub[Profile.C172 Anniversary]1=C172 Anniversary[Profile.Carenado B200 King Air 6]1=Carenado B200 King Air 6[Profile.Learjet 45 FP]1=Learjet 45 FP2=Learjet 45[Profile.Boeing 737-800 Paint2]1=Boeing 737-800 Paint2[MacroFiles]1=7672=453=md80[buttons.Learjet 45 FP]ButtonRepeat=2,102=PY,19,C65758,03=PY,18,C65759,08=PY,5,C65655,09=PY,4,C65656,012=RY,20,C66635,013=UY,20,C65967,014=RY,21,C66636,015=UY,21,C65972,017=PY,16,C66298,020=PY,17,C66299,024=PG,14,Cx06000D0C,x000825=PG,23,C66059,026=PY,0,C1007,127=PG,15,Cx06000D0C,x000128=PG,29,C66052,029=PG,30,Cx06000D0C,x000230=PG,31,Cx06000D0C,x002031=PG,7,C66079,035=PG,21,C66224,036=PG,20,C66452,037=RG,24,C65641,038=RG,26,C65643,039=RG,25,C65640,040=RG,27,C65642,041=RG,16,C65645,042=RG,18,C65647,043=RG,17,C65644,044=RG,19,C65646,045=PG,28,C66448,046=PY,14,C65861,050=PG,6,C66029,051=PG,6,C66072,052=PY,15,C65752,053=UG,6,C66030,054=UG,6,C66073,056=UG,23,C66060,057=UG,14,Cx0A000D0C,x000858=UG,15,Cx0A000D0C,x000159=UG,29,C66053,060=UG,30,Cx0A000D0C,x000261=UG,31,Cx0A000D0C,x002062=UG,7,C66080,066=PG,4,CM2:1,079=PG,10,CM2:3,080=PG,12,CM2:2,081=PG,5,CM2:1,082=PG,3,CM2:1,083=PG,2,CM2:1,084=PG,1,CM2:1,085=PG,0,CM2:1,086=PG,22,C66531,0[Profile.Carenado B200 King 2]1=Carenado B200 King 2
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 AND set the "Extras" field to 2. I didn't find such field.
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 ... Well, I only really needed to see theButtons and Joynames sections. I didn't realise it was so long! One of the reasons it is long, you have a large section at the beginning which is commented out and so unused. It's a spare [General] section. Don't know what happened there -- the only operating one is later on. So to clarify things for you, please first delete all the first section, from !1=0[General] down to SimConnectUsed=10.0.61259.0 inclusive. Looks like that was the [general] section when you used version 4.90. Next, the JoyNames section shows these devices:given letters: R=Saitek Pro Flight Rudder Pedals Y=Saitek Pro Flight Yoke G=GVL224-4000-8 M=Outgauge-MCP but of those 4, only 3 are connected: 0=Saitek Pro Flight Rudder Pedals 1=Saitek Pro Flight Yoke 2=GVL224-4000-8 I assume the MCP one is device 3? Because you have some device 3 assignments which have not been replaced by letters (yet): Maybe this is historical and needs tidying up? 68=U3,7,C1038,0 69=P3,7,C1038,0 70=P3,4,C65645,0 In the default [buttons] section you have assignments to Y and G, so certainly both of those should be registering the button states -- Y in 03C4 and G in 03C8. Now, you said: I connected MJoy16, Saitek Yoke, Saitek pedals. I see pressing of the MJoy16 buttons. And here pressing of the Saitek Yoke buttons isn't present. Some Saitek Yoke buttons are programmed through FSUIPC. but unless by "MJoy16" you mean "GVL224-4000-8", the MJoy16 device is not connected -- or at least it was not when you posted this INI file. So I think you may be getting confused over the offsets you are looking at. If, when connected, the MJoy16 is joystick #3, then its buttons will be at offset 03CC. But you also need to then check that the assignments to #3 are being changed to 'M', the letter assigned for 3. I honestly don't know how you got the '3's left in the file -- there are no assignments shown at all for 'M' so it won't be scanned even if connected, UNLESS it is actually 3 and the assignment lines get changed. Regards Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 It seems I understood. Here fragment 517424 Button changed: bRef=0, Joy=1 (Y), Btn=4, Pressed517424 [buttons.Learjet 45 FP] 9=PY,4,C65656,0517424 [DNSCAN] J0.1, B4, bRes=2, Flags=X01, Value=65656[0x10078], Param=0[0x0], TimeNow=3465624, TimeLast=3438511517424 FS Control Sent: Ctrl=65656, Param=0517596 Button changed: bRef=0, Joy=1 (Y), Btn=4, Released549498 Button changed: bRef=0, Joy=2 (G), Btn=23, Pressed549498 [buttons.Learjet 45 FP] 25=PG,23,C66059,0549498 [DNSCAN] J0.2, B23, bRes=2, Flags=X01, Value=66059[0x1020B], Param=0[0x0], TimeNow=3497698, TimeLast=3465624549498 FS Control Sent: Ctrl=66059, Param=0549966 Button changed: bRef=0, Joy=2 (G), Btn=23, Released549966 [buttons.Learjet 45 FP] 56=UG,23,C66060,0549966 [uPSCAN:] J0.2, B23, bRes=1, Flags=X03, Value=66060[0x1020C], Param=0[0x0], TimeNow=3498166, TimeLast=3497698549966 FS Control Sent: Ctrl=66060, Param=0552946 Button changed: bRef=0, Joy=1 (Y), Btn=4, Pressed552946 [buttons.Learjet 45 FP] 9=PY,4,C65656,0552946 [DNSCAN] J0.1, B4, bRes=2, Flags=X01, Value=65656[0x10078], Param=0[0x0], TimeNow=3501146, TimeLast=3498166552946 FS Control Sent: Ctrl=65656, Param=0553117 Button changed: bRef=0, Joy=1 (Y), Btn=4, Released554350 Button changed: bRef=0, Joy=1 (Y), Btn=5, Pressed554350 [buttons.Learjet 45 FP] 8=PY,5,C65655,0554350 [DNSCAN] J0.1, B5, bRes=2, Flags=X01, Value=65655[0x10077], Param=0[0x0], TimeNow=3502550, TimeLast=3501146554350 FS Control Sent: Ctrl=65655, Param=0554459 Button changed: bRef=0, Joy=1 (Y), Btn=5, Released559607 Button changed: bRef=0, Joy=1 (Y), Btn=19, Pressed559607 [buttons.Learjet 45 FP] 2=PY,19,C65758,0559607 [DNSCAN] J0.1, B19, bRes=2, Flags=X01, Value=65758[0x100DE], Param=0[0x0], TimeNow=3507807, TimeLast=3502550559607 FS Control Sent: Ctrl=65758, Param=0559716 Button changed: bRef=0, Joy=1 (Y), Btn=19, Released561214 Button changed: bRef=0, Joy=1 (Y), Btn=18, Pressed561214 [buttons.Learjet 45 FP] 3=PY,18,C65759,0561214 [DNSCAN] J0.1, B18, bRes=2, Flags=X01, Value=65759[0x100DF], Param=0[0x0], TimeNow=3509414, TimeLast=3507807561214 FS Control Sent: Ctrl=65759, Param=0561354 Button changed: bRef=0, Joy=1 (Y), Btn=18, Released597343 Sim stopped: average frame rate for last 143 secs = 29.9 fps
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 It seems I understood. Where's the monitoring of offsets 03C4 and 03C8? Also I see only one action on Device G, with one button pressed for less than 500 mSecs. That should be enough to detect the change in 03C8, though, so let's see the Monitoring. 549498 Button changed: bRef=0, Joy=2 (G), Btn=23, Pressed 549966 Button changed: bRef=0, Joy=2 (G), Btn=23, Released As I said, FSUIPC does not (cannot) distinguish between joysticks as far as changing the 03C0-- range of offsets. The joystick number simply acts as an index for storing the 32 bit word it gets from Windows. It is very straightforward indeed. Regards Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 Well, I only really needed to see theButtons and Joynames sections. I didn't realise it was so long! One of the reasons it is long, you have a large section at the beginning which is commented out and so unused. It's a spare [General] section. Don't know what happened there -- the only operating one is later on. So to clarify things for you, please first delete all the first section, from !1=0[General] down to SimConnectUsed=10.0.61259.0 inclusive. Looks like that was the [general] section when you used version 4.90. Next, the JoyNames section shows these devices:given letters: R=Saitek Pro Flight Rudder Pedals Y=Saitek Pro Flight Yoke G=GVL224-4000-8 M=Outgauge-MCP but of those 4, only 3 are connected: 0=Saitek Pro Flight Rudder Pedals 1=Saitek Pro Flight Yoke 2=GVL224-4000-8 I assume the MCP one is device 3? Because you have some device 3 assignments which have not been replaced by letters (yet): Maybe this is historical and needs tidying up? Yes, you are right.
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 Where's the monitoring of offsets 03C4 and 03C8? How it can be done?
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 "MJoy16" you mean "GVL224-4000-8", the MJoy16 device is not connected -- or at least it was not when you posted this INI file. GVL224-4000-8 it is modified MJoy16. Sorry.
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 How it can be done? You missed that? When I asked you to turn on extra logging, I said, in referring to the Logging tab: You can also monitor the offsets you are interested in on the right-hand side. They'll be type U32 and best to check the 'hex' option, and "Normal log" so that the values appear there. You will also find it clearly documented in the FSUIPC Advanced User's guide, though they are pretty easy to understand when you look at the Logging tab. Pete
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 So? What's the picture for? Why have you checked "DebugString"? Do you have a debugger running in which to receive those? Use the "Normal Log" check box as I said. You don't seem to read what I write, or at least not enough of it, and it gets a bit tiresome having to repeat myself. Please pay attention. Regards Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 I see an essence from it doesn't change.I connected Saitek Yoke and GVL224-4000-8 (analog Mjoy16). I programmed buttons through FSUIPC.All this well works.However.I can see pressing of buttons only at one device - GVL224-4000-8. Offset 03c0.I don't see pressing of the Saitek Yoke buttons on one of other offsets: 03c4, 03c8, 03cc, 03d0, 03d4, 03d8, 03dc................ 03fc.Why?
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 I see an essence from it doesn't change. I connected Saitek Yoke and GVL224-4000-8 (analog Mjoy16). I programmed buttons through FSUIPC. All this well works. However. I can see pressing of buttons only at one device - GVL224-4000-8. Offset 03c0. I don't see pressing of the Saitek Yoke buttons on one of other offsets: 03c4, 03c8, 03cc, 03d0, 03d4, 03d8, 03dc................ 03fc. Why? Sorry, we are back at the very start! What on Earth are you doing? What happened to all the interaction till now? The whole purpose of me asking you to log things was to enable me to see what is happening. So far you have not done as I asked and I am none the wiser. Why can't you folllow simple instructions? I am not going to be able to help you unless you do as I ask!!! What's the point of me asking you to do these things if you then don't bother or do them entirely incorrectly? I've got better things to do than this which is turning out to be an immense waste of time and effort! :-( Pete
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 The whole purpose of me asking you to log things was to enable me to see what is happening BTW there is a good reason I need the exact data, to see exactly what is occurring. I don't have more than one normal "joystick" type device -- all my main controls are PFC serial port devices, and these offsets do not apply to those. I only have one joystick type device, and of course that is device #0 and 03C0 responds correctly to its buttons. I'll look through the code and see if there's something I have wrong, but actual log data would be of immense help. PLEASE! If i do find anything to change I will be asking you to test it for me. The code in this area is quite old and mostly ported from the FS9 version of FSUIPC. Oh, one other thing. I noticed in your previous log that you press several buttons on both devices quite close Please press one button on each device and leave a few seconds between each press, then show me the log. Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 I made everything as you told me.There are difficulties of a language barrier. And my personal curiosity.
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 I made everything as you told me. There are difficulties of a language barrier. And my personal curiosity. You made everything? So why not show me the log which resulted? Why keep it to yourself? I am trying to help, and I'm sorry that I only write English, but perhaps you could read it more carefully, and at least ask questions if you need me to elaborate? I am worried that there is a bug in FSUIPC. If there is one it has been there for many years. I just need more information, as I cannot test it here without going out and buying another joystick or three. Please set the logging as I asked, then press one button on each device, waiting two-three seconds between each. THEN paste the log into a message here. Thank you! Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 I with pleasure will help! ********* FSUIPC4, Version 4.921f by Pete Dowson *********Running inside FSX on Windows 7Module base=5D710000User Name="Valery Omelchenko"User Addr="omelchenkovu@mail.ru"FSUIPC4 Key is providedWIDEFS7 not user registered, or expired234 System time = 01/11/2013 23:28:14234 FLT path = "C:\Users\Valery\Documents\Файлы Flight Simulator X\"265 Trying to connect to SimConnect Acc/SP2 Oct07 ...296 FS path = "F:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\"608 LogOptions=40000000 00000031608 SIM1 Frictions access gained608 Wind smoothing fix is fully installed608 G3D.DLL fix attempt installed ok608 SimConnect_Open succeeded: waiting to check version okay608 Trying to use SimConnect Acc/SP2 Oct071966 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N1981 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)1981 Initialising SimConnect data requests now1981 FSUIPC Menu entry added2028 Ready Flags: Ready-To-Fly=N, In Menu=Y, In Dlg=Y2028 C:\Users\Valery\Documents\Файлы Flight Simulator X\UIII.FLT2028 F:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Lear45\Lear45.AIR2106 AppKey="7A2958KP9QAX"2168 Memory in use: 483Mb, Avail=3613Mb2200 Monitor IPC:03C0 (U32) = 0x02200 Monitor IPC:03C4 (U32) = 0x02200 Monitor IPC:03C8 (U32) = 0x02200 Monitor IPC:03CC (U32) = 0x023697 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N24133 Ready Flags: Ready-To-Fly=N, In Menu=Y, In Dlg=Y48204 System time = 01/11/2013 23:29:02, Simulator time = 23:28:16 (17:28Z)48282 Aircraft="Learjet 45 FP"48282 [buttons] now profile-specific:48282 3=PY,18,C65759,048282 8=PY,5,C65655,048282 9=PY,4,C65656,048282 12=RY,20,C66635,048282 12=RY,20,C66635,048282 14=RY,21,C66636,048282 14=RY,21,C66636,048282 17=PY,16,C66298,048282 20=PY,17,C66299,048282 24=PG,14,Cx06000D0C,x000848282 24=PG,14,Cx06000D0C,x000848282 25=PG,23,C66059,048282 25=PG,23,C66059,048282 26=PY,0,C1007,148282 27=PG,15,Cx06000D0C,x000148282 27=PG,15,Cx06000D0C,x000148282 28=PG,29,C66052,048282 28=PG,29,C66052,048282 29=PG,30,Cx06000D0C,x000248282 29=PG,30,Cx06000D0C,x000248282 30=PG,31,Cx06000D0C,x002048282 30=PG,31,Cx06000D0C,x002048282 31=PG,7,C66079,048282 31=PG,7,C66079,048282 35=PG,21,C66224,048282 36=PG,20,C66452,048282 37=RG,24,C65641,048282 38=RG,26,C65643,048282 39=RG,25,C65640,048282 40=RG,27,C65642,048282 41=RG,16,C65645,048282 42=RG,18,C65647,048282 43=RG,17,C65644,048282 44=RG,19,C65646,048282 45=PG,28,C66448,048282 46=PY,14,C65861,048282 50=PG,6,C66029,048282 50=PG,6,C66029,048282 50=PG,6,C66029,048282 50=PG,6,C66029,048282 52=PY,15,C65752,048282 66=PG,4,CM2:1,048282 79=PG,10,CM2:3,048282 80=PG,12,CM2:2,048282 82=PG,3,CM2:1,048282 83=PG,2,CM2:1,048282 85=PG,0,CM2:1,048282 86=PG,22,C66531,048282 [buttons] now profile-specific:48282 2=PY,19,C65758,048282 3=PY,18,C65759,048282 8=PY,5,C65655,048282 9=PY,4,C65656,048282 12=RY,20,C66635,048282 12=RY,20,C66635,048282 14=RY,21,C66636,048282 14=RY,21,C66636,048282 17=PY,16,C66298,048282 20=PY,17,C66299,048282 24=PG,14,Cx06000D0C,x000848282 24=PG,14,Cx06000D0C,x000848282 25=PG,23,C66059,048282 25=PG,23,C66059,048282 26=PY,0,C1007,148298 27=PG,15,Cx06000D0C,x000148298 27=PG,15,Cx06000D0C,x000148298 28=PG,29,C66052,048298 28=PG,29,C66052,048298 29=PG,30,Cx06000D0C,x000248298 29=PG,30,Cx06000D0C,x000248298 30=PG,31,Cx06000D0C,x002048298 30=PG,31,Cx06000D0C,x002048298 31=PG,7,C66079,048298 31=PG,7,C66079,048298 35=PG,21,C66224,048298 36=PG,20,C66452,048298 37=RG,24,C65641,048298 38=RG,26,C65643,048298 39=RG,25,C65640,048298 40=RG,27,C65642,048298 41=RG,16,C65645,048298 42=RG,18,C65647,048298 43=RG,17,C65644,048298 44=RG,19,C65646,048298 45=PG,28,C66448,048298 46=PY,14,C65861,048298 50=PG,6,C66029,048298 50=PG,6,C66029,048298 50=PG,6,C66029,048298 50=PG,6,C66029,048298 52=PY,15,C65752,048298 66=PG,4,CM2:1,048298 79=PG,10,CM2:3,048298 80=PG,12,CM2:2,048298 82=PG,3,CM2:1,048298 83=PG,2,CM2:1,048298 85=PG,0,CM2:1,048298 86=PG,22,C66531,049655 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N54585 Starting everything now ...54616 Ready Flags: Ready-To-Fly=Y, In Menu=N, In Dlg=N54632 Run: "D:\Fraps\fraps.exe"54632 Run: "D:\SIOC\sioc.exe"54632 Run: "D:\Program Files (x86)\lekseecon\lekseecon.exe"54803 AppKey="7A2958KP9QAX"55911 Advanced Weather Interface Enabled62369 Memory in use: 1164Mb, Avail=2932Mb74849 Ready Flags: Ready-To-Fly=Y, In Menu=Y, In Dlg=Y74849 Sim stopped: average frame rate for last 25 secs = 28.4 fps92821 LogOptions changed, now 40000000 0000002192821 [buttons] now profile-specific:92821 2=PY,19,C65758,092821 3=PY,18,C65759,092821 8=PY,5,C65655,092821 9=PY,4,C65656,092821 12=RY,20,C66635,092821 12=RY,20,C66635,092821 14=RY,21,C66636,092821 14=RY,21,C66636,092821 17=PY,16,C66298,092821 20=PY,17,C66299,092821 24=PG,14,Cx06000D0C,x000892821 24=PG,14,Cx06000D0C,x000892821 25=PG,23,C66059,092821 25=PG,23,C66059,092821 26=PY,0,C1007,192821 27=PG,15,Cx06000D0C,x000192821 27=PG,15,Cx06000D0C,x000192821 28=PG,29,C66052,092821 28=PG,29,C66052,092821 29=PG,30,Cx06000D0C,x000292821 29=PG,30,Cx06000D0C,x000292821 30=PG,31,Cx06000D0C,x002092821 30=PG,31,Cx06000D0C,x002092821 31=PG,7,C66079,092821 31=PG,7,C66079,092821 35=PG,21,C66224,092821 36=PG,20,C66452,092821 37=RG,24,C65641,092821 38=RG,26,C65643,092821 39=RG,25,C65640,092821 40=RG,27,C65642,092821 41=RG,16,C65645,092821 42=RG,18,C65647,092821 43=RG,17,C65644,092821 44=RG,19,C65646,092821 45=PG,28,C66448,092821 46=PY,14,C65861,092821 50=PG,6,C66029,092821 50=PG,6,C66029,092821 50=PG,6,C66029,092821 50=PG,6,C66029,092821 52=PY,15,C65752,092821 66=PG,4,CM2:1,092836 79=PG,10,CM2:3,092836 80=PG,12,CM2:2,092836 82=PG,3,CM2:1,092836 83=PG,2,CM2:1,092836 85=PG,0,CM2:1,092836 86=PG,22,C66531,0782688 Button changed: bRef=0, Joy=1 (Y), Btn=0, Pressed782688 [buttons.Learjet 45 FP] 26=PY,0,C1007,1782688 [DNSCAN] J0.1, B0, bRes=2, Flags=X01, Value=1007[0x3EF], Param=1[0x1], TimeNow=19597812, TimeLast=0782688 FSUIPC Control Action: Ctrl=1007, Param=1789615 Button changed: bRef=0, Joy=1 (Y), Btn=0, Released799989 Button changed: bRef=0, Joy=2 (G), Btn=23, Pressed799989 [buttons.Learjet 45 FP] 25=PG,23,C66059,0799989 [DNSCAN] J0.2, B23, bRes=2, Flags=X01, Value=66059[0x1020B], Param=0[0x0], TimeNow=19615113, TimeLast=19597812799989 FS Control Sent: Ctrl=66059, Param=0799989 Monitor IPC:03C0 (U32) = 0x800000809006 Button changed: bRef=0, Joy=2 (G), Btn=23, Released809006 [buttons.Learjet 45 FP] 56=UG,23,C66060,0809006 [uPSCAN:] J0.2, B23, bRes=1, Flags=X03, Value=66060[0x1020C], Param=0[0x0], TimeNow=19624130, TimeLast=19615113809006 FS Control Sent: Ctrl=66060, Param=0809006 Monitor IPC:03C0 (U32) = 0x0820862 Sim stopped: average frame rate for last 669 secs = 22.6 fps825916 System time = 01/11/2013 23:42:00, Simulator time = 23:39:52 (17:39Z)825916 *** FSUIPC log file being closedAverage frame rate for running time of 697 secs = 22.9 fpsG3D fix: Passes 10866, Null pointers 0, Bad pointers 0, Separate instances 0Memory managed: 333 Allocs, 333 Freed********* FSUIPC Log file closed ***********
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 Why are you posting pictures? The log was enough. I'm working it through the code at present. This is an area unchanged since April 2011, so it is not so familiar. I'll get back to you. Please don't post pictures, they don't help at all. Pete
Pete Dowson Posted November 1, 2013 Report Posted November 1, 2013 I'm working it through the code at present. This is an area unchanged since April 2011, so it is not so familiar. I'll get back to you. I found one place which doesn't look right, though it doesn't really explain what I see in the Log file. Nevertheless it is worth a test. Please download this: FSUIPC4921iTEST Put it into the Modules folder and test again. Show me the log as before, please. Regards Pete
Valeryo Posted November 1, 2013 Author Report Posted November 1, 2013 Why are you posting pictures? The log was enough. I'm working it through the code at present. This is an area unchanged since April 2011, so it is not so familiar. I'll get back to you. Please don't post pictures, they don't help at all. Pete They help me to be convinced that I made everything correctly.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now