View Single Post
Old 01-02-2021, 12:20 AM   #12
Ryzir
Connoisseur
Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.Ryzir solves Fermat’s last theorem while doing the crossword.
 
Posts: 65
Karma: 28684
Join Date: Dec 2009
Device: Nook GL3, Kobo H2O, Nook STG, Sony PRS-300, Sony PRS-500
Some additional notes:

Apps and versions I'm using:
AlReader for E-Ink devices v1.61 150218 (from https://4pda.ru/forum/index.php?showtopic=340035)
Zeam Launcher v3.1.10
Calibre Companion v5.4.3.3
ColorDict Offline Dictionaries v4.4.2
Solid Explorer v2.3.7

The six hard buttons are mapped in /system/usr/keylayout/imx-keypad.kl
Power Button = key 116
Home "n" Button = key 102
Lower Left Button = key 191
Upper Left Button = key 192
Upper Right Button = key 193
Lower Right Button = key 194

Original Mapppings
Code:
key 158    BACK
key 116    POWER           WAKE
key 139    MENU
key 412    BACK
key 102    HOME            WAKE
key 353    DPAD_CENTER
key 103    DPAD_UP
key 105    DPAD_LEFT
key 106    DPAD_RIGHT
key 108    DPAD_DOWN
key 114    VOLUME_DOWN
key 115    VOLUME_UP
key 90    BUTTON_B
key 191    F9
key 192    F10 
key 193    F11 
key 194    F12
What I use for Alreader (No Page Back Button and no Wake on "n" button)
Code:
key 158    BACK
key 116    POWER           WAKE
key 139    MENU
key 412    BACK
key 102    PAGE_DOWN
key 353    DPAD_CENTER
key 103    DPAD_UP
key 105    DPAD_LEFT
key 106    DPAD_RIGHT
key 108    DPAD_DOWN
key 114    VOLUME_DOWN
key 115    VOLUME_UP
key 90    BUTTON_B
key 191    PAGE_DOWN
key 192    BACK 
key 193    HOME 
key 194    PAGE_DOWN
Custom Sleep Screen Settings:
/data/data/com.nook.partner/shared_prefs/screen_saver_preference.xml
Code:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <boolean name="pref_key_screen_saver_from_sdcard" value="true" />
    <string name="pref_key_screen_saver_from_path">/storage/emulated/0/Screensaver/sleep.jpg</string>
    <boolean name="pref_key_screen_saver_low_power" value="false" />
    <int name="key_screensaver_img_index" value="5" />
</map>
I then set Calibre Companion to save my book cover to: /storage/emulated/0/Screensaver/sleep.jpg
You can change the path and the name of the .jpg to whatever you want and use whatever image you want.

Last edited by Ryzir; 01-02-2021 at 12:33 AM.
Ryzir is offline   Reply With Quote