Individually Invert page turners on kindle#11963
Conversation
|
I don't know if this is something that could/should be included here, but it would be nice to have a user patch that displays a dog ear in the bottom left/right corner of the screen, that indicates that one set of page turn buttons is currently inverted. |
|
So I am running this locally on K4 and found a bug. So if i invert one set (right one for example) then whole thing works as expected, no problems. However, if I restart KOReader, when the programme is back up and running again, even though the option is selected ( |
| Device:invertButtons() | ||
| end | ||
|
|
||
| function DeviceListener:onSwapLeftPageTurnButtons() |
There was a problem hiding this comment.
I don't think these new actions are worth to be added to Dispatcher, hence no need of proxy methods in DeviceListener.
All can be done in the menu elements module, with direct calls of Device:.
There was a problem hiding this comment.
is this what you mean?
table.insert(PhysicalButtons.sub_item_table, {
text = _("Invert left side page-turn buttons"),
checked_func = function()
return G_reader_settings:isTrue("input_invert_left_page_turn_keys")
end,
callback = function()
-- UIManager:broadcastEvent(Event:new("SwapLeftPageTurnButtons"))
G_reader_settings:flipNilOrFalse("input_invert_left_page_turn_keys")
Device:invertButtonsLeft()
end,
})|
Wondering if you guys noticed #11963 (comment) |
I guess that on koreader startup, nowhere you call |
|
I can't even find one for |
|
koreader/frontend/device/generic/device.lua Line 197 in 7a84cfe koreader/frontend/device/generic/device.lua Lines 255 to 260 in 7a84cfe |
oops, I swear I did not see that. |
fixing issue described here #11963 (comment)
…oreader#11963) K4 is ergonomically designed to be held with one hand (one's hand wrapped around the back and both thumb and middle finger on either PgFwd buttons). This PR allows users to individually invert left and right page turners such that it can be operated just with one hand. It also closes koreader#9350 Not sure if there are any other devices with two sets of page turn buttons, so currently limited to kindle, excluding kindle Voyage, but could be added too, albeit with some gymnastics.
fixing issue described here koreader#11963 (comment)
As seen on this picture, K4 is ergonomically designed to be held with one hand (one's hand wrapped around the back and both thumb and middle finger on either
PgFwdbuttons).Not sure if there are any other devices with two sets of page turn buttons, so currently limited to kindle, excluding kindle Voyage, but could be added too, albeit with some gymnastics.
This change is