*/}}
YimingWu 1 year ago
parent
commit
6ce160247d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      la_kernel.c

+ 1 - 1
la_kernel.c

@@ -6671,7 +6671,7 @@ static void la_RecordWacomMotions(XIRawEvent *event)
     if(XIMaskIsSet(event->valuators.mask, 3) && XIMaskIsSet(event->valuators.mask, 4)){
         real x=valuator[3],y=valuator[4];
         real orientation=atan2(y,x); real deviation=sqrt(x*x+y*y); deviation=rad(deviation);
-        printf("%f %f\n",orientation,deviation);
+        //printf("%f %f\n",orientation,deviation);
         if(IsStylus){ MAIN.StylusOrientation=orientation;MAIN.StylusDeviation=deviation; }
         else { MAIN.EraserOrientation=orientation;MAIN.EraserDeviation=deviation; }
     }