Jump to content

Problem in sending key inputs

Recommended Posts



I have been trying to make a code for a game which will help me to control the character by keyboard keys. My code is pretty simple as follows;






When i had tried it in the game nothing happened. Then tried to click at the message board which you can activate texting cursor, and run the script again and i saw that only one character of "A" was typed. Therefore, the key hasnt been pressed. I supposed that maybe the game was igonering the key inputs and tried the same thing with notepad. But the same thing happened again. I got only one "A" as output.


How to solve this problem? Thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...