Page MenuHome

Fix T75566: Wacom tablet's side switches don't work
AbandonedPublic

Authored by Nicholas Rishel (nicholas_rishel) on Apr 12 2020, 7:04 AM.

Details

Summary

Button events now include tabletdata, so move is unnecessary.

Generate mouse button events when the system has an event but Wintab did not find a correlated event.

Only filter mouse button events, not Win32 Pointer events.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
Fix T75566

Diff Detail

Repository
rB Blender
Branch
T75566 (branched from master)
Build Status
Buildable 7549
Build 7549: arc lint + arc unit

Event Timeline

Nicholas Rishel (nicholas_rishel) created this revision.
Ankit Meel (ankitm) retitled this revision from Fix T75566 to Fix T75566: Wacom tablet's side switches don't work.Apr 12 2020, 7:46 AM
Ankit Meel (ankitm) edited the summary of this revision. (Show Details)

Postponing these changes until Wintab rewrite can be re-merged.

  • Allow double button up, otherwise there may be a trailing 0 pressure line.
  • Document inline that PACKETDATA and PACKETMODE modify external headers to
  • Mask all button down/up and switch back to using relative button input.
  • Move assignments into initializer list for GHOST_EventButton
  • Fix return value of WTPacketsGet.
  • Fix type for physicalButton in wintabMouseToGhost.
  • Revert "Mask all button down/up and switch back to using relative button input."
  • Change updateWintab interface to include whether window is visible so that
  • Correcting the type for indexing Wintab buttons.
  • Save Wintab packets to a local queue as WT_PACKET events arrive or when
  • Clarify comment to be more specific so that in the future someone knows
  • When there are not associated button events, assume there is no button
  • Adding explanitory comment to explain why tablet API check is necessary
  • Before a wintab button event is generated, generate a GHOST mouse move
  • In the case that a mouse move is generated by a tablet event, but the event

Ack, arc diff didn't behave itself.