Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Grab touch input while display is off
Input is grabbed when display is powered off.

The grab is released when display is powered on and there are no
finger or palm touch detected.

This should stop the UI side from seeing touch events during
display power up and provides additional protection against
stray input if the device is held without covering the proximity
sensor.

[mce] Grab touch input while display is off
  • Loading branch information
spiiroin committed Mar 10, 2014
1 parent 8fa1d78 commit a7e41b0
Show file tree
Hide file tree
Showing 6 changed files with 383 additions and 48 deletions.
6 changes: 6 additions & 0 deletions builtin-gconf.c
Expand Up @@ -1482,6 +1482,12 @@ static const setting_t gconf_defaults[] =
.type = "b",
.def = "true",
},
{
// no define; used by mce event input
.key = "/system/osso/dsm/leds/PatternTouchInputBlocked",
.type = "b",
.def = "false",
},
{
// MCE_GCONF_PROXIMITY_PS_ENABLED_PATH @ proximity.h
.key = "/system/osso/dsm/proximity/ps_enabled",
Expand Down

0 comments on commit a7e41b0

Please sign in to comment.