Changeset 38722 in vbox for trunk/src/VBox
- Timestamp:
- Sep 13, 2011 7:07:14 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 73985
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r38721 r38722 30 30 #include <linux/miscdevice.h> 31 31 #include <linux/poll.h> 32 #include "version-generated.h" 33 #include "product-generated.h" 32 #include <VBox/version.h> 34 33 35 34 #include <iprt/assert.h> … … 444 443 g_pInputDevice->INPUT_DEV_ID(vendor) = VMMDEV_VENDORID; 445 444 g_pInputDevice->INPUT_DEV_ID(product) = VMMDEV_DEVICEID; 446 g_pInputDevice->INPUT_DEV_ID(version) = (VBOX_VERSION_MAJOR << 11) 447 + (VBOX_VERSION_MINOR << 6) 448 + VBOX_VERSION_BUILD; /** @todo */ 445 g_pInputDevice->INPUT_DEV_ID(version) = VBOX_SHORT_VERSION; 449 446 g_pInputDevice->open = vboxguestOpenInputDevice; 450 447 g_pInputDevice->close = vboxguestCloseInputDevice; … … 482 479 ASMBitSet(g_pInputDevice->absbit, ABS_X); 483 480 ASMBitSet(g_pInputDevice->absbit, ABS_Y); 484 ASMBitSet(g_pInputDevice->keybit, BTN_MOUSE);485 481 g_pInputDevice->absmin[ABS_X] = g_pInputDevice->absmin[ABS_Y] = RANGE_MIN; 486 482 g_pInputDevice->absmax[ABS_X] = g_pInputDevice->absmax[ABS_Y] = RANGE_MAX; 487 483 #endif 484 ASMBitSet(g_pInputDevice->keybit, BTN_MOUSE); 488 485 /** @todo this string should be in a header file somewhere. */ 489 486 g_pInputDevice->name = "VirtualBox mouse integration";
Note:
See TracChangeset
for help on using the changeset viewer.