VirtualBox

Changeset 22810 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Sep 7, 2009 1:41:45 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52023
Message:

FE/Qt, Devices/Input, Main, FE/*: upgrade mouse device to an MS IntelliMouse Explorer (five buttons and tilt wheel)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r22490 r22810  
    39793979            gMouse->PutMouseEventAbsolute(x + 1 - xMin + xOrigin,
    39803980                                          y + 1 - yMin + yOrigin,
    3981                                           dz, buttons | tmp_button);
     3981                                          dz, 0 /* horizontal scroll wheel */,
     3982                                          buttons | tmp_button);
    39823983        }
    39833984        else
    39843985        {
    3985             gMouse->PutMouseEvent(0, 0, dz, buttons | tmp_button);
     3986            gMouse->PutMouseEvent(0, 0, dz,
     3987                                  0 /* horizontal scroll wheel */,
     3988                                  buttons | tmp_button);
    39863989        }
    39873990    }
     
    39984001        gMouse->PutMouseEventAbsolute(x + 1 - xMin + xOrigin,
    39994002                                      y + 1 - yMin + yOrigin,
    4000                                       dz, buttons);
     4003                                      dz, 0 /* Horizontal wheel */, buttons);
    40014004    }
    40024005    else
    40034006    {
    4004         gMouse->PutMouseEvent(x, y, dz, buttons);
     4007        gMouse->PutMouseEvent(x, y, dz, 0 /* Horizontal wheel */, buttons);
    40054008    }
    40064009}
     
    46274630        if (gfGrabbed)
    46284631            InputGrabEnd();
    4629         gMouse->PutMouseEventAbsolute(-1, -1, 0, 0);
     4632        gMouse->PutMouseEventAbsolute(-1, -1, 0, 0, 0);
    46304633    }
    46314634}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette