Ghost inputs

Please tag your post with #pc and/or #xbox.
pc
Are you on Steam or Microsoft Store version?
Microsoft Store
Do you have any add-ons in your Community folder? If yes, please remove and retest before posting.
No.
Are you using Developer Mode or made changes in it?
no
Brief description of the issue:
I am getting random joystick inputs. I have tried monitoring the joystick on windows and it doesn’t show any activity but in MSFS it shows some. Generally they happen with the last used buttons. For example, if I click a button to change view slightly, after a few minutes the sim will do that action again. I tried using the same joystick with other games and it doesn’t happen, only with MSFS. Please help.

Provide Screenshot(s)/video(s) of the issue encountered:
It is not possible to take screenshots of the event. They are just random inputs that happen very quickly.
Detail steps to reproduce the issue encountered:
Flying around I get these little button inputs.
PC specs for those who want to assist (if not entered in your profile)
i7 10700F + 3060ti + CH eclipse yoke + logitech switch, radio and multi panel.
Build Version # when you first started experiencing this issue:
I am not sure. I am getting for the last couple of months.
Are you on the Steam or Microsoft Store version?
Microsoft
Did you submit this to Zendesk? If so, what is your ticket #?
Not yet, no.

I found out that it has something to do with the joystick, keyboard and rudder pedals’ profile. If I turn them all to default it stops doing that.

After few hours of reinstalling drivers, reading forums and etc. finally fixed ghost inputs problems.