mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-05 13:05:59 +01:00
Cursor/Tablet new impl stuff (#641)
This commit is contained in:
parent
9ff9813cb9
commit
14f39a4b4a
2 changed files with 17 additions and 10 deletions
|
@ -405,6 +405,13 @@ _Subcategory `group:groupbar:`_
|
|||
| nvidia_anti_flicker | reduces flickering on nvidia at the cost of possible frame drops on lower-end GPUs. On non-nvidia, this is ignored. | bool | true |
|
||||
| force_introspection | forces introspection at all times. Introspection is aimed at reducing GPU usage in certain cases, but might cause graphical glitches on nvidia. 0 - nothing, 1 - force always on, 2 - force always on if nvidia | int | 2 |
|
||||
|
||||
### Cursor
|
||||
|
||||
| name | description | type | default |
|
||||
| --- | --- | --- | --- |
|
||||
| no_hardware_cursors | disables hardware cursors | bool | false |
|
||||
| hotspot_padding | the padding, in logical px, between screen edges and the cursor | int | 1 |
|
||||
|
||||
### Debug
|
||||
|
||||
{{< callout type=warning >}}
|
||||
|
|
|
@ -18,7 +18,7 @@ M: means std::unordered_map<std::string, std::any> following props are members.
|
|||
| tick | fired on a tick, meaning once per (1000 / highestMonitorHz) ms | nullptr | ✕ |
|
||||
| activeWindow | fired on active window change | PHLWINDOW | ✕ |
|
||||
| keyboardFocus | fired on keyboard focus change. Contains the newly focused surface | wlr_surface* | ✕ |
|
||||
| moveWorkspace | fired when a workspace changes its monitor | std::vector<std::any>{CWorkspace*, PHLWORKSPACE} | ✕ |
|
||||
| moveWorkspace | fired when a workspace changes its monitor | std::vector<std::any>{PHLWORKSPACE, CMonitor*} | ✕ |
|
||||
| focusedMon | fired on monitor focus change | CMonitor* | ✕ |
|
||||
| moveWindow | fired when a window changes workspace | std::vector<std::any>{PHLWINDOW, PHLWORKSPACE} | ✕ |
|
||||
| openLayer | fired when a LS is mapped | CLayerSurface* | ✕ |
|
||||
|
@ -37,11 +37,11 @@ M: means std::unordered_map<std::string, std::any> following props are members.
|
|||
| workspace | fired on a workspace change (only ones explicitly requested by a user) | CWorkspace* | ✕ |
|
||||
| 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* | ✔ |
|
||||
| mouseAxis | fired on a mouse axis event | M: `event`:`wlr_pointer_axis_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* | ✔ |
|
||||
| mouseButton | fired on a mouse button press | `IPointer::SButtonEvent` | ✔ |
|
||||
| mouseAxis | fired on a mouse axis event | M: `event`:`IPointer::SAxisEvent` | ✔ |
|
||||
| touchDown | fired on a touch down event | `ITouch::SDownEvent` | ✔ |
|
||||
| touchUp | fired on a touch up event | `ITouch::SUpEvent` | ✔ |
|
||||
| touchMove | fired on a touch motion event | `ITouch::SMotionEvent` | ✔ |
|
||||
| activeLayout | fired on a keyboard layout change. String pointer temporary, not guaranteed after execution of the handler finishes. | std::vector<std::any>{SP<IKeyboard>, 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} | ✕ |
|
||||
|
@ -49,8 +49,8 @@ M: means std::unordered_map<std::string, std::any> following props are members.
|
|||
| windowtitle | emitted when a window title changes. | PHLWINDOW | ✕ |
|
||||
| configReloaded | emitted after the config is reloaded | nullptr | ✕ |
|
||||
| preConfigReload | emitted before a config reload | nullptr | ✕ |
|
||||
| keyPress | emitted on a key press | M: `event`:`wlr_keyboard_key_event*`, `keyboard`:`SP<IKeyboard>` | ✔ |
|
||||
| keyPress | emitted on a key press | M: `event`:`IKeyboard::SButtonEvent`, `keyboard`:`SP<IKeyboard>` | ✔ |
|
||||
| pin | emitted when a window is pinned or unpinned | PHLWINDOW | ✕ |
|
||||
| swipeBegin | emitted when a touchpad swipe is commenced | `wlr_pointer_swipe_begin_event*` | ✔ |
|
||||
| swipeUpdate | emitted when a touchpad swipe is updated | `wlr_pointer_swipe_update_event*` | ✔ |
|
||||
| swipeEnd | emitted when a touchpad swipe is ended | `wlr_pointer_swipe_end_event*` | ✔ |
|
||||
| swipeBegin | emitted when a touchpad swipe is commenced | `IPointer::SSwipeBeginEvent` | ✔ |
|
||||
| swipeUpdate | emitted when a touchpad swipe is updated | `IPointer::SSwipeUpdateEvent` | ✔ |
|
||||
| swipeEnd | emitted when a touchpad swipe is ended | `IPointer::SSwipeEndEvent` | ✔ |
|
||||
|
|
Loading…
Reference in a new issue