Jump to content
The simFlight Network Forums

IPC.KEYPRESSPLUS


Recommended Posts

Hi,

Since the version EZCA v3 the changes of views via the command ipc.keypressplus are not always functional.

Some work as before and others not as described below.

Here is my code that to work must be sent twice:

    ipc.control(66508,414)-- 66508 = PANEL_ID_CLOSE FO ND
    ipc.control(66508,420)-- 66508 = PANEL_ID_CLOSE FO CDU
    ipc.control(66508,402)-- 66508 = PANEL_ID_CLOSE CPT CDU
    ipc.control(66508,415)-- 66508 = PANEL_ID_CLOSE FO PFD
    ipc.sleep(4000)
    ipc.keypressplus(49,11,4)      FIRST
    ipc.sleep(500)
    ipc.keypressplus(49,11,4)    SECOND

This is the CTRL + SHIFT + 1 (main keyboard) combination to switch from the cockpit view to the exterior view.

The culprit is my code or EZCA v3 ?

Prepar3D 4.5, EZCA v3, FSUIPC 5.152.

Thank you in advance for your replies.

Francis.

 

Link to comment
Share on other sites

Hi,

it should work without the second Keypress send. It looks more like a problem on the receiver side, special as you say it happens since you updated to EZCA v3. Also does EZCA not take the keypress send only on first try or do you always need to send twice?

Btw - how does EXCA v3 behaves with direct keyboard input?

Thomas

Link to comment
Share on other sites

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.