diff --git a/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Raw.cs b/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Raw.cs index b72355f..8587cc5 100644 --- a/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Raw.cs +++ b/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Raw.cs @@ -38,7 +38,7 @@ public Vector2 Filter(Vector2 input) { public event Action Emit; public void Consume(IDeviceReport value) { - if (value is ITabletReport report) { + if (value is IAbsolutePositionReport report) { report.Position = Filter(report.Position); value = report; } diff --git a/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Smooth.cs b/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Smooth.cs index fd96b93..22d478d 100644 --- a/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Smooth.cs +++ b/Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Smooth.cs @@ -38,7 +38,7 @@ public Vector2 Filter(Vector2 input) { public event Action Emit; public void Consume(IDeviceReport value) { - if (value is ITabletReport report) { + if (value is IAbsolutePositionReport report) { report.Position = Filter(report.Position); value = report; }