How do I enable keyboard Input When Window is Inactive?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Simple setup. When any key is pressed, make a sound and change the background color of an empty frame. If the window is not active, it will not make the sound and will not change the color of the background (added the background test to make sure it wasn't an audio problem).

    There are joystick objects which don't have this problem, but the default keyboard object as well as Control X do. Does anyone have a solution?

  • Thanks for the quick reply :) I tried that, but there's only a "repeat" version. Using "Only one action when event loops", that keeps the event from firing unless no keys are already pressed. So if I have it trigger a keyboard sound, and i want to use CTRL + C, it goes "click" when I press and hold CTRL, but it doesn't click when I press C because i was already "looping" the event. Is there any workaround for this?

  • I'm not sure I understand what you mean.
    If I put the event like this, it registers only 1 time every time I press CTRL + C together.

    * Only one action when event loops
    + Is key 17 down
    + Is key 67 down

  • * Only one action when event loops
    + Is any key pressed down?

    If I hold CTRL and press C, it will only click for CTRL and won't click for C. My goal is for it to click every time I press a button. So, if I don't have "Only one action when event loops", it will continue to make the sound as long as I hold the button (not ideal). However, by limiting the loops, it will only fire when "any key" stops looping, so pressing a key while holding another will trigger no additional sound.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!