Mouse Variables

int mouse.x, mouse.y;
int mouse.l, mouse.m, mouse.r;
int mouse.w;

mouse.x, mouse.y - The current coordinates of the mouse.

mouse.l, mouse.m, mouse.r - The left, middle, or right mouse buttons' status. [read/write]

mouse.w - The value of the mouse wheel. Has strange values, usually in increments of 120 with default mouse settings. [read/write]

When using the mouse variables, keep in mind they correspond to the position of the V3 screen.

  • FUSSUSUSUUSUSUSUSUUEROPHOGUS() FUSSUSUSUUSUSUSUSUUEROPHOGUS
  • Talkback

    Post a new comment?

    Talkback #1 written by zeromus on 2007-07-02.

    For more information on the 120 increments of the mouse wheel, inspect the WM_MOUSEWHEEL documentation at http://msdn2.microsoft.com/en-us/library/ms645617.aspx

    Post a new comment?

    Ben McGraw's lovingly crafted this website from scratch for years.
    It's a lot prettier this go around because of Jon Wofford.
    Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.