mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
d113cb9475
* 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
14 lines
362 B
Lua
14 lines
362 B
Lua
local Device = require("device")
|
|
local _ = require("gettext")
|
|
|
|
return {
|
|
text = _("Ignore accelerometer rotation events"),
|
|
checked_func = function()
|
|
return G_reader_settings:isTrue("input_ignore_gsensor")
|
|
end,
|
|
callback = function()
|
|
G_reader_settings:flipNilOrFalse("input_ignore_gsensor")
|
|
Device:toggleGSensor()
|
|
end,
|
|
}
|