Changeset 40310 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Mar 1, 2012 11:56:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r39353 r40310 390 390 391 391 392 enum393 {394 /** The minumum value our device can return */395 RANGE_MIN = 0,396 /** The maximum value our device can return */397 RANGE_MAX = 0xFFFF398 };399 400 401 392 #ifdef VBOXGUEST_WITH_INPUT_DRIVER 402 393 /** Calls the kernel IOCtl to report mouse status to the host on behalf of … … 476 467 ASMBitSet(g_pInputDevice->evbit, EV_SYN); 477 468 # endif 478 input_set_abs_params(g_pInputDevice, ABS_X, RANGE_MIN, RANGE_MAX, 0, 0); 479 input_set_abs_params(g_pInputDevice, ABS_Y, RANGE_MIN, RANGE_MAX, 0, 0); 469 input_set_abs_params(g_pInputDevice, ABS_X, VMMDEV_MOUSE_RANGE_MIN, 470 VMMDEV_MOUSE_RANGE_MAX, 0, 0); 471 input_set_abs_params(g_pInputDevice, ABS_Y, VMMDEV_MOUSE_RANGE_MIN, 472 VMMDEV_MOUSE_RANGE_MAX, 0, 0); 480 473 ASMBitSet(g_pInputDevice->keybit, BTN_MOUSE); 481 474 /** @todo this string should be in a header file somewhere. */
Note:
See TracChangeset
for help on using the changeset viewer.