You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend
NiLuJe 788ccac561
Input/Device: Refactor Gyro events handling (#9935)
* Get rid of the `canToggleGSensor` Device cap, it's now mandatory for `hasGSensor` devices. (This means Kindles can now toggle the gyro, fix #9136).
* This also means that `Device:toggleGSensor` is now implemented by `Generic`.
* Update the Screen & Gyro rotation constants to be clearer (c.f., https://github.com/koreader/koreader-base/pull/1568) (/!\ This might conceivably break some `rotation_map` user-patches).
* Input: Move the platform-specific gyro handling to Device implementations, and let Input only handle a single, custom protocol (`EV_MSC:MSC_GYRO`).
* Input: Refine the `rotation_map` disable method implemented in 43b021d37c. Instead of directly poking at the internal field, use a new method, `disableRotationMap` (/!\ Again, this might break some `rotation_map` user-patches).
* Input: Minor tweaks to event adjust hooks to make them more modular, allowing the Kobo implementation to build and use a single composite hook. API compatibility maintained with wrappers.
1 year ago
..
apps Input/Device: Refactor Gyro events handling (#9935) 1 year ago
device Input/Device: Refactor Gyro events handling (#9935) 1 year ago
document ReaderHighlight: pdf multi-page highlights (#9850) 1 year ago
ui Input/Device: Refactor Gyro events handling (#9935) 1 year ago
cache.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
cacheitem.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
configurable.lua KOPTInterface: Minor optimization when hashing the configurable status 3 years ago
datetime.lua Add datetime.lua 1 year ago
dbg.lua Cleanup various varargs shenanigans (#9624) 2 years ago
depgraph.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
device.lua Truly silence the attempt at loading SDL2 3 years ago
dispatcher.lua Input/Device: Refactor Gyro events handling (#9935) 1 year ago
docsettings.lua DocSettings: Refine the primary/backup mtime shenanigans 1 year ago
dump.lua Logger: Use serpent instead of dump (#9588) 2 years ago
fontlist.lua Logger: Use serpent instead of dump (#9588) 2 years ago
gettext.lua Make luacheck >= 0.26 happy (#9174) 2 years ago
httpclient.lua build: enforce luacheck in travis build 8 years ago
languagesupport.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
logger.lua Cleanup various varargs shenanigans (#9624) 2 years ago
luadata.lua DocSettings: Fix candidates sorting (#9607) 2 years ago
luadefaults.lua DocSettings: Fix candidates sorting (#9607) 2 years ago
luasettings.lua DocSettings: Fix candidates sorting (#9607) 2 years ago
luxl.lua [fix] Don't break OPDS parsing on HR tags (#5949) 4 years ago
optmath.lua [autosuspend, plugin] Switch to datetimewidget and provide default values (#8480) 3 years ago
persist.lua Persist: Make sure data is flushed to disk on save 2 years ago
pluginloader.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 1 year ago
pluginshare.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
random.lua Faster blitting @ BB8/BBRGB32 when no processing is needed (#4847) 5 years ago
readcollection.lua Minor util & ffi/util cleanups (#6657) 4 years ago
readhistory.lua Add datetime.lua 1 year ago
socketutil.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
userpatch.lua userpatch: allow monkey-patching KOReader (#9104) 2 years ago
util.lua Add datetime.lua 1 year ago
version.lua Version::getShortVersion: handle "rev" being empty (#9502) 2 years ago