mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Return to Home screen for Kobo devices Mini, Touch and Aura
Added is a case statement in koreader_kobo.sh to cat binary files to /dev/input/eventx. Added are three binary files. When the other two files are generated via mobileread forum users it is easy to expand the script for all models.
This commit is contained in:
BIN
Kobo2HomeScreen/KoboAuraTapHomeIcon.bin
Normal file
BIN
Kobo2HomeScreen/KoboAuraTapHomeIcon.bin
Normal file
Binary file not shown.
BIN
Kobo2HomeScreen/KoboMiniTapHomeIcon.bin
Normal file
BIN
Kobo2HomeScreen/KoboMiniTapHomeIcon.bin
Normal file
Binary file not shown.
BIN
Kobo2HomeScreen/KoboTouchHomeButton.bin
Normal file
BIN
Kobo2HomeScreen/KoboTouchHomeButton.bin
Normal file
Binary file not shown.
@@ -20,6 +20,26 @@ killall -STOP nickel
|
||||
./reader.lua /mnt/onboard 2> crash.log
|
||||
|
||||
# continue with nickel
|
||||
#cat .last_screen_content | /usr/local/Kobo/pickel showpic
|
||||
#rm .last_screen_content
|
||||
killall -CONT nickel
|
||||
|
||||
# return to home screen
|
||||
cd /mnt/onboard/.kobo/koreader/Kobo2HomeScreen
|
||||
case `/bin/kobo_config.sh * 2>/dev/null` in
|
||||
dragon) #DEVICE=AURAHD
|
||||
#no binary file available
|
||||
;;
|
||||
phoenix) #DEVICE=AURA
|
||||
cat ./KoboAuraTapHomeIcon.bin > /dev/input/event1
|
||||
cat ./KoboAuraTapHomeIcon.bin > /dev/input/event1
|
||||
;;
|
||||
kraken) #DEVICE=GLO
|
||||
#no binary file available
|
||||
;;
|
||||
pixie) #DEVICE=MINI
|
||||
cat ./KoboMiniTapHomeIcon.bin > /dev/input/event1
|
||||
cat ./KoboMiniTapHomeIcon.bin > /dev/input/event1
|
||||
;;
|
||||
trilogy|*) #DEVICE=TOUCH
|
||||
cat ./KoboTouchHomeButton.bin > /dev/input/event0
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user