Skip to content

Commit

Permalink
[touch] Add handler for multitouch protocol A and B. JB#33644
Browse files Browse the repository at this point in the history
The existing touch screen input event handling in mce is implemented in
several places and in general does handle differences between A and B
protocols in robust manner - and assumes that there will be only one
touch/mouse input device available.

Implement logic for tracking touch input state / double tap detection in
a manner that allows the code to be re-used for several input devices
when/if needed.
  • Loading branch information
spiiroin committed Jan 7, 2016
1 parent 43d1f6d commit a27e216
Show file tree
Hide file tree
Showing 4 changed files with 608 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .depend
Expand Up @@ -898,6 +898,14 @@ modules/usbmode.pic.o:\
mce-log.h\
mce.h\

multitouch.o:\
multitouch.c\
multitouch.h\

multitouch.pic.o:\
multitouch.c\
multitouch.h\

powerkey.o:\
powerkey.c\
builtin-gconf.h\
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -291,6 +291,7 @@ MCE_CORE += mce-command-line.c
MCE_CORE += mce-conf.c
MCE_CORE += datapipe.c
MCE_CORE += mce-modules.c
MCE_CORE += multitouch.c
MCE_CORE += mce-io.c
MCE_CORE += mce-lib.c
MCE_CORE += evdev.c
Expand Down Expand Up @@ -575,6 +576,8 @@ NORMALIZE_USES_SPC =\
modules/radiostates.h\
modules/sensor-gestures.c\
modules/usbmode.c\
multitouch.c\
multitouch.h\
ofono-dbus-names.h\
powerkey.c\
powerkey.h\
Expand Down

0 comments on commit a27e216

Please sign in to comment.