VirtualBox

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


Ignore:
Timestamp:
Sep 7, 2009 1:41:45 PM (15 years ago)
Author:
vboxsync
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/VBoxBFE/MouseImpl.cpp

    r22277 r22810  
    109109        fButtons |= PDMIMOUSEPORT_BUTTON_MIDDLE;
    110110
    111     int vrc = mpDrv->pUpPort->pfnPutEvent(mpDrv->pUpPort, dx, dy, dz, fButtons);
     111    int vrc = mpDrv->pUpPort->pfnPutEvent(mpDrv->pUpPort, dx, dy, dz, 0 /* Horizontal wheel */, fButtons);
    112112    if (RT_FAILURE (vrc))
    113113        return E_FAIL;
     
    166166            fButtons |= PDMIMOUSEPORT_BUTTON_MIDDLE;
    167167
    168         vrc = mpDrv->pUpPort->pfnPutEvent(mpDrv->pUpPort, 1, 1, dz, fButtons);
     168        vrc = mpDrv->pUpPort->pfnPutEvent(mpDrv->pUpPort, 1, 1, dz, 0 /* Horizontal wheel */, fButtons);
    169169        if (RT_FAILURE (vrc))
    170170            return E_FAIL;
Note: See TracChangeset for help on using the changeset viewer.

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