Evfilter library documentation
| Barrier |
| Commit |
| Dump |
| NoRepeat |
| PressureToKey |
| ScaleAbs |
| WeightedAverageAbs |
| Mirror |
| Rotate |
This filter implements barrier that holds events until sync event comes. This is especially usefull when routing several sources of input events so that they are not mixed up.
| History | unsiged interger | Maximal number of events in queue. For most of the cases 10 should be enough. |
This filter is interally used to commit filtered event back to the application. This filter is automatically added at the end of filter line.
This filter writes human readable decomposition of event into file (or stdout or strerr). Usefull for debuging.
| Prefix | string | Prefix for all lines printed by this filter. |
| File | path to file | File to print the decomposition to. |
This filter eats all key repeat events.
Converts pressure events to key down/up events when pressure exceeds treshold. Usefull for mouse button emulation on touchscreen.
| Treshold | integer | Treshold value. |
| Key | key name | Name of the key. |
Performs touchscreen callibration by scaling absolute events to range from 0 to MAX_INT. Some other filters needs this filter to be loaded in order to work properly.
| MinX | integer | Minimal X value. |
| MaxX | integer | Maximal X value. |
| MinY | integer | Minimal Y value. |
| MaxY | integer | Maximal Y value. |
| MinP | integer | Minimal Pressure. |
| MaxP | integer | Maximal Pressure. |
Slown down relative pointer by Xmod and Ymod.
| Xmod | integer | Coeficient for the X coordinate. |
| Ymod | integer | Coeficient for the Y coordinate. |
This filter does weighted average with logarithmic weights of absolute X, Y and pressure samples.
TODO: This filter wasn't tested yet.
| Samples | integer | Number of samples to hold in history. Practically it should be something between 1 and 5. |
This filter mirrors relative and absolute events. For mirroring absolute events filter ScaleAbs must be loaded before this filter.
| MirrorRelX | bool | Mirrors relative X events by changing the sign. |
| MirrorRelY | bool | Mirrors relative Y events by changing the sign. |
| MirrorAbsX | bool | Mirrors Absolute X events. |
| MirrorAbsY | bool | Mirrors Absolute Y events. |
Rotates absolute or relative events by exchanging X and Y coordinates.
| RotateAbs | bool | Exchange X and Y for absolute events. |
| RotateRel | bool | Exchange X and Y for relative events. |