VirtualBox

Changeset 97812 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 15, 2022 5:31:03 PM (2 years ago)
Author:
vboxsync
Message:

Additions: Linux: vboxguest: Mouse Integration: restore mouse caps dropped in r154862, bugref:10285.

File:
1 edited

Legend:

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

    r97790 r97812  
    551551            /* Set up input device capabilities. */
    552552            ASMBitSet(g_pInputDevice->evbit, EV_ABS);
     553            ASMBitSet(g_pInputDevice->evbit, EV_KEY);
    553554# ifdef EV_SYN
    554555            ASMBitSet(g_pInputDevice->evbit, EV_SYN);
     
    559560            input_set_abs_params(g_pInputDevice, ABS_X, VMMDEV_MOUSE_RANGE_MIN, VMMDEV_MOUSE_RANGE_MAX, 0, 0);
    560561            input_set_abs_params(g_pInputDevice, ABS_Y, VMMDEV_MOUSE_RANGE_MIN, VMMDEV_MOUSE_RANGE_MAX, 0, 0);
     562
     563            ASMBitSet(g_pInputDevice->keybit, BTN_MOUSE);
    561564
    562565            /* Report extra capabilities to input layer if extended mouse state protocol
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