Sagal Posted January 27, 2013 Report Share Posted January 27, 2013 Hello Pete, I have the latest software: ********* FSUIPC4, Version 4.859q by Pete Dowson *********, I use FSX with VRS Tacpack. I use one lua file but only to have the microstick of the ch throttle functional as I do not know how to do without (subject already debated in previous request, it is not the topic here). Assigning ctr+u (as an example is working). But each combination involving shift (I tried with left shift or right shift) is not working as I would like it. In short term it works as a 'pulse' key instead of working as a 'holding "shift" key while pressing another key then releasing the key and then releasing the shift. Therefore what I can have using the keyboard is not what I have using the FSUIPC4 interface. In other short words Shift key is ignored. I even tried to replace in ini the ' U' by "P" without success. Any clue? To gain time I copy an paste the settings (sorry but the "enter" function was not working on this page while I checked with office that it was). [General] UpdatedByVersion=4859q History=55RILAE06MSMEXLKESK5M InitDelayDevicesToo=No MouseWheelMove=No MouseWheelTrim=No MouseWheelTrimSpeed=1 JoystickTimeout=20 PollGFTQ6=Yes BlankDisplays=No FixControlAccel=No FixMachSpeedBug=No DeleteVehiclesForAES=Yes AutoScanDevices=Yes VisibilityOptions=No OneCloudLayer=No CloudTurbulence=No CloudIcing=No GenerateCirrus=No SuppressCloudTurbulence=No MaxIce=-4 MinIce=-4 UpperWindGusts=No SuppressWindTurbulence=No SuppressWindVariance=No WindTurbulence=No TurbulenceRate=1.0,5.0 TurbulenceDivisor=20,20,40,40 SuppressAllGusts=No MaxSurfaceWind=0 WindLimitLevel=200 WindDiscardLevel=400 WindAjustAltitude=No WindAjustAltitudeBy=2000 SmoothBySimTime=No WindSmoothing=No WindSmoothness=2 WindSmoothAirborneOnly=Yes PressureSmoothness=0 TemperatureSmoothness=0 DisconnTrimForAP=No ZeroElevForAPAlt=No ThrottleSyncAll=No WhiteMessages=No ShowPMcontrols=No SpoilerIncrement=512 MagicBattery=No RudderSpikeRemoval=No ElevatorSpikeRemoval=No AileronSpikeRemoval=No ReversedElevatorTrim=No ClockSync=No ClockSyncMins=5 ClearWeatherDynamics=No OwnWeatherChanges=No TimeForSelect=4 LoadFlightMenu=No LoadPlanMenu=No PauseAfterCrash=No BrakeReleaseThreshold=75 SaveDataWithFlights=No ZapSound=firework ShortAircraftNameOk=Substring UseProfiles=Yes EnableMouseLook=No AxesWrongRange=No TCASid=Flight TCASrange=40 AxisCalibration=No DirectAxesToCalibs=No ShowMultilineWindow=Yes SuppressSingleline=No SuppressMultilineFS=No AxisIntercepts=No DontResetAxes=No InitDelay=0 GetNearestAirports=Yes OOMcheck=Yes WeatherReadFactor=2 WeatherRewriteSeconds=1 CustomWeatherModify=No SimConnectStallTime=1 LuaRerunDelay=66 Console=No FSVersionUsed="Microsoft Flight Simulator X",10.0.61637.0 SimConnectUsed=10.0.61259.0 [JoyNames] AutoAssignLetters=Yes 1=CH Pro Pedals USB 1.GUID={9BB56EF0-254B-11E2-8003-444553540000} 2=CH Pro Throttle USB 2.GUID={9BB5BD10-254B-11E2-8005-444553540000} 3=CH Fighterstick USB 3.GUID={9BB547E0-254B-11E2-8002-444553540000} A=CH Pro Pedals USB A.GUID={9BB56EF0-254B-11E2-8003-444553540000} B=CH Pro Throttle USB B.GUID={9BB5BD10-254B-11E2-8005-444553540000} C=CH Fighterstick USB C.GUID={9BB547E0-254B-11E2-8002-444553540000} [buttons] Buttonrepeat=20,10 1=PB,5,K71,8 2=PB,15,C65758,0 3=PB,13,C65759,0 4=RC,3,K46,9 5=PC,14,K49,11 6=PC,12,K51,11 7=PC,15,K50,11 8=PC,13,K52,11 9=PC,4,K38,10 10=PC,6,K40,10 11=PC,7,K37,10 12=PC,5,K39,10 13=RB,38,K38,9 14=RB,36,K37,9 15=RB,32,K39,9 16=RB,34,K40,9 17=PB,3,K82,9 18=PB,2,K82,10 19=PB,1,K85,10 20=PB,7,K80,10 21=PB,0,K135,8 22=PC,2,K46,8 23=PB,14,K191,8 24=PB,12,K87,8 25=RB,6,K191,8 26=PB,11,K67,8 27=PB,9,K70,8 28=PB,10,K75,8 29=PB,8,K84,8 30=PB,4,K74,8 31=PC,8,C65615,0 32=PC,10,C65607,0 33=PC,11,C66276,0 34=PC,9,C66277,0 41=UC,3,K46,8 [AutoSave] Next=1 Interval=60 Files=10 SaveOnGround=No AutoSaveEnabled=No [GPSout] GPSoutEnabled=No [GPSout2] GPSoutEnabled=No [WideServer] WideFSenabled=Yes [sounds] Path=D:\Microsoft Flight Simulator X\Sound\ Device1=Périphérique audio principal Device2=Haut-parleurs (ASUS XONAR PHOEBUS Audio Device) Device3=Audio numérique (SPDIF) (ASUS XONAR PHOEBUS Audio Device) Device4=Audio numérique (SPDIF) (5- Périphérique High Definition Audio) Device5=Audio numérique (SPDIF) (5- Périphérique High Definition Audio) [JoystickCalibration] AllowSuppressForPFCquad=Yes ExcludeThrottleSet=Yes ExcludeMixtureSet=Yes ExcludePropPitchSet=Yes SepRevsJetsOnly=No ApplyHeloTrim=No UseAxisControlsForNRZ=No FlapsSetControl=0 FlapDetents=No ReverserControl=66292 Reverser1Control=66422 Reverser2Control=66425 Reverser3Control=66428 Reverser4Control=66431 MaxThrottleForReverser=256 AileronTrimControl=66731 RudderTrimControl=66732 CowlFlaps1Control=66162 CowlFlaps2Control=66163 CowlFlaps3Control=66164 CowlFlaps4Control=66165 SteeringTillerControl=0 MaxSteerSpeed=60 Aileron=-16380,-512,512,16380 Elevator=-16380,-512,512,16380 Rudder=-16380,-512,512,16380 Throttle=-16380,16380 LeftBrake=-16380,16380/16 RightBrake=-16380,16380/16 [Axes] 0=AX,256,F,66387,0,0,0 1=AY,256,F,66388,0,0,0 2=AZ,256,F,65764,0,0,0 3=BX,256 4=BX,BR,2300,16256,L1:R,3508 5=BX,BR,-16384,-2300,L1:R,3509 6=BY,256 7=BY,BR,2300,16256,L1:R,3506 8=BY,BR,-16384,-2300,L1:R,3507 9=BZ,256,F,65765,0,0,0 10=CX,256,F,65763,0,0,0 11=CY,256,F,65762,0,0,0 12=CZ,256,F,65763,0,0,0 [LuaFiles] 1=SuperScript_VRS Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 27, 2013 Report Share Posted January 27, 2013 Hello Pete, I have the latest software: ********* FSUIPC4, Version 4.859q by Pete Dowson ********* Actually the latest is 4.859s, but it is of no consequence. I shall be making a new full release, 4.86, soon. But each combination involving shift (I tried with left shift or right shift) is not working as I would like it. In short term it works as a 'pulse' key instead of working as a 'holding "shift" key while pressing another key then releasing the key and then releasing the shift. Are you talking about assigning key presses on the keyboard to controls, or assigning buttons to keypresses? Mind you, either way, it works fine here. I have many many examples of both in use on my own cockpit. Shift is treated no differently to Ctrl, Alt, or even odd ones like Tab, Windows and menu keys. Looking at your INI file, I see these Button assignments with shifts of one sort or another set: 4=RC,3,K46,9 = shift+delete 5=PC,14,K49,11 = Ctrl+Shift+1 6=PC,12,K51,11 = Ctrl+Shift+3 7=PC,15,K50,11 = Ctrl+Shift+2 8=PC,13,K52,11 = Ctrl+Shift+4 9=PC,4,K38,10 = Ctrl+Up 10=PC,6,K40,10 = Ctrl+Dn 11=PC,7,K37,10 = Ctrl+Left 12=PC,5,K39,10 = Ctrl+Rght 13=RB,38,K38,9 = Shift+Up 14=RB,36,K37,9 = Shift+Left 15=RB,32,K39,9 = Shift+Rght 16=RB,34,K40,9 = Shift+Dn 17=PB,3,K82,9 = Shift+R 18=PB,2,K82,10 = Ctrl+R 19=PB,1,K85,10 = Ctrl+U 20=PB,7,K80,10 = Ctrl+P So, which of these doesn't work? (If this is what you mean). Enable Button and Key logging and let me see the results of pressing whichever it is that doesn't appear to work. Regards Pete Link to comment Share on other sites More sharing options...
georgefitz Posted January 27, 2013 Report Share Posted January 27, 2013 I have fsuipc 4.85, FSX and a saitek 52 joystick I have also notice a problem with the shift + delete combination. Below is my button programming, entry numbers 42 (a button type switch) and 55 ( a paddle type switch) have the shift/delete combo, i.e. K46, 9. However, when I use either only a delete command is sent/received. 27=P0,1,C66244,0 28=P0,6,K82,10 29=P0,7,K90,8 30=P0,9,K189,8 31=P0,8,K187,8 32=P0,10,K8,8 33=P0,11,K32,10 34=R0,22,K37,8 35=R0,21,K38,8 36=R0,20,K39,8 37=R0,19,K40,8 38=P0,18,K37,10 39=P0,15,K38,10 40=P0,16,K39,10 41=P0,17,K40,10 42=P0,26,K46,9 43=P0,28,K191,8 44=P0,27,K85,10 45=P0,31,K13,8 46=CP(+0,23)0,32,K51,11 47=CP(+0,23)0,34,K52,11 48=CP(+0,23)0,36,K49,11 49=CP(+0,23)0,38,K50,11 50=P0,12,K117,8 51=P0,13,K118,8 52=W0366=1 R0,5,K190,8 53=W0366=1 U0,5,K190,8 54=P0,4,K120,8 55=P0,0,K46,9 Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 27, 2013 Report Share Posted January 27, 2013 I have fsuipc 4.85 I cannot support versions earlier than 4.853. The latest is 4.859s, from the Download Links subforum. Below is my button programming, entry numbers 42 (a button type switch) and 55 ( a paddle type switch) have the shift/delete combo, i.e. K46, 9. However, when I use either only a delete command is sent/received. How do you tell? Why not use the button/keyl ogging as requested earlier in this thread -- or did you not read the thread before posting? I can't help you without information. Sorry. Pete Link to comment Share on other sites More sharing options...
georgefitz Posted January 27, 2013 Report Share Posted January 27, 2013 I have never done a log before, I hope this is what you need. Also updated to 4.859s a********* FSUIPC4, Version 4.859s by Pete Dowson ********* Running inside FSX on Windows 7 Module base=598F0000 User Name="George Fitzgerald" User Addr="gbfitzgerald@comcast.net" FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 172 System time = 27/01/2013 15:49:10 172 FLT path = "C:\Users\george\Documents\Flight Simulator X Files\" 203 Trying to connect to SimConnect Acc/SP2 Oct07 ... 234 FS path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 578 LogOptions=00000000 00000001 578 SIM1 Frictions access gained 578 Wind smoothing fix is fully installed 578 G3D.DLL fix attempt installed ok 578 SimConnect_Open succeeded: waiting to check version okay 578 Trying to use SimConnect Acc/SP2 Oct07 2886 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0) 2886 Initialising SimConnect data requests now 2886 FSUIPC Menu entry added 2918 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\FLIGHTS\OTHER\FLTSIM.FLT 2918 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR 20530 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\VRS_FA-18E\FA-18E-6.8_SE.AIR 20530 Weather Mode now = Theme 20530 c:\users\george\documents\flight simulator x files\vrs nantuck sound.FLT 30155 System time = 27/01/2013 15:49:40, Simulator time = 14:19:46 (19:19Z) 30187 Aircraft="Flight Test Aircraft E1" 75443 Starting everything now ... 91854 Advanced Weather Interface Enabled 212443 Sim stopped: average frame rate for last 124 secs = 19.8 fps 220742 C:\Users\george\AppData\Roaming\Microsoft\FSX\Previous flight.FLT 400517 LogOptions changed, now 40000000 00000001 404246 Button changed: bRef=0, Joy=0, Btn=2, Pressed 404246 [buttons.Flight Test Aircraft E1] 23=P0,2,K80,8 404246 SendKeyToFS(00000050=[P], KEYDOWN) ctr=0 404246 Sending WM_KEYDOWN, Key=80 (Scan code 25), Ctr=1 404293 KEYDOWN: VK=80, Waiting=0, Repeat=N, Shifts=0 404293 .. Key not programmed -- passed on to FS 404402 SendKeyToFS(00000050=[P], KEYUP) ctr=0 404402 Sending WM_KEYUP, Key=80 (Scan code 25), Ctr=1 404449 KEYUP: VK=80, Waiting=0 404495 Button changed: bRef=0, Joy=0, Btn=2, Released 404495 [buttons.Flight Test Aircraft E1] 23=P0,2,K80,8 407225 Button changed: bRef=0, Joy=0, Btn=0, Pressed 407225 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 407225 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 407225 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 407241 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 407288 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 407288 .. Key not programmed -- passed on to FS 407288 KEYUP: VK=16, Waiting=0 407288 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 407288 .. Key not programmed -- passed on to FS 407335 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 407335 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 407350 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 407381 KEYUP: VK=46, Waiting=0 407381 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 407381 .. Key not programmed -- passed on to FS 407381 KEYUP: VK=16, Waiting=0 407428 Button changed: bRef=0, Joy=0, Btn=0, Released 407428 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 412701 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 412701 .... Condition (+0,23) = FALSE 412701 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412748 FS Control Sent: Ctrl=66416, Param=180 412748 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412748 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412795 FS Control Sent: Ctrl=66416, Param=180 412795 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412810 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412857 FS Control Sent: Ctrl=66416, Param=180 412857 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412857 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412904 FS Control Sent: Ctrl=66416, Param=180 412904 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412904 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412951 FS Control Sent: Ctrl=66416, Param=180 412951 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412951 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 412997 FS Control Sent: Ctrl=66416, Param=180 413013 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413013 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413060 FS Control Sent: Ctrl=66416, Param=180 413060 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413060 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 413060 .... Condition (+0,23) = FALSE 413060 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413107 FS Control Sent: Ctrl=66416, Param=-1 413107 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413653 [buttons.Flight Test Aircraft E1] 46=CP(+0,23)0,32,K51,11 413653 .... Condition (+0,23) = FALSE 413715 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413762 FS Control Sent: Ctrl=66416, Param=0 413762 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413762 [buttons.Flight Test Aircraft E1] 46=CP(+0,23)0,32,K51,11 413762 .... Condition (+0,23) = FALSE 413762 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413809 FS Control Sent: Ctrl=66416, Param=0 413809 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413809 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 413855 FS Control Sent: Ctrl=66416, Param=-1 413855 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 415821 Button changed: bRef=0, Joy=0, Btn=16, Pressed 415821 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 415821 SendKeyToFS(00020027=[ctl+Right], KEYDOWN) ctr=0 415821 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 415837 Sending WM_KEYDOWN, Key=39 (Scan code 77), Ctr=1 415868 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 415868 .. Key not programmed -- passed on to FS 415868 KEYDOWN: VK=39, Waiting=0, Repeat=N, Shifts=2 415868 .. Key not programmed -- passed on to FS 415962 SendKeyToFS(00020027=[ctl+Right], KEYUP) ctr=0 415962 Button changed: bRef=0, Joy=0, Btn=16, Released 415962 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 415977 Sending WM_KEYUP, Key=39 (Scan code 77), Ctr=2 415993 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 416024 KEYUP: VK=39, Waiting=0 416024 KEYUP: VK=17, Waiting=0 416367 Button changed: bRef=0, Joy=0, Btn=16, Pressed 416367 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 416367 SendKeyToFS(00020027=[ctl+Right], KEYDOWN) ctr=0 416367 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 416383 Sending WM_KEYDOWN, Key=39 (Scan code 77), Ctr=1 416414 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 416414 .. Key not programmed -- passed on to FS 416414 KEYDOWN: VK=39, Waiting=0, Repeat=N, Shifts=2 416414 .. Key not programmed -- passed on to FS 416476 SendKeyToFS(00020027=[ctl+Right], KEYUP) ctr=0 416476 Sending WM_KEYUP, Key=39 (Scan code 77), Ctr=2 416492 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 416523 Button changed: bRef=0, Joy=0, Btn=16, Released 416523 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 416523 KEYUP: VK=39, Waiting=0 416523 KEYUP: VK=17, Waiting=0 420735 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 420735 .... Condition (+0,23) = FALSE 420735 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420798 FS Control Sent: Ctrl=66416, Param=180 420798 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420798 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420844 FS Control Sent: Ctrl=66416, Param=180 420844 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420844 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420891 FS Control Sent: Ctrl=66416, Param=180 420891 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420891 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420938 FS Control Sent: Ctrl=66416, Param=180 420938 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420938 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 420938 .... Condition (+0,23) = FALSE 420938 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 420985 FS Control Sent: Ctrl=66416, Param=-1 420985 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424011 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 424011 .... Condition (+0,23) = TRUE 424011 SendKeyToFS(00060031=[ctl+shft+1], KEYDOWN) ctr=0 424011 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424011 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424011 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=3 424011 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=3 424027 Sending WM_KEYDOWN, Key=49 (Scan code 2), Ctr=1 424058 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 424058 .. Key not programmed -- passed on to FS 424058 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=3 424058 .. Key not programmed -- passed on to FS 424058 KEYDOWN: VK=49, Waiting=0, Repeat=N, Shifts=3 424058 .. Key not programmed -- passed on to FS 424058 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424058 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424105 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424105 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424152 SendKeyToFS(00060031=[ctl+shft+1], KEYUP) ctr=0 424152 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 424152 .... Condition (+0,23) = TRUE 424152 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424152 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424152 Sending WM_KEYUP, Key=49 (Scan code 2), Ctr=3 424167 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=2 424167 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=2 424214 KEYUP: VK=49, Waiting=0 424214 KEYUP: VK=17, Waiting=0 424214 KEYUP: VK=16, Waiting=0 424214 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 424214 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 431842 Button changed: bRef=0, Joy=0, Btn=26, Pressed 431842 [buttons.Flight Test Aircraft E1] 42=P0,26,K46,9 431842 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 431842 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 431858 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 431889 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 431889 .. Key not programmed -- passed on to FS 431889 KEYUP: VK=16, Waiting=0 431889 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 431889 .. Key not programmed -- passed on to FS 431998 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 431998 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 432014 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 432045 KEYUP: VK=46, Waiting=0 432045 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 432045 .. Key not programmed -- passed on to FS 432045 KEYUP: VK=16, Waiting=0 432186 Button changed: bRef=0, Joy=0, Btn=26, Released 432186 [buttons.Flight Test Aircraft E1] 42=P0,26,K46,9 436210 Button changed: bRef=0, Joy=0, Btn=0, Pressed 436210 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 436210 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 436210 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 436226 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 436257 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 436257 .. Key not programmed -- passed on to FS 436257 KEYUP: VK=16, Waiting=0 436257 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 436257 .. Key not programmed -- passed on to FS 436351 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 436366 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 436382 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 436413 KEYUP: VK=46, Waiting=0 436413 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 436413 .. Key not programmed -- passed on to FS 436413 KEYUP: VK=16, Waiting=0 436803 Button changed: bRef=0, Joy=0, Btn=0, Released 436803 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 437505 Button changed: bRef=0, Joy=0, Btn=0, Pressed 437505 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 437505 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 437521 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 437536 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 437568 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 437568 .. Key not programmed -- passed on to FS 437568 KEYUP: VK=16, Waiting=0 437568 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 437568 .. Key not programmed -- passed on to FS 437614 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 437614 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 437630 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 437661 KEYUP: VK=46, Waiting=0 437661 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 437661 .. Key not programmed -- passed on to FS 437661 KEYUP: VK=16, Waiting=0 437817 Button changed: bRef=0, Joy=0, Btn=0, Released 437817 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 443184 KEYDOWN: VK=27, Waiting=0, Repeat=N, Shifts=0 443199 .. Key not programmed -- passed on to FS 443386 Sim stopped: average frame rate for last 42 secs = 19.9 fps Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 27, 2013 Report Share Posted January 27, 2013 I have never done a log before, I hope this is what you need. Also updated to 4.859s Hmm. Interesting. Here is a place where you pressed a button which invoked Shift+something 407225 Button changed: bRef=0, Joy=0, Btn=0, Pressed 407225 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 407225 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 407225 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 407241 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 407288 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 407288 .. Key not programmed -- passed on to FS 407288 KEYUP: VK=16, Waiting=0 407288 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 407288 .. Key not programmed -- passed on to FS 407335 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 407335 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 407350 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 407381 KEYUP: VK=46, Waiting=0 407381 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 407381 .. Key not programmed -- passed on to FS 407381 KEYUP: VK=16, Waiting=0 407428 Button changed: bRef=0, Joy=0, Btn=0, Released The blue parts are where FSUIPC is sending the eyacyions. You will see that they are precisely what was called for. The red parts are just FSUIPC logging the arrival of the Keyboard events into FS. Now you see that somehow additional KEYUP events are occurring for the Shift key. It is this which is ruining the outcome! A different example, with Ctrl+something looks different (correct): 415821 Button changed: bRef=0, Joy=0, Btn=16, Pressed 415821 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 415821 SendKeyToFS(00020027=[ctl+Right], KEYDOWN) ctr=0 415821 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 415837 Sending WM_KEYDOWN, Key=39 (Scan code 77), Ctr=1 415868 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 415868 .. Key not programmed -- passed on to FS 415868 KEYDOWN: VK=39, Waiting=0, Repeat=N, Shifts=2 415868 .. Key not programmed -- passed on to FS 415962 SendKeyToFS(00020027=[ctl+Right], KEYUP) ctr=0 415962 Button changed: bRef=0, Joy=0, Btn=16, Released 415962 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 415977 Sending WM_KEYUP, Key=39 (Scan code 77), Ctr=2 415993 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 416024 KEYUP: VK=39, Waiting=0 416024 KEYUP: VK=17, Waiting=0 I don't understand how this is occurring, I've not seen such before. I'll see if I can reproduce it here, but please, also, tell me what other things you have running inside FS, what other add-ons. Regards Pete Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 28, 2013 Report Share Posted January 28, 2013 I don't understand how this is occurring, I've not seen such before. I'll see if I can reproduce it here, but please, also, tell me what other things you have running inside FS, what other add-ons. No, I cannot reproduce this behaviour. I'm sure it must be something else on your system which is cancelling the Shift with a Shift Keyup message, but I've no idea what that could be nor why it would do it. Since there are two of you reporting this (though so far no confirming log has been supplied by the original poster), I hope that if you both list your addons we might find something in common between them which could help to explain it. Regards Pete Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 28, 2013 Report Share Posted January 28, 2013 No, I cannot reproduce this behaviour. Okay. Whilst i cannot reproduce it, I think I can stop it happening by deliberately "swallowing" the excess Shift KEYUP messages. I'd still like to know where those come from (it definitely is not FSUIPC), so please do provide the extra info I asked for. but meanwhile please try this test version of FSUIPC4 and let me know: FSUIPC4859t_Test2.zip Thanks. I'd like to see the log 9with the same options as above) whether it works or not. Regards Pete Link to comment Share on other sites More sharing options...
georgefitz Posted January 28, 2013 Report Share Posted January 28, 2013 I have VRS tacpac, AIcarrier2, USS Nimitz & USS Eisenhower Version 2.0 by Javier Fernandez and FSrecorder. I also have TrackIR, I am also using a Lua file called Lua.panning that you suggested in a recent forum Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 28, 2013 Report Share Posted January 28, 2013 I have VRS tacpac, AIcarrier2, USS Nimitz & USS Eisenhower Version 2.0 by Javier Fernandez and FSrecorder. I also have TrackIR, I am also using a Lua file called Lua.panning that you suggested in a recent forum The OP also said "I use FSX with VRS Tacpack", so that's a distinct posibility. What is it, an aircraft? If so, does it have a DLL or EXE running? Let me know what happens with the test version of FSUIPC please. Pete Link to comment Share on other sites More sharing options...
georgefitz Posted January 28, 2013 Report Share Posted January 28, 2013 vrs tacpack is an F18 aircraft (http://www.vrsimulations.com/tacpack.htm), I believe it is dll running. I've tested the test version and it did not help. Furthermore, prior to updating to fsuipc 4859, I was able to use the keyboard shift + delete to get the specific command, now it does not, see key log below. Also, I've tested a shift combo with other keys and they work. the problem seems only to occur with delete. also, I notice the FSX, I believe, does not use the delete key for any commands. the use of the delete key is unique to the VRS aircraft. I have gone to vrs support forums and it appears that others have had a problem with shift + delete not necessarily with fsuipc. I am going to check on vrs forum to check further. ********* FSUIPC4, Version 4.859t by Pete Dowson ********* Running inside FSX on Windows 7 Module base=64EE0000 User Name="George Fitzgerald" User Addr="gbfitzgerald@comcast.net" FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 156 System time = 28/01/2013 11:41:05 156 FLT path = "C:\Users\george\Documents\Flight Simulator X Files\" 203 Trying to connect to SimConnect Acc/SP2 Oct07 ... 219 FS path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 546 LogOptions=40000000 00000001 546 SIM1 Frictions access gained 546 Wind smoothing fix is fully installed 546 G3D.DLL fix attempt installed ok 546 SimConnect_Open succeeded: waiting to check version okay 546 Trying to use SimConnect Acc/SP2 Oct07 2949 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0) 2949 Initialising SimConnect data requests now 2949 FSUIPC Menu entry added 2980 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\FLIGHTS\OTHER\FLTSIM.FLT 2980 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR 16536 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\VRS_FA-18E\FA-18E-6.8_SE.AIR 16536 Weather Mode now = Theme 16536 c:\users\george\documents\flight simulator x files\vrs nantuck sound.FLT 26240 System time = 28/01/2013 11:41:31, Simulator time = 14:19:46 (19:19Z) 26255 Aircraft="Flight Test Aircraft E1" 26255 [buttons] now profile-specific: 26255 4=P1,1,C66244,0 26255 9=P1,9,K189,8 26255 21=P1,10,K8,8 26255 22=P1,11,K32,10 26255 [buttons] now profile-specific: 26255 3=P1,8,K187,8 26255 4=P1,1,C66244,0 26255 9=P1,9,K189,8 26255 21=P1,10,K8,8 26255 22=P1,11,K32,10 32433 Button changed: bRef=0, Joy=0, Btn=2, Pressed 32433 [buttons.Flight Test Aircraft E1] 23=P0,2,K80,8 32433 SendKeyToFS(00000050=[P], KEYDOWN) ctr=0 32449 Sending WM_KEYDOWN, Key=80 (Scan code 25), Ctr=1 32495 KEYDOWN: VK=80, Waiting=0, Repeat=N, Shifts=0 32495 .. Key not programmed -- passed on to FS 32542 SendKeyToFS(00000050=[P], KEYUP) ctr=0 32542 Sending WM_KEYUP, Key=80 (Scan code 25), Ctr=1 32589 KEYUP: VK=80, Waiting=0 32651 Button changed: bRef=0, Joy=0, Btn=2, Released 32651 [buttons.Flight Test Aircraft E1] 23=P0,2,K80,8 35272 Starting everything now ... 35288 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 35288 FS Control Sent: Ctrl=66416, Param=-1 35288 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 36286 Advanced Weather Interface Enabled 45880 Button changed: bRef=0, Joy=0, Btn=7, Pressed 45880 [buttons.Flight Test Aircraft E1] 29=P0,7,K90,8 45880 SendKeyToFS(0000005A=[Z], KEYDOWN) ctr=0 45880 Sending WM_KEYDOWN, Key=90 (Scan code 44), Ctr=1 45927 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=0 45927 .. Key not programmed -- passed on to FS 46036 SendKeyToFS(0000005A=[Z], KEYUP) ctr=0 46036 Sending WM_KEYUP, Key=90 (Scan code 44), Ctr=1 46083 Button changed: bRef=0, Joy=0, Btn=7, Released 46083 [buttons.Flight Test Aircraft E1] 29=P0,7,K90,8 46083 KEYUP: VK=90, Waiting=0 49047 Button changed: bRef=0, Joy=0, Btn=16, Pressed 49047 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 49047 SendKeyToFS(00020027=[ctl+Right], KEYDOWN) ctr=0 49047 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 49063 Sending WM_KEYDOWN, Key=39 (Scan code 77), Ctr=1 49094 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 49094 .. Key not programmed -- passed on to FS 49094 KEYDOWN: VK=39, Waiting=0, Repeat=N, Shifts=2 49094 .. Key not programmed -- passed on to FS 49156 SendKeyToFS(00020027=[ctl+Right], KEYUP) ctr=0 49156 Sending WM_KEYUP, Key=39 (Scan code 77), Ctr=2 49172 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 49203 KEYUP: VK=39, Waiting=0 49203 KEYUP: VK=17, Waiting=0 49250 Button changed: bRef=0, Joy=0, Btn=16, Released 49250 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 50357 Button changed: bRef=0, Joy=0, Btn=16, Pressed 50357 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 50357 SendKeyToFS(00020027=[ctl+Right], KEYDOWN) ctr=0 50357 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 50373 Sending WM_KEYDOWN, Key=39 (Scan code 77), Ctr=1 50404 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 50404 .. Key not programmed -- passed on to FS 50404 KEYDOWN: VK=39, Waiting=0, Repeat=N, Shifts=2 50404 .. Key not programmed -- passed on to FS 50498 SendKeyToFS(00020027=[ctl+Right], KEYUP) ctr=0 50514 Sending WM_KEYUP, Key=39 (Scan code 77), Ctr=2 50529 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 50560 Button changed: bRef=0, Joy=0, Btn=16, Released 50560 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 50560 KEYUP: VK=39, Waiting=0 50560 KEYUP: VK=17, Waiting=0 54414 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 54414 .... Condition (+0,23) = TRUE 54414 SendKeyToFS(00060031=[ctl+shft+1], KEYDOWN) ctr=0 54414 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=3 54414 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=3 54429 Sending WM_KEYDOWN, Key=49 (Scan code 2), Ctr=1 54460 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 54460 .. Key not programmed -- passed on to FS 54460 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=3 54460 .. Key not programmed -- passed on to FS 54460 KEYDOWN: VK=49, Waiting=0, Repeat=N, Shifts=3 54460 .. Key not programmed -- passed on to FS 54460 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54460 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54523 SendKeyToFS(00060031=[ctl+shft+1], KEYUP) ctr=0 54523 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54523 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54523 Sending WM_KEYUP, Key=49 (Scan code 2), Ctr=3 54538 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=2 54538 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=2 54570 KEYUP: VK=49, Waiting=0 54570 KEYUP: VK=17, Waiting=0 54570 KEYUP: VK=16, Waiting=0, Spurious so ignored! 54570 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54570 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54616 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54616 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54679 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54679 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54726 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 54726 .... Condition (+0,23) = TRUE 54726 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54726 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54772 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54772 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 63352 Button changed: bRef=0, Joy=0, Btn=0, Pressed 63352 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 63352 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 63368 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 63384 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 63415 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 63415 .. Key not programmed -- passed on to FS 63415 KEYUP: VK=16, Waiting=0, Spurious so ignored! 63415 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 63415 .. Key not programmed -- passed on to FS 63462 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 63462 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 63477 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 63508 KEYUP: VK=46, Waiting=0 63508 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 63508 .. Key not programmed -- passed on to FS 63508 KEYUP: VK=16, Waiting=0, Spurious so ignored! 63914 Button changed: bRef=0, Joy=0, Btn=0, Released 63914 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 67330 Button changed: bRef=0, Joy=0, Btn=7, Pressed 67330 [buttons.Flight Test Aircraft E1] 29=P0,7,K90,8 67330 SendKeyToFS(0000005A=[Z], KEYDOWN) ctr=0 67330 Sending WM_KEYDOWN, Key=90 (Scan code 44), Ctr=1 67377 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=0 67377 .. Key not programmed -- passed on to FS 67471 SendKeyToFS(0000005A=[Z], KEYUP) ctr=0 67486 Sending WM_KEYUP, Key=90 (Scan code 44), Ctr=1 67518 KEYUP: VK=90, Waiting=0 67580 Button changed: bRef=0, Joy=0, Btn=7, Released 67580 [buttons.Flight Test Aircraft E1] 29=P0,7,K90,8 69483 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 69483 .. Key not programmed -- passed on to FS 69982 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 69982 .. Key not programmed -- passed on to FS 70029 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70029 .. Key not programmed -- passed on to FS 70092 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70092 .. Key not programmed -- passed on to FS 70138 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70138 .. Key not programmed -- passed on to FS 70185 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70185 .. Key not programmed -- passed on to FS 70232 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70232 .. Key not programmed -- passed on to FS 70279 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70279 .. Key not programmed -- passed on to FS 70341 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70341 .. Key not programmed -- passed on to FS 70388 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70388 .. Key not programmed -- passed on to FS 70388 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=1 70388 .. Key not programmed -- passed on to FS 70887 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 70887 .. Key not programmed -- passed on to FS 70934 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 70934 .. Key not programmed -- passed on to FS 70996 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 70996 .. Key not programmed -- passed on to FS 71043 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 71043 .. Key not programmed -- passed on to FS 71090 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 71090 .. Key not programmed -- passed on to FS 71090 KEYUP: VK=46, Waiting=0 71449 KEYUP: VK=16, Waiting=0, Spurious so ignored! 82977 KEYDOWN: VK=27, Waiting=0, Repeat=N, Shifts=0 82977 .. Key not programmed -- passed on to FS 83149 Sim stopped: average frame rate for last 52 secs = 19.8 fps 95255 C:\Users\george\AppData\Roaming\Microsoft\FSX\Previous flight.FLT 305107 System time = 28/01/2013 11:46:10, Simulator time = 14:19:46 (19:19Z) 305107 *** FSUIPC log file being closed Average frame rate for running time of 53 secs = 19.7 fps G3D fix: Passes 12505, Null pointers 0, Bad pointers 0, Separate instances 0 Memory managed: 27 Allocs, 27 Freed ********* FSUIPC Log file closed *********** Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 28, 2013 Report Share Posted January 28, 2013 vrs tacpack is an F18 aircraft (http://www.vrsimulat...com/tacpack.htm), I believe it is dll running. Could you test without that DLL please? I've tested the test version and it did not help. Furthermore, prior to updating to fsuipc 4859, I was able to use the keyboard shift + delete to get the specific command, now it does not, see key log below. Sorry, you are confusing things now. You are saying it all worked before i changed it? So why did I bother? Please explain. Also, I've tested a shift combo with other keys and they work. the problem seems only to occur with delete. also, I notice the FSX, I believe, does not use the delete key for any commands. the use of the delete key is unique to the VRS aircraft. I have gone to vrs support forums and it appears that others have had a problem with shift + delete not necessarily with fsuipc. I am going to check on vrs forum to check further. Okay. That's useful information. Thanks. The log shows the new mod in operation: The CTRL+RGHT worked okay, as before: 49047 [buttons.Flight Test Aircraft E1] 40=P0,16,K39,10 49047 SendKeyToFS(00020027=[ctl+Right], KEYDOWN) ctr=0 49047 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 49063 Sending WM_KEYDOWN, Key=39 (Scan code 77), Ctr=1 49094 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 49094 .. Key not programmed -- passed on to FS 49094 KEYDOWN: VK=39, Waiting=0, Repeat=N, Shifts=2 49094 .. Key not programmed -- passed on to FS 49156 SendKeyToFS(00020027=[ctl+Right], KEYUP) ctr=0 49156 Sending WM_KEYUP, Key=39 (Scan code 77), Ctr=2 49172 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 49203 KEYUP: VK=39, Waiting=0 49203 KEYUP: VK=17, Waiting=0 49250 Button changed: bRef=0, Joy=0, Btn=16, Released The SHIFT+CTRL+1 looks wrong though. 54414 [buttons.Flight Test Aircraft E1] 48=CP(+0,23)0,36,K49,11 54414 .... Condition (+0,23) = TRUE 54414 SendKeyToFS(00060031=[ctl+shft+1], KEYDOWN) ctr=0 54414 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=3 54414 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=3 54429 Sending WM_KEYDOWN, Key=49 (Scan code 2), Ctr=1 54460 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 54460 .. Key not programmed -- passed on to FS 54460 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=3 54460 .. Key not programmed -- passed on to FS 54460 KEYDOWN: VK=49, Waiting=0, Repeat=N, Shifts=3 54460 .. Key not programmed -- passed on to FS 54460 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54460 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54523 SendKeyToFS(00060031=[ctl+shft+1], KEYUP) ctr=0 54523 LUA.0: beginning "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54523 LUA.0: ended "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\panning.lua" 54523 Sending WM_KEYUP, Key=49 (Scan code 2), Ctr=3 54538 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=2 54538 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=2 54570 KEYUP: VK=49, Waiting=0 54570 KEYUP: VK=17, Waiting=0 54570 KEYUP: VK=16, Waiting=0, Spurious so ignored! That should NOT have been ignored ... it was one sent by FSUIPC. Strange, ctrl+Shift+1 works fine here. I'll investigate this now. Here's the Shift+Delete showing the CORRECT spurious KEYUP being ignored: 63352 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 63352 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 63368 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 63384 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 63415 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 63415 .. Key not programmed -- passed on to FS 63415 KEYUP: VK=16, Waiting=0, Spurious so ignored! 63415 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 63415 .. Key not programmed -- passed on to FS 63462 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 63462 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 63477 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 63508 KEYUP: VK=46, Waiting=0 So that should have worked okay. Did it not? Oddly though it was folowed by a very short press of the Shift key before the process ended. I'm wondering if that's due to the outstanding KEYUP from the red marked ignoring action above. 63508 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 63508 .. Key not programmed -- passed on to FS 63508 KEYUP: VK=16, Waiting=0, Spurious so ignored! and this KEYUP was also ignored. The Shift key is now stuck down, so the remaining non-shifted keys will not give the desired results. I assume this resulted in you holding it down, here, in order to clear it? 69483 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 69483 .. Key not programmed -- passed on to FS 69982 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 69982 .. Key not programmed -- passed on to FS 70029 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70029 .. Key not programmed -- passed on to FS 70092 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70092 .. Key not programmed -- passed on to FS 70138 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70138 .. Key not programmed -- passed on to FS 70185 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70185 .. Key not programmed -- passed on to FS 70232 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70232 .. Key not programmed -- passed on to FS 70279 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70279 .. Key not programmed -- passed on to FS 70341 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70341 .. Key not programmed -- passed on to FS 70388 KEYDOWN: VK=16, Waiting=0, Repeat=Y, Shifts=1 70388 .. Key not programmed -- passed on to FS 70388 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=1 70388 .. Key not programmed -- passed on to FS 70887 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 70887 .. Key not programmed -- passed on to FS 70934 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 70934 .. Key not programmed -- passed on to FS 70996 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 70996 .. Key not programmed -- passed on to FS 71043 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 71043 .. Key not programmed -- passed on to FS 71090 KEYDOWN: VK=46, Waiting=0, Repeat=Y, Shifts=1 71090 .. Key not programmed -- passed on to FS 71090 KEYUP: VK=46, Waiting=0 71449 KEYUP: VK=16, Waiting=0, Spurious so ignored! But yet again it was ignored. Somehow the flag telling the routine to ignore the Shift KEYUP is stuck "on". i'll check. Let me know how you get on with VRS support. Regards Pete Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 28, 2013 Report Share Posted January 28, 2013 Somehow the flag telling the routine to ignore the Shift KEYUP is stuck "on". i'll check. Okay. My error. There was one other place where a KEYUP could be sent which also needed the flag cleared. Sorry about that. Try FSUIPC4859t_Test3.zip Regards Pete Link to comment Share on other sites More sharing options...
Sagal Posted January 28, 2013 Author Report Share Posted January 28, 2013 I continue from my first request. 1) By using a lua file that contains -- "Stick 3615 Nose Wheel Steering Mode Toggle (SHIFT+DEL)" then "-- Undesignate/Nose Wheel Steering Mode Button if ipcPARAM == 3615 then ipc.keypress (110,1) end " that works by adding it on the left part of the FSUIPC Windows it doesn't work (shift function is ignored). 2) I guess the shift + R does not work either (I have to put myself in a situation where I can test it with FA-18 VRS with Tacpack. 3) the joysticks buttons I'm referring to more precisely (for the function shift + arrows) are 32,34,36 and 38. I even tried (by reading some part of the Advanced manual to change them to: 35=HB,38,K38,8 36=HB,38,K16,8 37=HB,34,K40,8 38=HB,34,K16,8 39=HB,36,K37,8 40=HB,36,K16,8 41=HB,32,K39,8 42=HB,32,K16,8" without success as well. Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 29, 2013 Report Share Posted January 29, 2013 I continue from my first request. Sorry, you have now lost me completely. What "request"? What is all this about, and how does it relate to all the preceding interactions? Are you testing with 4.859t_Test3? Why have you not even supplied the log file requested in my original reply to you. But not with anything earlier than the Test3 version as mentioned. You seem to be ignoring what has occurred and where the problem appears to lie -- with the VRS it seems. I am merely trying to find a work around. Pete Link to comment Share on other sites More sharing options...
adiemus Posted January 29, 2013 Report Share Posted January 29, 2013 Pete, You seem to be ignoring what has occurred and where the problem appears to lie -- with the VRS it seems. I am merely trying to find a work around. This is Chris Tracy, the primary developer of the VRS TacPack. (A module that adds various weapon/sensor functionality to FSX. It runs globally as a DLL) If indeed you find that something the TacPack is doing is the source of this issue, I'm most interested to fix it on our end rather than forcing you to work around it. Though I confess I too am confused by what's been reported here so far. Chris Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 29, 2013 Report Share Posted January 29, 2013 This is Chris Tracy, the primary developer of the VRS TacPack. (A module that adds various weapon/sensor functionality to FSX. It runs globally as a DLL) If indeed you find that something the TacPack is doing is the source of this issue, I'm most interested to fix it on our end rather than forcing you to work around it. Though I confess I too am confused by what's been reported here so far. Hi Chris Happy New Year to you. Hope you are well! Of course it may not actualy be related to the VRS, it may just be a coincidence that the two posting here are both running it. It is also not clear to me at present what problem the original poster is suffering from. -- the second one, the only one to provide helpful evidence so far, seems to now believe that it is something to do with sending Shift+Delete only. The odd and apparently spurious WM_KEYUP occuring for the shift is the problem. I believe the code I put into the test test version of FSUIPC4 ("4859t_Test3") should do the trick, but I've not received confirmation yet, which is why 4.859t is not yest released except here. I'm afraid I can't really help narrow down the cause since I have no means of re-creating the symptoms here. Best Regards Pete Link to comment Share on other sites More sharing options...
adiemus Posted January 29, 2013 Report Share Posted January 29, 2013 Happy New Year to you. Hope you are well! Thanks, Pete. Hope you are as well. For what it's worth, I've just tested here locally with the VRS Superbug (our FA-18E) and TacPack without issue on both 4.859m and 4.859t_Test3. Whatever it is, it's not something VRS code is unavoidably causing. To the users reporting the issue: In addition to both running the TacPack, you're both running the user-contributed LUA "SuperScript" as well, aren't you? I'm wondering if perhaps that's where the spurious shift release is coming from. (I'm not running it here, nor is it something VRS supports, and FSUIPC's LUA capabilities are not something I have any experience or knowledge of. I've asked that script's author to review this thread) Is it possible you both have the same stick and/or profiling software that might be causing it? Like Pete, I'm quite curious to see an FSUIPC log of button/key events from one (or both) of you with the TacPack disabled. (You can disable the TacPack easily via the TPM) Here are the relevant sections of my log from the test with the Superbug/TacPack on FSUIPC 4.859t_Test3 ********* FSUIPC4, Version 4.859t by Pete Dowson *********<snip>177938 Button changed: bRef=0, Joy=0, Btn=6, Pressed177938 [Buttons] 1=H0,6,K46,9177938 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0177953 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2177969 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1177984 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1177984 .. Key not programmed -- passed on to FS177984 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=1177984 .. Key not programmed -- passed on to FS178156 Button changed: bRef=0, Joy=0, Btn=6, Released178156 [Buttons] 1=H0,6,K46,9178156 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0178156 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2178172 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1178188 KEYUP: VK=46, Waiting=0178188 KEYUP: VK=16, Waiting=0304375 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2304375 .. Key not programmed -- passed on to FS304469 KEYDOWN: VK=67, Waiting=0, Repeat=N, Shifts=2304469 .. Key not programmed -- passed on to FS[/CODE] Link to comment Share on other sites More sharing options...
Sagal Posted January 29, 2013 Author Report Share Posted January 29, 2013 This is my log with your t3, with the new lua 1.04. However during the test I kept one button for "FSUIPC direct input" for shift + del besides the ones for shift + the 4 arrows. Meaning with one button I use for shift + del the lua programmation and with another one I use the fsuipc direct programmation. ********* FSUIPC4, Version 4.859t by Pete Dowson ********* Running inside FSX on Windows 7 Module base=578D0000 User Name="xxxxxxxxx" User Addr="xxxxxxxxx@xxx.xx" FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 188 System time = 29/01/2013 22:34:07 188 FLT path = "C:\Users\XXX\Documents\Flight Simulator X Files\" 688 Trying to connect to SimConnect Acc/SP2 Oct07 ... 704 FS path = "D:\Microsoft Flight Simulator X\" 985 LogOptions=00000000 00000001 985 SIM1 Frictions access gained 985 Wind smoothing fix is fully installed 985 G3D.DLL fix attempt installed ok 985 SimConnect_Open succeeded: waiting to check version okay 985 Trying to use SimConnect Acc/SP2 Oct07 13063 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0) 13063 Initialising SimConnect data requests now 13063 FSUIPC Menu entry added 13094 c:\users\XXX\documents\flight simulator x files\Default bale.FLT 13094 C:\Users\XXX\Documents\Plan-G Files\VFR Bale-Mulhouse to SION (112,15 MHz).PLN 13094 D:\Microsoft Flight Simulator X\SimObjects\Airplanes\VRS_FA-18E\FA-18E-6.8_SE.AIR 13094 C:\Users\XXX\Documents\Plan-G Files\VFR Bale-Mulhouse to SION (112,15 MHz).PLN 27672 C:\Users\XXX\Documents\Plan-G Files\VFR Bale-Mulhouse to SION (112,15 MHz).PLN 27672 Weather Mode now = Theme 27672 C:\Users\XXX\AppData\Roaming\Microsoft\FSX\Previous flight.FLT 41079 C:\Users\XXX\Documents\Flight Simulator X Files\VFR Wellington Intl to Magenta.PLN 221360 Aircraft="Flight Test Aircraft E1" 221375 System time = 29/01/2013 22:37:48, Simulator time = 08:34:19 (21:34Z) 253938 Sim stopped: average frame rate for last 32 secs = 22.2 fps 266047 Starting everything now ... 269157 Advanced Weather Interface Enabled 469094 *** Entered Buttons option page *** 470594 FirstButtonchange res=00000200 (0.2, 0) 514438 FirstButtonchange res=00000308 (0.3, 8) 516157 FirstButtonchange res=00000305 (0.3, 5) 516735 FirstButtonchange res=00000304 (0.3, 4) 517657 FirstButtonchange res=00000306 (0.3, 6) 518188 FirstButtonchange res=00000307 (0.3, 7) 518547 FirstButtonchange res=00000306 (0.3, 6) 520313 FirstButtonchange res=00000306 (0.3, 6) 520985 FirstButtonchange res=00000304 (0.3, 4) 521407 FirstButtonchange res=00000306 (0.3, 6) 521719 FirstButtonchange res=00000304 (0.3, 4) 522016 FirstButtonchange res=00000307 (0.3, 7) 522516 FirstButtonchange res=00000305 (0.3, 5) 522875 FirstButtonchange res=00000306 (0.3, 6) 529219 FirstButtonchange res=00000200 (0.2, 0) 567047 FirstButtonchange res=00000226 (0.2, 38) 567688 FirstButtonchange res=00000222 (0.2, 34) 568329 FirstButtonchange res=00000226 (0.2, 38) 568891 FirstButtonchange res=00000222 (0.2, 34) 569485 FirstButtonchange res=00000224 (0.2, 36) 569954 FirstButtonchange res=00000220 (0.2, 32) 570563 FirstButtonchange res=00000224 (0.2, 36) 570938 FirstButtonchange res=00000222 (0.2, 34) 571391 FirstButtonchange res=00000220 (0.2, 32) 571844 FirstButtonchange res=00000224 (0.2, 36) 572516 FirstButtonchange res=00000226 (0.2, 38) 617438 FirstButtonchange res=00000226 (0.2, 38) 618282 FirstButtonchange res=00000224 (0.2, 36) 618688 FirstButtonchange res=00000220 (0.2, 32) 619282 FirstButtonchange res=00000222 (0.2, 34) 619844 FirstButtonchange res=00000224 (0.2, 36) 620329 FirstButtonchange res=00000220 (0.2, 32) 621000 FirstButtonchange res=00000224 (0.2, 36) 621954 FirstButtonchange res=00000224 (0.2, 36) 622875 FirstButtonchange res=00000202 (0.2, 2) 623704 FirstButtonchange res=00000226 (0.2, 38) 624610 FirstButtonchange res=00000222 (0.2, 34) 625125 FirstButtonchange res=00000224 (0.2, 36) 625610 FirstButtonchange res=00000220 (0.2, 32) 626000 FirstButtonchange res=00000224 (0.2, 36) 626735 FirstButtonchange res=00000220 (0.2, 32) 627297 FirstButtonchange res=00000224 (0.2, 36) 628313 FirstButtonchange res=00000226 (0.2, 38) 628907 FirstButtonchange res=00000224 (0.2, 36) 629579 FirstButtonchange res=00000220 (0.2, 32) 630047 FirstButtonchange res=00000224 (0.2, 36) 630625 FirstButtonchange res=00000220 (0.2, 32) 631094 FirstButtonchange res=00000224 (0.2, 36) 631704 FirstButtonchange res=00000220 (0.2, 32) 632125 FirstButtonchange res=00000224 (0.2, 36) 632813 FirstButtonchange res=00000222 (0.2, 34) 633313 FirstButtonchange res=00000226 (0.2, 38) 634000 FirstButtonchange res=00000222 (0.2, 34) 634641 FirstButtonchange res=00000224 (0.2, 36) 635688 FirstButtonchange res=00000220 (0.2, 32) 636188 FirstButtonchange res=00000224 (0.2, 36) 638344 FirstButtonchange res=00000224 (0.2, 36) 638797 FirstButtonchange res=00000220 (0.2, 32) 639313 FirstButtonchange res=00000224 (0.2, 36) 639766 FirstButtonchange res=00000220 (0.2, 32) 640344 FirstButtonchange res=00000226 (0.2, 38) 640704 FirstButtonchange res=00000222 (0.2, 34) 641250 FirstButtonchange res=00000224 (0.2, 36) 642125 FirstButtonchange res=00000220 (0.2, 32) 642641 FirstButtonchange res=00000224 (0.2, 36) 729204 FirstButtonchange res=00000226 (0.2, 38) 729688 FirstButtonchange res=00000222 (0.2, 34) 730297 FirstButtonchange res=00000226 (0.2, 38) 730688 FirstButtonchange res=00000222 (0.2, 34) 739657 *** Exiting Buttons option page *** 739657 LogOptions changed, now 40000000 00000001 744016 *** Entered Buttons option page *** 744500 FirstButtonchange res=00000224 (0.2, 36) 745188 FirstButtonchange res=00000220 (0.2, 32) 745657 FirstButtonchange res=00000224 (0.2, 36) 746094 FirstButtonchange res=00000220 (0.2, 32) 746422 FirstButtonchange res=00000224 (0.2, 36) 750813 FirstButtonchange res=00000224 (0.2, 36) 752454 FirstButtonchange res=00000220 (0.2, 32) 752500 FirstButtonchange res=00000227 (0.2, 39) 752657 FirstButtonchange res=00000226 (0.2, 38) 752938 FirstButtonchange res=00000224 (0.2, 36) 753422 FirstButtonchange res=00000220 (0.2, 32) 753766 FirstButtonchange res=00000224 (0.2, 36) 754079 FirstButtonchange res=00000220 (0.2, 32) 754344 FirstButtonchange res=00000224 (0.2, 36) 754657 FirstButtonchange res=00000220 (0.2, 32) 754922 FirstButtonchange res=00000224 (0.2, 36) 755157 FirstButtonchange res=00000220 (0.2, 32) 755407 FirstButtonchange res=00000224 (0.2, 36) 756563 *** Exiting Buttons option page *** 766688 C:\Users\Eric\Documents\Flight Simulator X Files\VFR Wellington Intl to Magenta.PLN 822672 *** Entered Buttons option page *** 825063 FirstButtonchange res=00000226 (0.2, 38) 826282 FirstButtonchange res=00000226 (0.2, 38) 826657 FirstButtonchange res=00000226 (0.2, 38) 826875 FirstButtonchange res=00000226 (0.2, 38) 827110 FirstButtonchange res=00000226 (0.2, 38) 827344 FirstButtonchange res=00000226 (0.2, 38) 827625 FirstButtonchange res=00000226 (0.2, 38) 828516 FirstButtonchange res=00000222 (0.2, 34) 829000 FirstButtonchange res=00000226 (0.2, 38) 829391 FirstButtonchange res=00000224 (0.2, 36) 829797 FirstButtonchange res=00000220 (0.2, 32) 830141 FirstButtonchange res=00000224 (0.2, 36) 830438 FirstButtonchange res=00000220 (0.2, 32) 830750 FirstButtonchange res=00000224 (0.2, 36) 831282 FirstButtonchange res=00000222 (0.2, 34) 831844 FirstButtonchange res=00000226 (0.2, 38) 834579 *** Exiting Buttons option page *** 844266 C:\Users\Eric\Documents\Flight Simulator X Files\VFR Wellington Intl to Magenta.PLN 903125 *** Entered Buttons option page *** 906094 Aircraft="Flight Test Aircraft E1" 908047 FirstButtonchange res=00000226 (0.2, 38) 918985 FirstButtonchange res=00000224 (0.2, 36) 919782 FirstButtonchange res=00000220 (0.2, 32) 920485 FirstButtonchange res=00000222 (0.2, 34) 921032 FirstButtonchange res=00000226 (0.2, 38) 921500 FirstButtonchange res=00000222 (0.2, 34) 921844 FirstButtonchange res=00000224 (0.2, 36) 922282 FirstButtonchange res=00000220 (0.2, 32) 922657 FirstButtonchange res=00000224 (0.2, 36) 923094 FirstButtonchange res=00000222 (0.2, 34) 923579 FirstButtonchange res=00000226 (0.2, 38) 923985 FirstButtonchange res=00000222 (0.2, 34) 924422 FirstButtonchange res=00000224 (0.2, 36) 924813 FirstButtonchange res=00000220 (0.2, 32) 925235 FirstButtonchange res=00000224 (0.2, 36) 928032 FirstButtonchange res=00000308 (0.3, 8) 929813 FirstButtonchange res=0000030A (0.3, 10) 930563 FirstButtonchange res=00000308 (0.3, 8) 930938 FirstButtonchange res=0000030B (0.3, 11) 931266 FirstButtonchange res=00000309 (0.3, 9) 931813 FirstButtonchange res=00000303 (0.3, 3) 940813 FirstButtonchange res=00000302 (0.3, 2) 964813 *** Exiting Buttons option page *** 967735 KEYDOWN: VK=13, Waiting=0, Repeat=N, Shifts=4 967735 .. Key not programmed -- passed on to FS 973297 KEYUP: VK=13, Waiting=0 973297 KEYUP: VK=18, Waiting=0 988485 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 988485 .. Key not programmed -- passed on to FS 988735 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=1 988735 .. Key not programmed -- passed on to FS 988829 KEYUP: VK=90, Waiting=0 988922 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=1 988922 .. Key not programmed -- passed on to FS 989079 KEYUP: VK=90, Waiting=0 989079 KEYUP: VK=16, Waiting=0 989438 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 989438 .. Key not programmed -- passed on to FS 989625 KEYDOWN: VK=83, Waiting=0, Repeat=N, Shifts=2 989625 .. Key not programmed -- passed on to FS 989829 KEYUP: VK=83, Waiting=0 991032 KEYDOWN: VK=84, Waiting=0, Repeat=N, Shifts=2 991032 .. Key not programmed -- passed on to FS 991125 KEYUP: VK=84, Waiting=0 991235 KEYUP: VK=17, Waiting=0 1002485 Button changed: bRef=0, Joy=2 (B), Btn=13, Pressed 1002485 [buttons] 3=PB,13,C65759,0 1002485 FS Control Sent: Ctrl=65759, Param=0 1002625 Button changed: bRef=0, Joy=2 (B), Btn=13, Released 1025672 Button changed: bRef=0, Joy=2 (B), Btn=5, Pressed 1025672 [buttons] 1=PB,5,K71,8 1025672 SendKeyToFS(00000047=[G], KEYDOWN) ctr=0 1025672 Sending WM_KEYDOWN, Key=71 (Scan code 34), Ctr=1 1025719 KEYDOWN: VK=71, Waiting=0, Repeat=N, Shifts=0 1025719 .. Key not programmed -- passed on to FS 1025782 SendKeyToFS(00000047=[G], KEYUP) ctr=0 1025797 Sending WM_KEYUP, Key=71 (Scan code 34), Ctr=1 1025829 KEYUP: VK=71, Waiting=0 1025891 Button changed: bRef=0, Joy=2 (B), Btn=5, Released 1025891 [buttons] 1=PB,5,K71,8 1034938 Button changed: bRef=0, Joy=3 ©, Btn=12, Pressed 1034938 [buttons] 6=PC,12,K51,11 1034938 SendKeyToFS(00060033=[ctl+shft+3], KEYDOWN) ctr=0 1034938 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=3 1034938 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=3 1034954 Sending WM_KEYDOWN, Key=51 (Scan code 4), Ctr=1 1034985 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 1034985 .. Key not programmed -- passed on to FS 1034985 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=3 1034985 .. Key not programmed -- passed on to FS 1034985 KEYDOWN: VK=51, Waiting=0, Repeat=N, Shifts=3 1034985 .. Key not programmed -- passed on to FS 1035047 SendKeyToFS(00060033=[ctl+shft+3], KEYUP) ctr=0 1035047 Sending WM_KEYUP, Key=51 (Scan code 4), Ctr=3 1035063 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=2 1035063 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=2 1035094 KEYUP: VK=51, Waiting=0 1035094 KEYUP: VK=17, Waiting=0 1035094 KEYUP: VK=16, Waiting=0 1035141 Button changed: bRef=0, Joy=3 ©, Btn=12, Released 1035141 [buttons] 6=PC,12,K51,11 .... Link to comment Share on other sites More sharing options...
georgefitz Posted January 29, 2013 Report Share Posted January 29, 2013 Pete, ok, I've tested version 3, but it did not help. however, someone mentioned that there is another delete key associated with the num pad (which I don't have) it is the num. key which has a key value of 110. I have program a button number 26 as: 42=P0,26,K110,9 and button 0 as: 55=P0,0,K46,9 Button 26 works properly sending the "shift+delete" command, but button 0 still send just a "delete" command. Key log is below, but as far as I can tell the same spurious KEYUP: VK=16 Waiting=0 occurs in both situation. I don't have a clue why shift + Num. send shift + delete but shift + delete send just delete. I still believe it has something to do with the fact that FSX doesn't use the delete key although it does use the shift + Num Pad Delete (.) as a view command: Look (reset to forward view). And I might also wonder why shift + Num. doesn't send the Look command rather than the VRS TacPac Undesignate command? In any case, I appreciate all your help in this matter. Should I go back to using the original version of FSUIPC 4.859? thanks George ********* FSUIPC4, Version 4.859t by Pete Dowson ********* Running inside FSX on Windows 7 Module base=62800000 User Name="George Fitzgerald" User Addr="gbfitzgerald@comcast.net" FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 234 System time = 29/01/2013 16:31:58 234 FLT path = "C:\Users\george\Documents\Flight Simulator X Files\" 265 Trying to connect to SimConnect Acc/SP2 Oct07 ... 281 FS path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 593 LogOptions=00000000 00000001 593 SIM1 Frictions access gained 608 Wind smoothing fix is fully installed 608 G3D.DLL fix attempt installed ok 608 SimConnect_Open succeeded: waiting to check version okay 608 Trying to use SimConnect Acc/SP2 Oct07 2902 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0) 2902 Initialising SimConnect data requests now 2902 FSUIPC Menu entry added 2917 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\FLIGHTS\OTHER\FLTSIM.FLT 2917 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR 18236 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\VRS_FA-18E\FA-18E-6.8_SE.AIR 18236 Weather Mode now = Theme 18236 c:\users\george\documents\flight simulator x files\vrs nantuck sound.FLT 32698 System time = 29/01/2013 16:32:30, Simulator time = 14:19:46 (19:19Z) 32713 Aircraft="Flight Test Aircraft E1" 38298 Starting everything now ... 39702 Advanced Weather Interface Enabled 134332 Sim stopped: average frame rate for last 97 secs = 33.3 fps 143302 LogOptions changed, now 40000000 00000001 143318 [buttons] now profile-specific: 143318 3=P1,8,K187,8 143318 4=P1,1,C66244,0 143318 9=P1,9,K189,8 143318 21=P1,10,K8,8 143318 22=P1,11,K32,10 147951 Button changed: bRef=0, Joy=0, Btn=15, Pressed 147951 [buttons.Flight Test Aircraft E1] 39=P0,15,K38,10 147951 SendKeyToFS(00020026=[ctl+Up], KEYDOWN) ctr=0 147951 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2 147967 Sending WM_KEYDOWN, Key=38 (Scan code 72), Ctr=1 147967 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2 147967 .. Key not programmed -- passed on to FS 147967 KEYDOWN: VK=38, Waiting=0, Repeat=N, Shifts=2 147967 .. Key not programmed -- passed on to FS 148076 SendKeyToFS(00020026=[ctl+Up], KEYUP) ctr=0 148076 Sending WM_KEYUP, Key=38 (Scan code 72), Ctr=2 148092 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=1 148092 KEYUP: VK=38, Waiting=0 148092 KEYUP: VK=17, Waiting=0 148170 Button changed: bRef=0, Joy=0, Btn=15, Released 148170 [buttons.Flight Test Aircraft E1] 39=P0,15,K38,10 152569 Button changed: bRef=0, Joy=0, Btn=0, Pressed 152569 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 152569 SendKeyToFS(0004002E=[shft+Del], KEYDOWN) ctr=0 152569 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 152585 Sending WM_KEYDOWN, Key=46 (Scan code 83), Ctr=1 152600 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 152600 .. Key not programmed -- passed on to FS 152600 KEYUP: VK=16, Waiting=0, Spurious so ignored! 152600 KEYDOWN: VK=46, Waiting=0, Repeat=N, Shifts=0 152600 .. Key not programmed -- passed on to FS 152678 SendKeyToFS(0004002E=[shft+Del], KEYUP) ctr=0 152678 Sending WM_KEYUP, Key=46 (Scan code 83), Ctr=2 152694 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 152694 KEYUP: VK=46, Waiting=0 152694 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 152694 .. Key not programmed -- passed on to FS 152694 KEYUP: VK=16, Waiting=0 152865 Button changed: bRef=0, Joy=0, Btn=0, Released 152865 [buttons.Flight Test Aircraft E1] 55=P0,0,K46,9 157998 Button changed: bRef=0, Joy=0, Btn=7, Pressed 157998 [buttons.Flight Test Aircraft E1] 29=P0,7,K90,8 157998 SendKeyToFS(0000005A=[Z], KEYDOWN) ctr=0 157998 Sending WM_KEYDOWN, Key=90 (Scan code 44), Ctr=1 158029 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=0 158029 .. Key not programmed -- passed on to FS 158107 SendKeyToFS(0000005A=[Z], KEYUP) ctr=0 158107 Sending WM_KEYUP, Key=90 (Scan code 44), Ctr=1 158138 KEYUP: VK=90, Waiting=0 158232 Button changed: bRef=0, Joy=0, Btn=7, Released 158232 [buttons.Flight Test Aircraft E1] 29=P0,7,K90,8 162319 Button changed: bRef=0, Joy=0, Btn=26, Pressed 162319 [buttons.Flight Test Aircraft E1] 42=P0,26,K110,9 162319 SendKeyToFS(0004006E=[shft+Num.], KEYDOWN) ctr=0 162319 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 162335 Sending WM_KEYDOWN, Key=110 (Scan code 83), Ctr=1 162335 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 162335 .. Key not programmed -- passed on to FS 162335 KEYUP: VK=16, Waiting=0, Spurious so ignored! 162335 KEYDOWN: VK=110, Waiting=0, Repeat=N, Shifts=0 162335 .. Key not programmed -- passed on to FS 162444 SendKeyToFS(0004006E=[shft+Num.], KEYUP) ctr=0 162444 Sending WM_KEYUP, Key=110 (Scan code 83), Ctr=2 162459 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 162475 KEYUP: VK=110, Waiting=0 162475 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 162475 .. Key not programmed -- passed on to FS 162475 KEYUP: VK=16, Waiting=0 162662 Button changed: bRef=0, Joy=0, Btn=26, Released 162662 [buttons.Flight Test Aircraft E1] 42=P0,26,K110,9 168762 KEYDOWN: VK=27, Waiting=0, Repeat=N, Shifts=0 168762 .. Key not programmed -- passed on to FS 168949 Sim stopped: average frame rate for last 25 secs = 38.1 fps 177872 C:\Users\george\AppData\Roaming\Microsoft\FSX\Previous flight.FLT Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 30, 2013 Report Share Posted January 30, 2013 This is my log with your t3, with the new lua 1.04. However during the test I kept one button for "FSUIPC direct input" for shift + del besides the ones for shift + the 4 arrows. Meaning with one button I use for shift + del the lua programmation and with another one I use the fsuipc direct programmation Sorry, but you've still lost me with this. I don't understand any of what you say. All I really need to know is what IS the problem? In the log you provide I've no idea wehat is supposed to be happening and what is wrong because i don't see any Buttons assigned to send ketystrokes. If you are sending them from a Lua plug-in I need to see what you are actually doing there at each stage in your log. The sequences which include Shift seem to be fine. For instance, here you have Shift pressed whilst 'Z' is pressed and released twice giving two Shift+Z's. 988485 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 988485 .. Key not programmed -- passed on to FS 988735 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=1 988735 .. Key not programmed -- passed on to FS 988829 KEYUP: VK=90, Waiting=0 988922 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=1 988922 .. Key not programmed -- passed on to FS 989079 KEYUP: VK=90, Waiting=0 989079 KEYUP: VK=16, Waiting=0 Here's a case of an actual button pressed, programmed to send Ctrl+Shift+3: 1034938 Button changed: bRef=0, Joy=3 ©, Btn=12, Pressed 1034938 [buttons] 6=PC,12,K51,11 1034938 SendKeyToFS(00060033=[ctl+shft+3], KEYDOWN) ctr=0 1034938 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=3 1034938 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=3 1034954 Sending WM_KEYDOWN, Key=51 (Scan code 4), Ctr=1 1034985 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 1034985 .. Key not programmed -- passed on to FS 1034985 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=3 1034985 .. Key not programmed -- passed on to FS 1034985 KEYDOWN: VK=51, Waiting=0, Repeat=N, Shifts=3 1034985 .. Key not programmed -- passed on to FS 1035047 SendKeyToFS(00060033=[ctl+shft+3], KEYUP) ctr=0 1035047 Sending WM_KEYUP, Key=51 (Scan code 4), Ctr=3 1035063 Sending WM_KEYUP, Key=17 (Control) (Scan code 29), Ctr=2 1035063 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=2 1035094 KEYUP: VK=51, Waiting=0 1035094 KEYUP: VK=17, Waiting=0 1035094 KEYUP: VK=16, Waiting=0 1035141 Button changed: bRef=0, Joy=3 ©, Btn=12, Released and that all went perfectly too. Everything looks as if it worked exactly correctly, so I am at a loss to know what your problem really is. Can you explain at all? Regards Pete Link to comment Share on other sites More sharing options...
Sagal Posted January 31, 2013 Author Report Share Posted January 31, 2013 I have redone a log but it is still 3000 lines. Tripod at VRS forum found what the issue was: it seems that "Num Lock" on is interfering with FSUIPC4. I have effectively tested (but with the throttle buttons programmed with the lua file) that in the same flight if I unselect Num Lock then the programmed keys corresponding to "shift" + "Arrow up" or "Arrow down" are working as they should do (i.e. as I can observe by pressing myself these keys on the keyboard). I'm talking about the arrows outside of the Numpad (althought what Tripod observed was the arrows in the Numpad). It would be great if you can fix that in the next version of FSUIPC4. Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 1, 2013 Report Share Posted February 1, 2013 I have redone a log but it is still 3000 lines. But you only needed to extract the parts from where you initiated the action which goes wrong, and where it finished. And I am still completely unclear on what your problem is, because you never really explained it. I thought the problem was the same as the second poster, "georgefitz", but if so I was only waiting for your confirmation that the work-around I included in 4.859t_Test3 worked for you too. Tripod at VRS forum found what the issue was: it seems that "Num Lock" on is interfering with FSUIPC4. In what way can a Key interfere with FSUIPC? I have effectively tested (but with the throttle buttons programmed with the lua file) that in the same flight if I unselect Num Lock then the programmed keys corresponding to "shift" + "Arrow up" or "Arrow down" are working as they should do (i.e. as I can observe by pressing myself these keys on the keyboard). I'm talking about the arrows outside of the Numpad (althought what Tripod observed was the arrows in the Numpad).It would be great if you can fix that in the next version of FSUIPC4. I don't know what you think is wrong. FSUIPC is just working with what Microsoft calls "Virtual Keycodes". The keycodes used are listed in the Advanced Users manual, and the list is a direct copy of MS's dcumentation for these. What other ways do you feel there are of sendng keypresses other than by the keycodes? Those are the parameters used in the WM_KEYDOWN and WM_KEYUP messages. There are no altrernatives. You'll need to explain still, I'm afraid. Regards Pete Link to comment Share on other sites More sharing options...
Glenn Weston Posted February 1, 2013 Report Share Posted February 1, 2013 Hello Once again Pete, I will Jump in here as I think I now understand what the problem is that is being reported. I am really not sure if it can at all be fixed by changes in FSUIPC but maybe there could be some type of work around put together. First up , I am the Author of the "SuperScript_VRS" Lua script that has actually been posted in the user contributions forum and also known on the VRS Forums as Tripod, so thats how I am involved. The Script that I wrote for the VRS Superbug was written as a one stop shop to control all the switches and knobs in the aircraft, it also includes the full Keyboard Shortcut reference that is supplied by VRS. So in my script I have a list of "if ipcPARAM ==" statements that carry out the "ipc.keypress" commands that relate to their Key Command Shortcuts. I have found that the particular Key Codes that I am calling with reference to the FSUIPC for Advanced Users guide are being affected by the status of the NUMLOCK key and looking at the table I would have thought the NUMLOCK key would not have any affect. Here is a snippet from my script where the problem occurrs: --Radar Elev Upif ipcPARAM == 4003 thenipc.keypress (38,1)end--Radar Elev Downif ipcPARAM == 4004 thenipc.keypress (40,1)end--Radar Azm Leftif ipcPARAM == 4005 thenipc.keypress (37,1)end--Radar Azm Rightif ipcPARAM == 4006 thenipc.keypress (39,1)end[/CODE]So what is happening is that if the NUMLOCK is OFF the the SHIFT is recognised OK, but if the NUMLOCK is ON then the SHIFT is ignored completely.It's almost as though the Key Codes being used are for the Keys on the NUMBER PAD and not for the individual ARROW keys next to the PAD as I, and others have thought.I have confirmed with Georgefitz that he is not using my Lua script at all, but trying to use the key codes via Macro's and getting the same results.Are there any other Key Codes available for the Individual Arrow keys or are we stuck with this problem, or is there a way that we can programattically make sure NUMLOCK is in an OFF state when sending the Key Code and then return it to it's previous state.I would appreciate any help you can Provide, Thanks Pete.Regards Glenn. Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 1, 2013 Report Share Posted February 1, 2013 Hello Once again Pete, I will Jump in here as I think I now understand what the problem is that is being reported. I am really not sure if it can at all be fixed by changes in FSUIPC but maybe there could be some type of work around put together.mand Shortcuts. ... So what is happening is that if the NUMLOCK is OFF the the SHIFT is recognised OK, but if the NUMLOCK is ON then the SHIFT is ignored completely. Actually, that is not the case. What is happening is exactly as depicted in the helpful logs provided by "georgefitz". His information along with your explanation about NUM LOCK has enabled me to reproduce it simply. If only someone had bothered to show me a log extract with the test version I made (4.859t_test3) then things would have been clearer sooner! I don't know why it is so difficult to get folks who have problems to run test versions and submit data. Here's what I get for a button programmed to send "Shift+Up" when NUM LOCK is on: 288337 [Buttons] 522=P175,0,K38,9288337 SendKeyToFS(00040026=[shft+Up], KEYDOWN) ctr=0288337 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000001}288337 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2288352 Sending WM_KEYDOWN, Key=38 (Scan code 72), Ctr=1288383 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1288383 .. Key not programmed -- passed on to FS288399 KEYUP: VK=16, Waiting=0, Spurious so ignored!288399 KEYDOWN: VK=38, Waiting=0, Repeat=N, Shifts=0288399 .. Key not programmed -- passed on to FS288399 *** EVENT: Cntrl= 65608 (0x00010048), Param= 0 (0x00000000) ELEV_DOWN288461 SendKeyToFS(00040026=[shft+Up], KEYUP) ctr=0288461 Sending WM_KEYUP, Key=38 (Scan code 72), Ctr=2288477 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1288493 KEYUP: VK=38, Waiting=0[/CODE]You'll see the unwanted KEYUP arriving before the second KEYDOWN (the one for the Up key. With the Test3 version I supplied, this is detected as Spurious (as logged) and therefore not passed on. However, one thing I failed to recognise, until now I could reproduce it and get my own log, is that the "Shifts" flag is then not set on the KEYDOWN for the "Up" keycode.I don't know i it will help if I make my code add in the correct Shifts flag on this message. It looks like it depends on how the intended recipient detects the "Shift+Up" combination. FSUIPC does it by noting arrivals of KEYDOWNs for the shifts it supports (not only Shift, Ctrl, Alt, but also Tab, Windows and Menu). But if the recipient ignored the KEYDOWN for the Shift and only takes note of the flag setting, I can see why the above sequence is still a problem.Are there any other Key Codes available for the Individual Arrow keysThe keycodes you are using are the ones produced by the separate cursor keys AND also the cursor keys on the NUMPAD when NumLock is off. I've no idea what in Windows is doing this strange thing with the Shift. I can see no purpose in it, no rhyme nor reason.I would appreciate any help you can Provide.I'll see if I can deal with the Shifts flag, and if so I'll post a Test4 version here. It'll need testing with a recipient add-on which needs these keys programmed. I don't think I have anything to test the results with here -- all my programs process the KEYDOWNs not the Shift flags.If i post a test version I'll need feedback and log extracts pretty quickly, please. i am planning on releasing 486 Sunday or Monday and I am going away on holiday later in the week.[ADDED LATER]Ouch. Looking at my logging code I realise the "Shifts" flag logged by FSUIPC is my owe interpretation of the Key States in any case, not part of the message itself. Seems I may need to did deeper ... probably need to experiment a little.RegardsPete Link to comment Share on other sites More sharing options...
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