Jump to content
The simFlight Network Forums

pilotjohn

Members
  • Posts

    383
  • Joined

  • Last visited

  • Days Won

    3

pilotjohn last won the day on December 24 2020

pilotjohn had the most liked content!

Profile Information

  • Gender
    Not Telling
  • Location
    US

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

pilotjohn's Achievements

Contributor

Contributor (5/14)

  • Dedicated Rare
  • Reacting Well Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges

5

Reputation

  1. EDITED: It works! So I have the following in myevents.txt: COWS_DA42_Aileron#$Param -163.84 / -100 max 100 min (>L:INPUT_AILERON, Percent) COWS_DA42_Elevator#$Param -163.84 / -100 max 100 min (>L:INPUT_ELEVATOR, Percent) COWS_DA42_Rudder#$Param -163.84 / -100 max 100 min (>L:INPUT_RUDDER, Percent) I then assigned controls as follows: This now works.
  2. Can I use the values at offset 0x3328 etc.? Are these the calibrated values that FSUIPC would be sending for elevator etc. control?
  3. Is there any way to apply the calibration (which is helpful for idle detent and the slopes I'm used to)?
  4. Thanks, I'll try this. This will not use the calibration, correct?
  5. So some interesting observations: 1. Before making any changes, I tried to use an Xbox controller on default settings/mappings in MSFS. This works in the aircraft (stick moves). 2. If I turn on logging (Events, Input Events, Axes Control) it shows AXIS_AILERON_SET when moving the controller. 3. If I change FSUIPC set up to "Send to FS as normal axis" as AXIS_AILERON_SET for my Yoko+, it doesn't work and the Xbox controller also stops working. 4. As soon as I go back to "Send direct to FSUIPC", the Xbox controller starts working again. 5. The rudders seem to work with FSUIPC, but start "resetting 0 position" above a certain speed, and Xbox controller rudders do not work.
  6. I'm using FSUIPC exclusively for control setup with "Send direct to FSUIPC Calibration". This has been working great for all planes (and I have custom profiles for the few that are "special"), except I can't seem to get it to work on the COWS DA42. Rudder control partially works. It appears to move in the cockpit view, but if there's no constant input change they "recenter". Elevator and aileron controls don't work at all, and the stick in the cockpit doesn't move. Throttles work fine. Ultimately I can't rotate to take off.
  7. That seems to have resolved it, thanks.
  8. I have an ipcReady.lua in the FSUIPC folder which triggers an event on aircraft changes (to change some StreamDecks around). However, the ipcReady lua doesn't seem to be loaded with the latest version of the sim. Attached is a log file. Am I missing something? It worked on the previous version of the sim. FSUIPC7.zip
  9. Yep, tested also, it works fine. Thanks for the suggestion.
  10. Tested this. It works correctly now. Thanks for the fix.
  11. Shouldn't this also just work by sending to FSUIPC for calibration then (without exclude mixture set)?
  12. I see what you're doing ... yes this works well. I set it up with a range and that worked also, but this is better, thanks. It's a little confusing, since I'm not sending it to calibration, but calibration is still being applied, right? The minimum calibration seems to be working fine. [Axes] RangeRepeatRate=10 0=CX,16,D,3,0,0,0 -{ DIRECT: Rudder }- 1=CU,16,D,7,0,0,0 -{ DIRECT: LeftBrake }- 2=CV,16,D,8,0,0,0 -{ DIRECT: RightBrake }- 3=EX,16,D,9,0,0,0 -{ DIRECT: Throttle1 }- 4=EY,16,D,10,0,0,0 -{ DIRECT: Throttle2 }- 5=EZ,16,D,17,0,0,0 -{ DIRECT: PropPitch1 }- 6=EU,16,D,18,0,0,0 -{ DIRECT: PropPitch2 }- 7=EV,16,F,65919,0,0,0 -{ TO SIM: MIXTURE1_SET }- 8=DX,16,D,1,0,0,0 -{ DIRECT: Aileron }- 9=DY,16,D,2,0,0,0 -{ DIRECT: Elevator }- [JoystickCalibration] AllowSuppressForPFCquad=Yes ExcludeThrottleSet=Yes ExcludeMixtureSet=No ExcludePropPitchSet=Yes SepRevsJetsOnly=No ApplyHeloTrim=No UseAxisControlsForNRZ=No MapThr12to34=Yes MapProp12to34=Yes MapMix12to34=Yes 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 RudderBlendLowest=1 Aileron=-16256,-31,31,16256 SlopeAileron=2 Elevator=-16256,-15,15,16256 SlopeElevator=1 Rudder=-16256,-63,63,16256 SlopeRudder=4 LeftBrake=-16256,16256/16 RightBrake=-16256,16256/16 Throttle1=-15548,-2812,184,16169 Throttle2=-16052,-2883,243,16195 Mixture1=-10541,-10541,-9116,16079/32 Mixture2=-16248,-11357,-9004,16159/32 PropPitch1=-16184,-11037,-9196,15991 PropPitch2=-16184,-11357,-9581,16015 Here's the log: 922062 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -256 (0xffffff00) AXIS_AILERONS_SET 922125 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -249 (0xffffff07) AXIS_AILERONS_SET 925000 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -256 (0xffffff00) AXIS_AILERONS_SET 925031 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 16369 (0x00003ff1) MIXTURE1_SET 925062 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 16241 (0x00003f71) MIXTURE1_SET 925062 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 16068 (0x00003ec4) MIXTURE1_SET 925093 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -249 (0xffffff07) AXIS_AILERONS_SET 925093 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 15857 (0x00003df1) MIXTURE1_SET 925109 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 15606 (0x00003cf6) MIXTURE1_SET 925156 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 15310 (0x00003bce) MIXTURE1_SET 925171 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 14970 (0x00003a7a) MIXTURE1_SET 925203 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 14596 (0x00003904) MIXTURE1_SET 925234 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 14207 (0x0000377f) MIXTURE1_SET 925234 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 13808 (0x000035f0) MIXTURE1_SET 925265 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 13400 (0x00003458) MIXTURE1_SET 925281 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 12986 (0x000032ba) MIXTURE1_SET 925312 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 12577 (0x00003121) MIXTURE1_SET 925328 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -256 (0xffffff00) AXIS_AILERONS_SET 925328 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 12174 (0x00002f8e) MIXTURE1_SET 925375 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 11760 (0x00002df0) MIXTURE1_SET 925390 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 11352 (0x00002c58) MIXTURE1_SET 925421 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -249 (0xffffff07) AXIS_AILERONS_SET 925421 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 10948 (0x00002ac4) MIXTURE1_SET 925453 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 10549 (0x00002935) MIXTURE1_SET 925468 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 10155 (0x000027ab) MIXTURE1_SET 925500 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 9762 (0x00002622) MIXTURE1_SET 925500 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 9373 (0x0000249d) MIXTURE1_SET 925531 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 8979 (0x00002313) MIXTURE1_SET 925546 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 8585 (0x00002189) MIXTURE1_SET 925578 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 8196 (0x00002004) MIXTURE1_SET 925593 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 7807 (0x00001e7f) MIXTURE1_SET 925625 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 7423 (0x00001cff) MIXTURE1_SET 925640 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -256 (0xffffff00) AXIS_AILERONS_SET 925656 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 7039 (0x00001b7f) MIXTURE1_SET 925671 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 6655 (0x000019ff) MIXTURE1_SET 925703 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 6271 (0x0000187f) MIXTURE1_SET 925734 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -249 (0xffffff07) AXIS_AILERONS_SET 925734 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 5891 (0x00001703) MIXTURE1_SET 925750 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 5522 (0x00001592) MIXTURE1_SET 925765 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 5152 (0x00001420) MIXTURE1_SET 925796 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 4802 (0x000012c2) MIXTURE1_SET 925812 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 4462 (0x0000116e) MIXTURE1_SET 925843 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 4137 (0x00001029) MIXTURE1_SET 925875 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 3837 (0x00000efd) MIXTURE1_SET 925890 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 3556 (0x00000de4) MIXTURE1_SET 925921 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 3305 (0x00000ce9) MIXTURE1_SET 925937 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 3073 (0x00000c01) MIXTURE1_SET 925968 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 2857 (0x00000b29) MIXTURE1_SET 925984 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 2645 (0x00000a55) MIXTURE1_SET 926015 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 2443 (0x0000098b) MIXTURE1_SET 926031 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 2241 (0x000008c1) MIXTURE1_SET 926062 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 2053 (0x00000805) MIXTURE1_SET 926093 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 1866 (0x0000074a) MIXTURE1_SET 926109 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 1679 (0x0000068f) MIXTURE1_SET 926140 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 1472 (0x000005c0) MIXTURE1_SET 926156 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 1275 (0x000004fb) MIXTURE1_SET 926171 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 1088 (0x00000440) MIXTURE1_SET 926187 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 926 (0x0000039e) MIXTURE1_SET 926234 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 783 (0x0000030f) MIXTURE1_SET 926250 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 669 (0x0000029d) MIXTURE1_SET 926281 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 576 (0x00000240) MIXTURE1_SET 926296 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 497 (0x000001f1) MIXTURE1_SET 926328 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 438 (0x000001b6) MIXTURE1_SET 926359 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 398 (0x0000018e) MIXTURE1_SET 926375 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 388 (0x00000184) MIXTURE1_SET 927656 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 379 (0x0000017b) MIXTURE1_SET 928781 *** AXIS: Cntrl= 65764 (0x000100e4), Param= 96 (0x00000060) AXIS_RUDDER_SET 928875 *** AXIS: Cntrl= 65764 (0x000100e4), Param= 79 (0x0000004f) AXIS_RUDDER_SET 930296 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 369 (0x00000171) MIXTURE1_SET 930375 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 359 (0x00000167) MIXTURE1_SET 930453 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 349 (0x0000015d) MIXTURE1_SET 930500 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 339 (0x00000153) MIXTURE1_SET ... wait a few seconds to cut off ... 930531 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 295 (0x00000127) MIXTURE1_SET 930546 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 201 (0x000000c9) MIXTURE1_SET 930578 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 59 (0x0000003b) MIXTURE1_SET 930593 *** AXIS: Cntrl= 65919 (0x0001017f), Param= 0 (0x00000000) MIXTURE1_SET
  13. Thanks... this would be great if it could act more "atomic". Please let me know if you need to me test. I see, since this doesn't update the offset area, it would have to come from the sim, which shouldn't happen while button processing is happening? I'll take a look at this functionality (haven't used it in the past). So I have to have both the offset mechanism to read the state and use it in the conditional, and the macro to execute the change,
  14. I hate to come with more support requests, but here it goes... 🙂 I'm trying to use an LVar to toggle a switch in the Kodiak (XMLVAR_AUX_Bus_ON to either 0 or 1). I'm moving this into an offset, and then using conditionals to set them based on their current state. [LvarOffsets] 1=L:XMLVAR_AUX_Bus_ON=UB0xA000 [Buttons] 10=BA000=0 P64,8,Cx0100A000,x01 -{offset byte set, offset A000}- 11=BA000>0 P64,8,Cx0100A000,x00 -{offset byte set, offset A000}- The challenge seems to be that after #10, when A000 is set to 1, #11 tests TRUE and immediately sets it back to 0. Here it is turning it off (from an on state): 1206718 Monitor IPC:A000 (U8) = 1 1210562 Button changed: bRef=0, Joy=64, Btn=8, Pressed 1210562 [Buttons.Kodiak 100 cargo pod, Factory paint A4] 10=BA000=0 P64,8,Cx0100A000,x01 1210562 .... Offset check: xA000/1 = 0? (1), Result = FALSE 1210562 [Buttons.Kodiak 100 cargo pod, Factory paint A4] 11=BA000>0 P64,8,Cx0100A000,x00 1210562 .... Offset check: xA000/1 > 0? (1), Result = TRUE 1210562 IPC Offsets Control: Ctrl=x0100, Length=1, Offset=A000, Param=x0 1210562 Monitor IPC:A000 (U8) = 0 1210687 Button changed: bRef=0, Joy=64, Btn=8, Released And here it is trying to turn it back on (when it's in an off state): 1298265 Button changed: bRef=0, Joy=64, Btn=8, Pressed 1298265 [Buttons.Kodiak 100 cargo pod, Factory paint A4] 10=BA000=0 P64,8,Cx0100A000,x01 1298265 .... Offset check: xA000/1 = 0? (0), Result = TRUE 1298265 IPC Offsets Control: Ctrl=x0100, Length=1, Offset=A000, Param=x1 1298265 [Buttons.Kodiak 100 cargo pod, Factory paint A4] 11=BA000>0 P64,8,Cx0100A000,x00 1298265 .... Offset check: xA000/1 > 0? (1), Result = TRUE 1298265 IPC Offsets Control: Ctrl=x0100, Length=1, Offset=A000, Param=x0 1298296 Button changed: bRef=0, Joy=64, Btn=8, Released Notice that both conditions are true, which shouldn't be (per a previous thread). Here's a previous post where I ran into this, but that was resolved through some other means (e.g. an update to variable offsets). Any thoughts? There are some other LVars that are multi-state that I'd like to do this for as well, while keeping the sim state together with the button action (which is why button flags don't work). Thanks, John
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.