Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.