Jump to content

Key Press Duration


bg-wa
 Share

Recommended Posts

Wondering if anyone has figured out how to dictate the keypress duration...  I've got my windows mouse control payload working but it would be more useful if I could hold a key down instead of pressing it 100 times in a loop.  I think the end goal will be to emulate something you can't do with a keyborad, like a signature in an HTML5 canvas.

Thanks!

Link to comment
Share on other sites

I think the main reason for this is you would have no idea what holding down the key would actually do.

Say, if I held down a key on my PC for 5 seconds, it might make a whole wall of text in a single character. If I held down the key on a lower end PC (or even a phone), it might only do half as much. This means you have no idea how many times that button was actually inputted.

So therefore, even if you create a loop to press the button 100 times, you still know it attempted to press the button 100 times.

 

Very tempted to say 'speed is key' but I figured it wouldn't go down well as a pun...

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.

Guest
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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...