sanders: overlay: gzr: Enable Keys overlay to fine-tune navbar/FP-gestures
GZOSP - We do have 'Button' settings and can be configured for LongPress/DoubleTap actions. Sanders doesn't have hardware keys and navbar keys do the default actions. However we have FP gestures in MotoActions. But default actions of HOME/BACK/RECENTS cannot be performed anymore with FP gestures as they are primary job of navbar keys. Unless we want to gain screen-estate, there is no need for FP gestures to do default actions along with nav-bar. This overlay mimics the Sanders has Hardware key (just HOME a.k.a FP) and nav-bar can now be disabled. With that we could configure default actions of HOME/BACK/RECENTS with FP gestures. Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
committed by
ronaxdevil
parent
c069db3ee1
commit
76b3431dfd
@@ -392,19 +392,18 @@
|
||||
<integer name="config_proximityCheckTimeout">100</integer>
|
||||
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>-->
|
||||
|
||||
<!-- Hardware keys present on the device, stored as a bit field.
|
||||
<!-- Hardware 'face' keys present on the device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<!--<integer name="config_deviceHardwareKeys">64</integer>-->
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
For example, a device with Back, Home and AppSwitch keys would set this
|
||||
config to 19. -->
|
||||
<integer name="config_deviceHardwareKeys">1</integer>
|
||||
|
||||
<!-- Support in Surfaceflinger for blur layers.
|
||||
NOTE: This requires additional hardware-specific code. -->
|
||||
|
||||
Reference in New Issue
Block a user