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.
pull/559/head
Markismus 10 years ago
parent 3b113800fe
commit be14e3d9f0

@ -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
Loading…
Cancel
Save