mikan173 Posted May 8 Report Share Posted May 8 Hello, I am having a strange behavior when trying to use conditionals on buttons. I mapped my pov hat to WASD to control camera horizontally and set up conditions in the ini file so that when trigger button is pressed, the pov hat controls vertical movements instead (Q and Space). However I noticed some issues here as shown in the video. It seems like after I release everything the Q button is still being pressed. If I switch to another window and switch back the input will stop. https://imgur.com/a/vtsoqEf Steps to reproduce: Move pov hat down -> press trigger -> release trigger -> release pov hat. If I release pov hat before releasing the trigger everything works fine. Part of my config file: [Buttons] PollInterval=25 ButtonRepeat=20,10 1=CR(-B,0)B,36,K83,8 -{Key press: S}- 2=CR(+B,0)B,36,K81,8 -{Key press: Q}- Thanks! FSUIPC7.ini Quote Link to comment Share on other sites More sharing options...
John Dowson Posted May 9 Report Share Posted May 9 On 5/8/2022 at 11:14 AM, mikan173 said: Steps to reproduce: Move pov hat down -> press trigger -> release trigger -> release pov hat. This is incorrect and should be: press trigger -> Move pov hat down -> release pov hat -> release trigger i.e. you should set the trigger button before you activate the button to which the trigger applies. Activating the trigger once a repeat assignment has been activated on the non-triggered assignment is going to cause issues - you just shouldn't do this. I don't think there is anything I can do about this, due to the way repeat assignments are implemented. It has been this way for many years and this is not something that I think is worth looking into - just use the trigger in the correct order. John Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.