Android: Get rid of the Camera key hack

Unnecessary now that we have a standard mechanism to disable touch input
;).
This commit is contained in:
NiLuJe
2022-11-08 18:27:59 +01:00
parent 58ba4076a8
commit c5700b718d
4 changed files with 0 additions and 27 deletions

View File

@@ -310,13 +310,6 @@ if Device:isAndroid() then
end,
}
-- camera key events
common_settings.android_camera_key = {
text = _("Camera key toggles touchscreen support"),
checked_func = function() return G_reader_settings:isTrue("camera_key_toggles_touchscreen") end,
callback = function() G_reader_settings:flipNilOrFalse("camera_key_toggles_touchscreen") end,
}
common_settings.android_back_button = {
text = _("Ignore back button completely"),
checked_func = function() return android.isBackButtonIgnored() end,