MouseStrokeTrigger¶
Inherits |
|
Action events |
Conflicting: |
Incompatible with |
|
Type |
Motion trigger (delta based on distance) |
Draw a shape.
Configuration¶
Properties¶
Property |
Type |
Description |
Default |
|---|---|---|---|
strokes |
string or list(string) |
Base64-encoded string(s) containing the processed stroke(s). |
|
lock_pointer |
bool |
Lock the pointer’s position while the trigger is active. |
|
Description¶
At the end of the trigger, the performed stroke is compared against all active triggers’ strokes and the trigger with the highest stroke match
(must be at least 70%) is ended, while all others are cancelled. Only on: end conflicting actions are supported, making this trigger not suitable for
certain use cases.
Strokes can be recorded using the control tool: inputactions record-stroke. Users of the KWin compositor plugin can use the GUI at System Settings ->
Desktop Effects -> InputActions.