A few Kobo input tweaks (#4450)

* Fix the Touch input probe on Trilogy devices that depend on the touch_probe_ev_epoch_time quirk (fix #630)
* Expose a "Pageturn button inversion" feature in the Navigation menu (for all devices with keys) (fix #4446)
* Allow ignoring the accelerometer on the Forma (Screen > Ignore accelerometer rotation events; also available from the Gesture Manager) (fix #4451)
* Fix SleepCover handling on the Forma (fix #4457)
* Make isWifiOn a tiny bit more accurate (check the actual WiFi module instead of sdio_wifi_pwr)
* Move all flash related Screen options to the eInk submenu
This commit is contained in:
NiLuJe
2019-01-08 02:59:47 +01:00
committed by GitHub
parent 1491808454
commit d113cb9475
8 changed files with 156 additions and 37 deletions

View File

@@ -112,10 +112,11 @@ common_settings.screen = {
require("ui/elements/screen_eink_opt_menu_table"),
require("ui/elements/menu_activate"),
require("ui/elements/screen_disable_double_tap_table"),
require("ui/elements/flash_ui"),
require("ui/elements/flash_keyboard"),
},
}
if Device:canToggleGSensor() then
table.insert(common_settings.screen.sub_item_table, require("ui/elements/screen_toggle_gsensor"))
end
if Screen.isColorScreen() then
table.insert(common_settings.screen.sub_item_table, 3, require("ui/elements/screen_color_menu_table"))
common_settings.screen.sub_item_table[3].separator = true
@@ -199,6 +200,16 @@ if Device:hasKeys() then
G_reader_settings:flipNilOrTrue("enable_back_history")
end,
},
{
text = _("Invert page turn buttons"),
checked_func = function()
return G_reader_settings:isTrue("input_invert_page_turn_keys")
end,
callback = function()
G_reader_settings:flipNilOrFalse("input_invert_page_turn_keys")
Device:invertButtons()
end,
},
}
}
end