mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-05-07 00:35:20 +00:00
1.1 KiB
1.1 KiB
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_padarray{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 thetablet_padarray to(0.0, 0.0, 1.0, 1.0). - Button bindings: bind tablet pad and stylus buttons to compositor actions.