mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-29 19:14:20 +00:00
Updated simple_touch_input following the dwl merge of pointer constraints
parent
e963349e8d
commit
c5f38dc5e5
@ -12,23 +12,18 @@ That is a more complete implementation and will pass pinch gestures and the like
|
|||||||
Adds SIMPLE touchscreen functionality.
|
Adds SIMPLE touchscreen functionality.
|
||||||
Currently emulates mouse movement and button presses.
|
Currently emulates mouse movement and button presses.
|
||||||
|
|
||||||
This patch may be used with or without the pointer-constraints branch from [anon_cvptw's repository](https://codeberg.org/anon_cvptw/dwl/src/branch/main).
|
If you're maintaining this patch, be sure to watch for changes to the `motionabsolute` function:
|
||||||
**To use this WITH pointer-constraints, you must add `#define POINTERCONSTRAINTS` to `config.h`.**
|
|
||||||
|
|
||||||
If you're maintaining this patch, be sure to watch for changes to the `motionabsolute` function in anon_cvptw's `main` branch:
|
|
||||||
|
|
||||||
The `touchdown` function in the patch incorporates the contents of the `motionabsolute` function (as modified by pointer-constraints), adds in the `wlr_cursor_warp_closest` call and then the button press.
|
The `touchdown` function in the patch incorporates the contents of the `motionabsolute` function (as modified by pointer-constraints), adds in the `wlr_cursor_warp_closest` call and then the button press.
|
||||||
|
|
||||||
If `motionabsolute` is modified, `touchdown` should [likely] mirror any of its modifications.
|
If `motionabsolute` is modified, `touchdown` should [likely] mirror any of its modifications.
|
||||||
|
|
||||||
If/when anon_cvptw's pointer-constraints pull request is merged into the [upstream](https://codeberg.org/dwl/dwl) codebase, this remark will be removed from the simple-touch-input patch branch commit, and things will be significantly simplified.
|
|
||||||
|
|
||||||
KNOWN BUGS:
|
KNOWN BUGS:
|
||||||
- Sometimes, the pointer moves to where the screen is pressed, but the button press doesn't occur until the screen is touched AGAIN. This means that if you touch to click button 'Q' on the screen (for instance), nothing happens; then you touch elsewhere on the screen and THEN button 'Q' registers a click. This is annoying, doesn't always happen, and I don't yet know how to fix it.
|
- Sometimes, the pointer moves to where the screen is pressed, but the button press doesn't occur until the screen is touched AGAIN. This means that if you touch to click button 'Q' on the screen (for instance), nothing happens; then you touch elsewhere on the screen and THEN button 'Q' registers a click. This is annoying, doesn't always happen, and I don't yet know how to fix it.
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
- [git branch](https://codeberg.org/fauxmight/dwl/src/branch/simple-touch-input)
|
- [git branch](https://codeberg.org/fauxmight/dwl/src/branch/simple-touch-input)
|
||||||
- [2024-01-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/simple-touch-input/simple-touch-input.patch)
|
- [2024-03-12](https://codeberg.org/dwl/dwl-patches/raw/branch/main/simple-touch-input/simple-touch-input.patch)
|
||||||
|
|
||||||
### Authors
|
### Authors
|
||||||
- [fauxmight](https://codeberg.org/fauxmight)
|
- [fauxmight](https://codeberg.org/fauxmight)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user