Skip to content

Kuuuube/CustomFilter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomFilter

The best OpenTabletDriver filter to ever grace this planet!

Total Download Count

Allows you to use any mathematical expression that can be evaluated to a number as a filtering stage!

Uses AngouriMath to automatically compile your expressions into code at runtime, to achieve the best performance possible.

All the math is done on complex numbers, but the end result is just the real part of it

Simple mode

image

The Simple Mode is the fastest but is limited in the number of samples you can use. Here's the supported parameters for both expressions:

x = The X coordinate

y = The Y coordinate

p = The pressure

tx = The tilt X component

ty = The tilt Y component

d = The hover distance

lx = The last X coordinate

ly = The last Y coordinate

lp = The last pressure

ltx = The last tilt X component

lty = The last tilt Y component

ld = The last hover distance

mx = Max X coordinate

my = Max Y coordinate

mp = Max pressure

cx = Last computed X coordinate

cy = Last computed Y coordinate

cp = Last computed pressure

Example: EMA smoothing

image

About

Use any expression as a tablet driver filter!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%