Skip to content

Commit

Permalink
add touch event hooks (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename authored Nov 13, 2023
1 parent 6c1eeca commit 621aeca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/Plugins/Development/Event-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ 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} ||
| render | fired at various stages of rendering to allow your plugin to render stuff. See `src/SharedDefs.hpp` for a list with explanations | eRenderStage ||
| windowtitle | emitted when a window title changes. | CWindow* ||
| configReloaded | emitted after the config is reloaded | nullptr ||
| preConfigReload | emitted before a config reload | nullptr ||
| preConfigReload | emitted before a config reload | nullptr ||

0 comments on commit 621aeca

Please sign in to comment.