raam123 Posted December 2, 2022 Report Posted December 2, 2022 Hi, Im using overhead touchscreen for my 737 on a second monitor. While pressing the touch screen Im losing focus with the main screen and unable to press any button unless mouse clicking back on it. I searched and came across some solution like mouse.move etc… I couldnt understand how to set them and would appreciate any advise here. Thank you.
John Dowson Posted December 3, 2022 Report Posted December 3, 2022 13 hours ago, raam123 said: While pressing the touch screen Im losing focus with the main screen and unable to press any button unless mouse clicking back on it. What do you mean by 'unable to press any button'? Are these physical or virtual buttons? If the former, than what has this got to do with the mouse, and if the latter then you will be using the mouse to click the button. So I don't understand this. The issue with focus is with key assignments. MSFS needs to have the (keyboard input) focus for it to receive key presses. If the focus is elsewhere, you could try adding SetForegroundOnKeySend=Yes to the [General] section of your FSUIPC7.ini if this is the issue. You can aslo try with KeyboardFocus=Yes (not sure what the difference is). Note also that there is a specific FSUIPC-added control called "key focus restore" (number 1125), as listed later in the Added controls list. Please see the Advanced User guide for a details on these parameters. Otherwise, could you please clarify what the issue actually is. John
raam123 Posted December 3, 2022 Author Report Posted December 3, 2022 4 hours ago, John Dowson said: What do you mean by 'unable to press any button'? Are these physical or virtual buttons? If the former, than what has this got to do with the mouse, and if the latter then you will be using the mouse to click the button. So I don't understand this. The issue with focus is with key assignments. MSFS needs to have the (keyboard input) focus for it to receive key presses. If the focus is elsewhere, you could try adding SetForegroundOnKeySend=Yes to the [General] section of your FSUIPC7.ini if this is the issue. You can aslo try with KeyboardFocus=Yes (not sure what the difference is). Note also that there is a specific FSUIPC-added control called "key focus restore" (number 1125), as listed later in the Added controls list. Please see the Advanced User guide for a details on these parameters. Otherwise, could you please clarify what the issue actually is. John I'm using P3Dv5 does the above also apply ? Thank you !
aua668 Posted December 4, 2022 Report Posted December 4, 2022 On 12/3/2022 at 4:18 PM, raam123 said: I'm using P3Dv5 does the above also apply ? Thank you ! Yes - check the guide for advanced users and search for focus. Rgds Reinhard
raam123 Posted December 7, 2022 Author Report Posted December 7, 2022 I tried all of the above with no success. "What do you mean by 'unable to press any button'? Are these physical or virtual buttons? If the former, than what has this got to do with the mouse, and if the latter then you will be using the mouse to click the button. So I don't understand this." If I press second monitor the P3D monitor losses focus, then trying to press an assigned button by FSUIPC it doenst work. I have to Press P3D monitor to have it focused then all working well, Hope I explained it.
John Dowson Posted December 8, 2022 Report Posted December 8, 2022 19 hours ago, raam123 said: If I press second monitor the P3D monitor losses focus, then trying to press an assigned button by FSUIPC it doenst work. I have to Press P3D monitor to have it focused then all working well, Hope I explained it. No, that is still not clear... what is/are the button assigned to? Is it a key press or something else? Or does this apply to all button assignments regardless? Could you activate logging for Buttons And Keys as well as Events, and generate a log file showing your issue, and attach that (exit P3D/FSUIPC6 first please) together with your FSUIPC6.ini file. Focus should only affect keyboard input, nothing else, and those parameters previously mentioned should force the focus back to P3D before sending any key presses.. John
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now