running multiple instances of a game with single joystick

When I run the game in the editor with multiple standalone windows, the joystick only reacts in the focused/active window, but if I build the game and run multiple instances of the game the joystick works in all the instances at the same time even they are not in focus.

Is there some way to prevent this? can I know when the game is in focus to prevent reacting or something like that?

Thanks!
Dany

for development purposes only I added a temporal widget on top of all with a checkbox that enables and disables the joystick so I can enable in the instance I want to control only
with a boolean that is checked on every joystick input on the game and is stored in gameinstance

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.