[Gta04-owner] Touch screen patch for Android
Dr. H. Nikolaus Schaller
hns at goldelico.com
Fri Sep 13 13:44:29 CEST 2013
Hi Alexandre,
Am 13.09.2013 um 08:11 schrieb Alexander Rumyantsev:
> Just to kick on subj solution - semi-working touchscreen ( move pointer
> to place / double click to effect ):
> https://docs.google.com/file/d/0B-rRgKAzYyoBYkxOdGdVc3V4VFk/edit?usp=sharing
> Build from current Replicant repo, nail-3.1x-plus kernel repo from
> goldelico and small patch:
> project frameworks/base/
> diff --git a/services/input/EventHub.cpp b/services/input/EventHub.cpp
> index c527bfc..a6a93a6 100644
> --- a/services/input/EventHub.cpp
> +++ b/services/input/EventHub.cpp
Is this a patch for the Replicant tree and what does it do?
> @@ -669,7 +669,7 @@ size_t EventHub::getEvents(int timeoutMillis,
> RawEvent* buff
> (int) iev.time.tv_sec, (int)
> iev.time.tv_usec,
> iev.type, iev.code, iev.value);
>
> -#ifdef HAVE_POSIX_CLOCKS
> +#if 0 /* def HAVE_POSIX_CLOCKS*/
> // Use the time specified in the event instead
> of the c
> // so that downstream code can get more
> accurate estima
> // event dispatch latency from the time the
> event is en
BR,
Nikolaus
More information about the Gta04-owner
mailing list