Description

Implements wlr-tablet-v2 for drawing tablets with cursor emulation. Inspired by @guyuming76's branch, with coding help from @Palanix and testing by @Thanatos.

  • Tablet area: define the active drawing zone using the tablet_pad array {x, y, width, height}, values range from 0.0 to 1.0 (as a fraction of the tablet's full surface). Only input within this area is mapped to the screen. To make use of the full tablet surface, set the tablet_pad array to (0.0, 0.0, 1.0, 1.0).
  • Button bindings: bind tablet pad and stylus buttons to compositor actions.

Download

Authors