mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-11 10:23:19 +00:00
feat: add pad/tool bindings and pen region
This commit is contained in:
committed by
A Frederick Christensen
parent
8809817422
commit
872b565e85
@@ -1,14 +1,19 @@
|
||||
### Description
|
||||
implements wlr-tablet-v2 for drawing tablets and supports cursor emulation
|
||||
Implements wlr-tablet-v2 for drawing tablets with cursor emulation.
|
||||
Inspired by @guyuming76's [branch](https://codeberg.org/guyuming76/dwl/commits/branch/graphic_tablet), with coding help from @Palanix and testing by @Thanatos.
|
||||
|
||||
inspired by @guyuming76's [branch](https://codeberg.org/guyuming76/dwl/commits/branch/graphic_tablet), 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.
|
||||
- **Button bindings**: bind tablet pad and stylus buttons to compositor actions.
|
||||
|
||||
### Download
|
||||
- [git branch](https://codeberg.org/fauxmight/dwl/src/branch/tablet-input)
|
||||
- [tablet-input-wlroots-next-f4249db.patch](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tablet-input/tablet-input-wlroots-next-f4249db.patch)
|
||||
- [git branch](https://codeberg.org/pi66/dwl/src/branch/tablet-input)
|
||||
- [tablet-input-main-a2d03cf.patch](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tablet-input/tablet-input-main-a2d03cf.patch)
|
||||
- [tablet-input-0.8.patch](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tablet-input/tablet-input-0.8.patch)
|
||||
|
||||
### Authors
|
||||
- [fauxmight](https://codeberg.org/fauxmight)
|
||||
- [notchoc](https://codeberg.org/notchoc)
|
||||
- [Palanix](https://codeberg.org/Palanix)
|
||||
- [pi66](https://codeberg.org/pi66)
|
||||
|
||||
Reference in New Issue
Block a user