View Single Post
Old 09-26-2015, 01:16 AM   #21
outlandos
Connoisseur
outlandos doesn't litteroutlandos doesn't litter
 
outlandos's Avatar
 
Posts: 68
Karma: 152
Join Date: Jun 2015
Device: Kobo Glo HD
Quote:
Originally Posted by GeoffR View Post
Thanks, so this patch is only needed on the Glo. It prevents the "Pinch to adjust font size" and "Two-finger swipe to adjust brightness" settings from showing on the Reading Settings page.


This patch prevents the Multi-touch options being displayed on all devices, only useful for the Glo.

Firmware 3.18.0, paste into libnickel.so.1.0.0.patch:
Spoiler:
Code:
<Patch>
patch_name = `Don't show Aura-specific reading options`
patch_enable = `yes`
replace_bytes = 764A90, 01 46, 00 21
</Patch>



Edit: This alternative should cause the multi-touch options to display only on devices that support multi-touch gestures (i.e. only on the Aura, or other devices with a custom multi-touch kernel.) It should be okay to apply to all devices, but only tested on the Glo so far.

Firmware 3.18.0, paste into libnickel.so.1.0.0.patch:
Spoiler:
Code:
<Patch>
patch_name = `Only show multi-touch options on multi-touch devices`
patch_enable = `yes`
#
# The Glo's Reading settings page shows "Pinch to adjust font size" and
# "Two-finger swipe to adjust brightness" even though those options don't
# work on the Glo.
#
# This patch causes those options only to be displayed on devices which support
# multi-touch gestures: the Aura, and devices with a custom multi-touch kernel.
#
# Device::isPhoenix() --> Device::supportsMultitouch()
replace_bytes = 764A8C, 87 F4 18 EA, 9E F4 60 EE
</Patch>
So i assume this patch is not needed on the Glo HD then?
outlandos is offline   Reply With Quote