View Single Post
Old 11-09-2018, 05:04 AM   #2993
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by dalamario View Post
I installed koreader on my kobo forma modifying "/koreader/frontend/device/kobo/device.lua" adding the following to the devices list:

Code:
-- Kobo Forma:
local KoboFrost = Kobo:new{
    model = "Kobo_frost",
    hasFrontlight = yes,
    hasKeys = yes,
    touch_probe_ev_epoch_time = true,
    touch_snow_protocol = true,
    display_dpi = 300,
    hasNaturalLight = yes,
}
To have the page turn buttons working, add "hasKeys = yes," to the above code (see bolded line) and below code to self.input event_map list:

Code:
			[193] = "RPgBack",
			[194] = "RPgFwd",
And the following on the elseif list:

Code:
elseif codename == "frost" then
    return KoboFrost
This is a simple patch, koreader is not aware of screen orientation so to have touch aligned with screen, you have to open koreader with forma buttons on the right side.

I launch it with fmon and is working fine, I suppose it will work also with KFM or KSM.
very nice work!

Quote:
Originally Posted by Yangshuo View Post
Koreader run on Kobo Forma but it has a problem with fontlight
could you be more specific? is something not working, is the colour wrong?
CH23 is offline   Reply With Quote