Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Development Tools

    MOUSEINPUT_TIMEOUT

    download button


    Downloads: 400  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.1/5)
    17 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Gautam Vallabha | More scripts
    www.mathworks.com
    Freeware 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Matlab
    October 8th, 2007, 09:47 GMT
    C: \ Development Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    MOUSEINPUT_TIMEOUT description

    MOUSEINPUT_TIMEOUT captures continuous mouse movements with timeout

    MOUSEINPUT_TIMEOUT returns continuous mouse locations with timeout

    OUT = MOUSEINPUT_TIMEOUT returns the sequence of mouse locations between a button press and a button release in the current axes. It does not timeout. OUT is an Nx2 matrix, where OUT(1,:) is the location at button press and OUT(END,:) is the location at button release.

    OUT = MOUSEINPUT_TIMEOUT(T) times out after a period of T seconds. T can be a fractional value (T=inf indicates no timeout). If the mouse-button has not been pressed during that time, OUT is []. If the timeout occurs during a mouse movement, OUT contains the mouse locations before the timeout.

    OUT = MOUSEINPUT_TIMEOUT(T,AH) records the mouse movement from the axes specified by axes handle AH.

    Note: MOUSEINPUT_TIMEOUT differs from GINPUT in two ways.
    (1) It does not return information about which mouse button was pressed,
    (2) It ignores key presses.

    Example:
    % record movements from current axes
    % (with timeout after 4.5 sec), and
    % plot the final movement.
    out = mouseinput_timeout(4.5, gca);
    hold on;
    plot(out(:,1),out(:,2),'r');
    out(1,:) % location at button-press
    out(end,:) % location at button-release

    Requirements:

    · MATLAB Release: R2007b



    TAGS:

    MOUSEINPUT TIMEOUT | development tools | MOUSE INPUT | MOUSE | INPUT | TIMEOUT

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM