User Tag List

Results 1 to 8 of 8

Thread: Why is myKey Object skipping some input?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Wra1thus's Avatar
    Join Date
    Sep 2009
    Location
    u.s.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Why is myKey Object skipping some input?

    I have my program set up to blast keystrokes to another comp and about 1 in every 15-20 wouldn't make it, so I thought the packets were dropping but now I find they aren't.
    If I am typing in notepad and set my program to write the same stroke in an edit box the same thing happens BUT if I set the frame rate to 30 then it rarely happens but anything more
    than that causes lots of missed input; at 1000fps im missing around 1 in 10 . Any ideas? I have no clue on this one. I wanted to run the program at at least 100fps.

    Edit: After more testing I found that I may have just gotten lucky a few times because I ran at 30fps some more and had missed nearly as much.

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    Are you using lacewing and its blast function? If so, be aware that by design this mode of sending data is prone to loss. If you need guaranteed data delivery then use the other methods for sending data.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Wra1thus's Avatar
    Join Date
    Sep 2009
    Location
    u.s.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was, until I narrowed it down the the keyobject itself. I now simply made a program with only keyobject and an editbox that detects if 'a-z' is pressed then populates the edit box and the same thing happens

  4. #4
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    So you're saying that it is missing keystrokes on the computer where you're actually typing then? If so, is there a regular pattern to this? Every x keystrokes for example, or is it more random than that? How fast are you typing and can you post a screenshot of the conditions that you are using to test whether a key has been pressed to help to debug this one for you :-)

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Wra1thus's Avatar
    Join Date
    Sep 2009
    Location
    u.s.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yep, same comp. No regular pattern. I tested it like 20 times in a row and 3 times i might get perfect results and then the next test I'll get around 10-12% drop. I am typing at about 40wpm.
    The notepad pic shows just a quick test I did. It's random and might drop in the beginning / mid or end. Thanks for the help!
    test.jpgapp.jpg

    Also now I am just testing with a counter and pressing the keys one at a time rapidly and can see it just stop adding for a brief moment while im still typing : /

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Wra1thus's Avatar
    Join Date
    Sep 2009
    Location
    u.s.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I think I figured out why it's doing this but no idea how to fix it or if it is even possible.
    If I am typing fast in notepad and the fps drops at all in the MMF app then it will occasionally miss a key depending on the framerate drop.
    It doesn't look like there is any type of queuing system or w/e they call it, for the keyobject.

  7. #7
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Have you tried detecting with the built-in keyboard conditions?

    I get stable results when detecting keypushes and keydowns from 'Repeat while any key is pressed'...
    Want to learn Clickteam Fusion 2.5?




  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Wra1thus's Avatar
    Join Date
    Sep 2009
    Location
    u.s.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Danny View Post
    Have you tried detecting with the built-in keyboard conditions?

    I get stable results when detecting keypushes and keydowns from 'Repeat while any key is pressed'...
    Yeah, I need to detect the press from outside of the application. I think I figured out a way around it but it's a pain.
    Basically switching the condition to 'is key pressed' rather than 'on key press' + each key w/it's own condition + my own timings has so
    far yielded perfect results.

Similar Threads

  1. Keyboard input vs player control input
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd August 2013, 09:00 PM
  2. input object
    By videogiochi in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 28th June 2011, 05:57 PM
  3. Patch Maker: Skipping wizard's dialogs?
    By EvRenesse in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 27th July 2008, 08:25 AM
  4. skipping out of demoing level?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th April 2008, 09:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •