summaryrefslogtreecommitdiff
path: root/src/ui/touch.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-23 07:19:37 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-23 07:19:37 +0300
commite9642760d8b25f6249524288891475b5650d2b68 (patch)
treef18f30666ed04112d843e06f65ddc095c23c95da /src/ui/touch.c
parentfb627f1ae471ae2fe966cbd98f2e58f1c8d2e742 (diff)
Cleanup
Diffstat (limited to 'src/ui/touch.c')
-rw-r--r--src/ui/touch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c
index 884cc605..195d1dff 100644
--- a/src/ui/touch.c
+++ b/src/ui/touch.c
@@ -617,11 +617,11 @@ iBool processEvent_Touch(const SDL_Event *ev) {
617 if (touch->axis == y_TouchAxis) { 617 if (touch->axis == y_TouchAxis) {
618 pixels.x = 0; 618 pixels.x = 0;
619 } 619 }
620 printf("%p (%s) py: %i wy: %f acc: %f edge: %d\n", 620// printf("%p (%s) py: %i wy: %f acc: %f edge: %d\n",
621 touch->affinity, 621// touch->affinity,
622 class_Widget(touch->affinity)->name, 622// class_Widget(touch->affinity)->name,
623 pixels.y, y_F3(amount), y_F3(touch->accum), 623// pixels.y, y_F3(amount), y_F3(touch->accum),
624 touch->edge); 624// touch->edge);
625 if (pixels.x || pixels.y) { 625 if (pixels.x || pixels.y) {
626 //setFocus_Widget(NULL); 626 //setFocus_Widget(NULL);
627 dispatchMotion_Touch_(touch->startPos /*pos[0]*/, 0); 627 dispatchMotion_Touch_(touch->startPos /*pos[0]*/, 0);