hi,
Is there a way in android to change UI response/speed/behaviour for
touchpad event and during  scrolling ?

Touch scrreen driver is wroking quite well and sending x, y and
pressure during pen down/up.

In Api Demos -> View > Lists > Array if stylus is moved very slowly
(no pen-up) then whole screen automatically moves up/down. Some kind
of more inertial behaviour for the current screen.
below inetruupt handler routine snipp..
regards,
-vinay harugop
--------------
if( pin_value == 1)
    {
//pen up
      input_report_abs(&d->idev, ABS_X, lastx);
      input_report_abs(&d->idev, ABS_Y, lasty);
      input_report_abs(&d->idev, ABS_PRESSURE, 0);
      input_report_key(&d->idev, BTN_TOUCH,0 );
      input_sync(&d->idev);
      return;
    }

      tsc2003_read_xpos(d, PD_PENIRQ_DISARM, &x);
      tsc2003_read_ypos(d, PD_PENIRQ_DISARM, &y);
      tsc2003_read_pressure(d, PD_PENIRQ_DISARM, &p);

//pen down
      x=andrx(x);
      y=andry(y);
      lastx=x;lasty=y;
      input_report_abs(&d->idev, ABS_X, x);
      input_report_abs(&d->idev, ABS_Y, y);
      input_report_abs(&d->idev, ABS_PRESSURE, p);
      input_report_key(&d->idev, BTN_TOUCH,1 );
      input_sync(&d->idev);
      ReactivatePenIRQ(d);
      tsc2003_restart_pen_up_timer(d);
    return;
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to