Page MenuHome

Walk not usable with pen tablet
Closed, DuplicatePublic

Description

Hi,
Since the 2.92 version it is impossible to use a tablet with the walk mode with or without gravity activated.
The camera start to spin very quickly without chance to stabilize it.
This issue could be related to T82432.
I use a wacom tablet and I tested two models (intuos 4 and 5).
To reproduce the issue simply create a plane and try to walk on it using the pen as you would mouse ...
This worked fine in previous version of blender (before 2.92).

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-11 22:08, hash: rB0c1d4769235c
Worked: (newest version of Blender that worked as expected)

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Vincent Blankfield (vvv) changed the task status from Needs Triage to Confirmed.Dec 14 2020, 7:31 AM
Vincent Blankfield (vvv) claimed this task.

Can confirm on Wintab. Current implementation of the walk operator expects event->tablet.is_motion_absolute to be set for pointing events with absolute coordinates. But current Wintab implementation explicitly ignores the events that don't have a button pressed (GHOST_SystemWin32::processWintabEvent). This results in tablet hover events being processed by GHOST_SystemWin32::processCursorEvent and having their tablet data set to GHOST_TABLET_DATA_NONE, hence no event->tablet.is_motion_absolute.

Vincent Blankfield (vvv) added projects: Restricted Project, Platform: Windows.

great!, as you are working on this problem you may be able to make Blender able to forget the pen position when this one is leaving the tablet surface's in order to continue to 'walk' normally (for exemple when the pen arrives to close to the tablet border as you would do with your mouse in any application when it comes to close to the edge of your desk lifting it and replacing it in a better position) ;-).

@Vincent Blankfield (vvv) Thanks for tracking down the cause. I think I can put together a fix for this.

Nicholas Rishel (nicholas_rishel) moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Dec 18 2020, 2:24 AM