Callback of MouseTracker

PennController for IBEX Forums Support Callback of MouseTracker

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7644
    Elise
    Participant

    Hi Jeremy,

    I’m currently implementing a mousetracking experiment (thanks for the great feature!). I am experiencing some inconsistent behaviour of the callback of the mousetracking component, i.e., when it is called. According to the documentation it should be called whenever the mouse moves. However, it seems like it is called whenever the mouse is clicked. At least this is what I gather from logging to console on the callback. I need to check that the mouse is moved away from the “go”-button within a fixed timeframe after the mousetracking is started. Can you think of any way to achieve that?

    This is the link to my experiment:

    Any help would be greatly appreciated!

    Best,
    Elise

    #7646
    Elise
    Participant

    Sorry, something went wrong with the link. Here it is: Experiment

    #7647
    Elise
    Participant

    Hi Jeremy,

    Regarding the callback on the mousetracker I found the reason why it wasn’t working for me: I accidentely had activated the touch emulation. Make sense that there wouldn’t be any mouse movements with touch. With the callback working I think I can now implement the behaviour that I aim for.

    Best,
    Elise

    #7656
    Jeremy
    Keymaster

    Hi Elise,

    Thank you for your messages, it will be certainly be helpful to future users who face the same situation

    Jeremy

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.