Lucas Zampieri 9a5e475266 kindle: only translate gyro events coming from the accelerometer (#15635)
The gyro translation hooks run on events from every open input fd, so
now that ExternalKeyboard can attach keyboards on Kindle (#15248), a
hotplugged device that reports EV_ABS:ABS_PRESSURE (e.g. a keyboard
with a digitizer collection in its HID descriptor) can flip the screen
into the opposite landscape, bypassing both rotation locks (the
gsensor lock only checks the orientation axis, and both landscape
modes share it).

Remember the fds opened by the rotation device scan and have the hooks
ignore ABS_PRESSURE events from any other fd. ev.fd requires the
koreader-base counterpart; until the base bump this is a no-op.

Signed-off-by: Lucas Zampieri <lcasmz54@gmail.com>
2026-08-02 22:03:58 +02:00
2026-06-13 19:52:05 +02:00
2026-08-02 21:46:38 +02:00
2026-02-10 08:04:24 +01:00
2024-12-25 17:29:40 +01:00
2026-05-10 13:01:07 +02:00
2024-11-25 22:55:57 +01:00
…
2026-05-24 08:14:27 +02:00
2026-03-23 18:07:29 +02:00
2024-12-18 19:40:22 +01:00

KOReader

KOReader is a document viewer primarily aimed at e-ink readers.

AGPL Licence Latest release Gitter Mobileread Build Status Coverage Status Weblate Status

Download • User guide • Wiki • Developer docs

Main features

  • portable: runs on embedded devices (Cervantes, Kindle, Kobo, PocketBook, reMarkable), Android and Linux computers. Developers can run a KOReader emulator in Linux and MacOS.

  • multi-format documents: supports fixed page formats (PDF, DjVu, CBT, CBZ) and reflowable e-book formats (EPUB, FB2, Mobi, DOC, RTF, HTML, CHM, TXT). Scanned PDF/DjVu documents can also be reflowed with the built-in K2pdfopt library. ZIP files are also supported for some formats.

  • full-featured reading: multi-lingual user interface with a highly customizable reader view and many typesetting options. You can set arbitrary page margins, override line spacing and choose external fonts and styles. It has multi-lingual hyphenation dictionaries bundled into the application.

  • integrated with calibre (search metadata, receive ebooks wirelessly, browse library via OPDS), Wallabag, Wikipedia, Google Translate and other content providers.

  • optimized for e-ink devices: custom UI without animation, with paginated menus, adjustable text contrast, and easy zoom to fit content or page in paged media.

  • extensible: via plugins

  • fast: on some older devices, it has been measured to have less than half the page-turn delay as the built in reading software.

  • and much more: look up words with StarDict dictionaries / Wikipedia, add your own online OPDS catalogs and RSS feeds, over-the-air software updates, an FTP client, an SSH server, …

Please check the user guide and the wiki to discover more features and to help us document them.

Screenshots

Installation

Please follow the model specific steps for your device:

Android • Cervantes • Kindle • Kobo • Linux • Pocketbook • reMarkable

Development

Setting up a build environment • Collaborating with Git • Building targets • Porting • Developer docs

Support

KOReader is developed and supported by volunteers all around the world. There are many ways you can help:

Right now we only support liberapay donations.

Contributors

Last commit Commit activity

S
Description
No description provided
Readme AGPL-3.0
111 MiB
0 Stars 1 Watchers 0 Forks
Languages
Lua 97.1%
Shell 2.3%
Python 0.2%
Makefile 0.2%