Searched refs:movements (Results 1 - 4 of 4) sorted by relevance
/haiku/src/add-ons/input_server/devices/easypen/ |
H A D | EasyPenInputDevice.cpp | 221 tablet_movement movements; local 228 memset(&movements, 0, sizeof(movements)); 248 movements.buttons = byte & 0x7; 249 movements.timestamp = system_time(); 250 movements.xpos = (bytes[1] << 7) | bytes[0]; 251 movements.ypos = (bytes[3] << 7) | bytes[2]; 253 uint32 buttons = old_movements.buttons ^ movements.buttons; 255 LOG("%s: buttons: 0x%lx, x: %f, y: %f, clicks:%ld, wheel_x:%ld, wheel_y:%ld\n", dev->device_ref.name, movements.buttons, 256 movements [all...] |
/haiku/src/add-ons/input_server/devices/serial_mouse/ |
H A D | MouseInputDevice.cpp | 243 mouse_movement movements; local 253 memset(&movements, 0, sizeof(movements)); 254 if (dev->sm->GetMouseEvent(&movements) != B_OK) { 260 wheel_y:%ld\n", dev->device_ref.name, movements.buttons, 261 movements.xdelta, movements.ydelta, movements.clicks, 262 movements.wheel_xdelta, movements [all...] |
/haiku/src/add-ons/input_server/devices/tablet/ |
H A D | TabletInputDevice.cpp | 301 tablet_movement movements; local 306 if (ioctl(fDevice, MS_READ, &movements, sizeof(movements)) != B_OK) { 320 "tilt: %f/%f\n", fDeviceRef.name, movements.buttons, movements.xpos, 321 movements.ypos, movements.clicks, movements.has_contact ? 'y' : 'n', 322 movements.pressure, movements [all...] |
/haiku/src/add-ons/input_server/devices/mouse/ |
H A D | MouseInputDevice.cpp | 131 const mouse_movement& movements, 411 mouse_movement movements; local 419 if (ioctl(fDevice, MS_READ, &movements, sizeof(movements)) != B_OK) { 445 &movements, touchpadEventTimeout); 447 movements = read.u.mouse; 470 uint32 buttons = lastButtons ^ movements.buttons; 472 uint32 remappedButtons = _RemapButtons(movements.buttons); 474 _ComputeAcceleration(movements, deltaX, deltaY, historyDeltaX, 479 fDeviceRef.name, movements 652 _ComputeAcceleration(const mouse_movement& movements, int32& _deltaX, int32& _deltaY, float& historyDeltaX, float& historyDeltaY) const argument [all...] |
Completed in 45 milliseconds