mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
add touch event hooks (#395)
This commit is contained in:
parent
6c1eecafd9
commit
621aecaa6b
1 changed files with 4 additions and 1 deletions
|
@ -27,6 +27,9 @@ These are all the events that can be listened to using Event Hooks.
|
|||
| submap | fired on a submap change | std::string | ✕ |
|
||||
| mouseMove | fired when the cursor moves. Param is coords. | const Vector2D | ✔ |
|
||||
| mouseButton | fired on a mouse button press | wlr_pointer_button_event* | ✔ |
|
||||
| touchDown | fired on a touch down event | wlr_touch_down_event* | ✔ |
|
||||
| touchUp | fired on a touch up event | wlr_touch_up_event* | ✔ |
|
||||
| touchMove | fired on a touch motion event | wlr_touch_motion_event* | ✔ |
|
||||
| activeLayout | fired on a keyboard layout change. String pointer temporary, not guaranteed after execution of the handler finishes. | std::vector<void*>{SKeyboard*, std::string*} | ✕ |
|
||||
| preRender | fired before a frame for a monitor is about to be rendered | CMonitor* | ✕ |
|
||||
| screencast | fired when the screencopy state of a client changes. Keep in mind there might be multiple separate clients. | std::vector<uint64_t>{state, framesInHalfSecond, owner} | ✕ |
|
||||
|
|
Loading…
Reference in a new issue