mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 11:44:51 +00:00
Add simple-touch-input page and links
parent
1c3e9f1be6
commit
346363af68
1
Home.md
1
Home.md
@ -40,6 +40,7 @@ Additionally, when you have write access to this repository, remove the `.md` fi
|
||||
* [en-keycodes](https://codeberg.org/dwl/dwl-patches/wiki/en-keycodes)
|
||||
* [numlock-capslock](https://codeberg.org/dwl/dwl-patches/wiki/numlock-capslock)
|
||||
* [naturalscrolltrackpad](https://codeberg.org/dwl/dwl-patches/wiki/naturalscrolltrackpad)
|
||||
* [simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/simple-touch-screen)
|
||||
## Cursor
|
||||
* [unclutter](https://codeberg.org/dwl/dwl-patches/wiki/unclutter)
|
||||
## Monitor
|
||||
|
@ -21,6 +21,7 @@
|
||||
* [singletagset](https://codeberg.org/dwl/dwl-patches/wiki/singletagset)
|
||||
* [skipfocus](https://codeberg.org/dwl/dwl-patches/wiki/skipfocus)
|
||||
* [simpleborders](https://codeberg.org/dwl/dwl-patches/wiki/simpleborders)
|
||||
* [simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/simple-touch-screen)
|
||||
* [singlemaster](https://codeberg.org/dwl/dwl-patches/wiki/singlemaster)
|
||||
* [smartborders](https://codeberg.org/dwl/dwl-patches/wiki/smartborders)
|
||||
* [snail](https://codeberg.org/dwl/dwl-patches/wiki/snail)
|
||||
|
24
simple-touch-input.md
Normal file
24
simple-touch-input.md
Normal file
@ -0,0 +1,24 @@
|
||||
### Description
|
||||
Adds SIMPLE touchscreen functionality.
|
||||
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). **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.
|
||||
|
||||
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:
|
||||
- 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
|
||||
- [git branch](https://codeberg.org/fauxmight/dwl/src/branch/simple-touch-input)
|
||||
- [2024-01-14](https://codeberg.org/dwl/dwl-patches/raw/branch/main/simple-touch-input/simple-touch-input.patch)
|
||||
|
||||
### Authors
|
||||
- [fauxmight](https://codeberg.org/fauxmight)
|
||||
- [Unprex](https://github.com/Unprex)
|
Loading…
x
Reference in New Issue
Block a user