VirtualBox

Changeset 38596 in vbox


Ignore:
Timestamp:
Sep 1, 2011 10:56:57 AM (13 years ago)
Author:
vboxsync
Message:

Additions/linux: kernel input driver for mouse integration, build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c

    r38594 r38596  
    423423        return rc;
    424424    /* Do what one of our competitors apparently does as that works. */
    425     g_pInputDevice->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY);
     425    g_pInputDevice->evbit[0] = RT_BIT(EV_ABS) | RT_BIT(EV_KEY);
    426426    __set_bit(BTN_MOUSE, g_pInputDevice->keybit);
    427427    input_set_abs_params(g_pInputDevice, ABS_X, RANGE_MIN, RANGE_MAX, 0, 0);
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