Commit Graph
1058 Commits
Author SHA1 Message Date
Igor VelkovandClaude Opus 4.8 8a48cc4ff5 [InputText] Toggle on-screen keyboard with a lone Sym/ScreenKB tap (#15669)
On devices with a physical keyboard (e.g. Kindle), the on-screen keyboard
can already be toggled while a text field is focused via Shift/ScreenKB +
Home. This adds a lone tap of the physical Sym key as an additional, more
natural trigger.

Sym is otherwise a held modifier for the symbol layer, and Input:handleKeyBoardEv
swallows a bare modifier press/release before it becomes a key event. Detect a
Sym press+release with no other key in between and surface it as a dedicated
"SymPress" key event, which InputText handles the same way as the existing
Shift/ScreenKB + Home toggle. The symbol layer (Sym+<key>) is unaffected: any
intervening key press clears the lone-tap state, so only a true solo tap fires.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 22:20:20 +02:00
Frans de Jonge c6f6e75021 Revert "[Kindle Scribe] Add support for kindle scribe stylus events (#14908)" (#15675)
This reverts commit 9f7a0e420d.
2026-07-12 22:09:04 +02:00
Tong 533c1612d1 Support SDL stylus input (#15344) 2026-07-11 08:55:29 +02:00
Noa Himesaka cf9c59a4a8 feat(reMarkable): Oxide/libblight support (#15611)
Companion PR to koreader/koreader-base#2417.
2026-07-09 09:27:16 +02:00
Evan Krummel 93efd883e6 Add hall_file support to KindleTouch and KindleBasic4 (#15654)
Same as #13603 and #13615.
2026-07-08 18:41:14 +02:00
Benoit Pierre 751b497848 device/generic: drop unused Device:unpackArchive 2026-07-05 22:57:20 +02:00
Benoit Pierre 27a8f635d6 device/generic: update Device:ping4() & Device:retrieveNetworkInfo()
- `Device:ping4()`: do not use `struct icmphdr` (Linux specific),
  idem with `struct iphdr`, which also need to be declared
  differently depending on endianness (due to bitfields)
- `Device:retrieveNetworkInfo()`: use new `ffi/netinfo` module
2026-06-26 14:57:14 +02:00
Benoit Pierre ce99f48128 device/generic: cosmetic 2026-06-26 14:57:14 +02:00
Ahmed El Yaacoub 40f34e1d09 screensaver: add option to reduce cover sleep screen ghosting (#15568)
Adds 'Extra flash' setting that refreshes the cover image twice after
  it is shown, reducing ghosting on affected devices (e.g. Kobo Libra 2).
  Fixes #12950
2026-06-22 21:02:46 +02:00
Benoit Pierre cdd94c6f8d kindle: fix possible crash when not connected to a network but wifi is on (#15519) 2026-06-18 13:26:55 +02:00
Frans de Jonge fa6b3cde8f [SDL,plugin/hotkeys] Process gamepad events (#15449)
Gives Hotkeys the ability to configure gamepads, at least to a degree. Advanced users might wish to use a shoulder button or a trigger as a modifier like in Tony Hawk or Devil May Cry. But in that case I suggest they might be advanced enough to make a follow-up PR as well. It's out of scope for this one anyway.

Things like deadzones might prefer to be independently configurable in the future, but then again it's a reader app.

Depends on <https://github.com/koreader/koreader-base/pull/2376>.
2026-06-06 20:56:55 +02:00
hius07 e48161c166 Highlights: temporary highlight color (#15486) 2026-06-05 16:48:41 +03:00
Christo 50a7fc66a6 SDL: shell-escape openLink and external dict lookup args (#15491)
A PDF-controlled URL flowed into `os.execute` via single-quote
concatenation in `Device:openLink`. An embedded `'` in the URL closed
the intended quoting and the remainder was interpreted by the shell,
giving arbitrary command execution as the KOReader user once the user
chose "Open in browser" on an external link.

The same pattern existed in `doExternalDictLookup`'s command path:
the dictionary text was concatenated directly into the shell command
and `cleanSelection` does not remove shell metacharacters.

Use `util.shell_escape` at both sinks. The helper has been in the
codebase for years (used e.g. in `util.lua:928` for `df -kP`) and
quotes args with single quotes plus `'\''` escaping.

Fixes #15490
2026-06-01 18:38:31 +02:00
Noa Himesaka 4cca61acc1 feat: reMarkable Paper Pure support (#15463) 2026-05-27 10:57:22 +02:00
Noa Himesaka 82ac90db76 feat: QTFB input/framebuffer support (#15461)
Frontend changes for koreader/koreader-base#2381. Makes the new QTFB backend deafult for reMarkable devices with appload.
2026-05-27 07:34:09 +02:00
xxyzz 148a678ba1 Add some Wiktionary StarDict files (#15451)
* Add some Wiktionary StarDict files

add files from https://xxyzz.github.io/wiktionary_stardict/
required fonts: https://xxyzz.github.io/wiktionary_stardict/fonts.html

* Remove downloaded archive file after successful extraction

delete compressed dictionary file to save space
2026-05-25 21:59:39 +02:00
Benoit Pierre 1bad43518a sdl: better init trace (#15438)
Cf. koreader/koreader-base#2372.
2026-05-22 16:01:26 +02:00
Kulllerkeks 7f51689651 Add support for Pocketbook Era Lite (#15415) 2026-05-19 15:46:18 +02:00
Mihai Vasiliu 56e5c42fc9 Increase viewport for PB743K3 (#15410)
The viewport introduced in #11302 is a bit conservative and as a result, after opening KOReader menus, some artifacts remain on the right screen margin as black bars, which are disturbing.

Solution: Increase the viewport until no artifacts can be seen and also make sure book is not rendered behind the screen bezel.
2026-05-18 17:37:22 +02:00
Alexander Sulfrian 0380d2125a kobo: Fix detection of 'Kobo mode' of Tolino devices (#15389)
If you have a Tolino device and have switched it into "Kobo mode" using the
developer options, the codename of the device is updated as well. This adds the
codenames for these devices to the device detection for Kobo devices.
2026-05-15 17:30:53 +02:00
Hackerdude a825df20ca Feat: KS3 & KSC support (#15256) 2026-04-29 17:24:11 +02:00
Jannick Fahlbusch 1466c1a9fd [PocketBook] Respect input_ignore_gsensor setting (#15304)
The `input_ignore_gsensor` setting sets `handleGyroEv` to be `voidEv` which skips the rotation fix in case the user wants to ignore the GSensor settings.
2026-04-26 09:30:31 +02:00
Ananya 3566d5f8cb fix(pocketbook): Networking and DNS resolution during early boot (#15244) 2026-04-15 15:10:19 +02:00
Benoit Pierre 2e33e9dd9f pocketbook: drop redundant trace (#15222)
We already show the actual and targeted PocketBook software versions
when initializing our inkview support.
2026-04-01 20:16:18 +02:00
Benoit Pierre 298ebf2b5f pocketbook: inkview handling rework (#15087)
See koreader/koreader-base#2294.
2026-03-21 21:38:30 +01:00
mergen3107 8def50f218 [Kindle] Fix setting absolute warmth without breaking incremental settings (#13344)
Closes #13331.
2026-03-19 14:23:14 +01:00
Benoit Pierre c1e3e585e9 appimage: fix ota model
Account for architecture.
2026-03-15 23:00:26 +01:00
k4rnaj1k 9f7a0e420d [Kindle Scribe] Add support for kindle scribe stylus events (#14908) 2026-03-08 12:37:23 +01:00
Benoit Pierre 42aaa2031e sdl: fix scrolling when fractional values are involved (#15077)
Use accumulated whole scroll "ticks" in mouse wheel events.
2026-03-06 19:21:10 +01:00
Tempura San 9e6b15878d [PB623] fix crashing due to NetMgrPing() missing (#14961)
the firmware version of the PocketBook 623 does not provide NetMgrPing()
this leads to the application crashing after WiFi is activated and the
keepalive is scheduled
2026-02-17 20:31:44 +01:00
Benoit Pierre 37cf09b12d sdl: switch to SDL3 (3.4.0) (#14983) 2026-02-15 16:43:29 +01:00
Jannick Fahlbusch 323e6223a0 [Pocketbook] Also apply rotation fix on Era Color (#14904)
@theboomr reported [here](https://github.com/koreader/koreader/issues/11033#issuecomment-3826561716), that the rotation issue #11033 is also affecting the Pocketbook Era Color.
2026-01-31 22:58:53 +01:00
Jannick Fahlbusch da34d0e958 [PB700] Simplify rotation suspension fix (#14897)
https://github.com/koreader/koreader/pull/14895 is a bit inefficient and does not take the option to lock the orientation in place.

This change reuses the existing functionality and in turn respects the other settings as well
2026-01-29 16:49:14 +01:00
Jannick Fahlbusch 3554b6aa5d [PB700] Fix auto-orientation inversion after suspension (#14895)
Fixes https://github.com/koreader/koreader/issues/11033.

Depends on additional change in the available C-bindings from https://github.com/koreader/koreader-base/pull/2260

Also includes https://github.com/koreader/koreader-base/pull/2233
2026-01-29 00:10:14 +01:00
Benoit Pierre 75d47c9aa7 kindle: fix restart on special offers devices (#14837)
Fix leftover use of `ffi/input` (removed in #12486). Close #14833.
2026-01-18 10:23:24 +01:00
cb12tre 9702aaaed9 Add error handling to Kindle Wi-Fi functions (#14817)
Wrap LIPC calls in pcall() to prevent crashes when accessing Wi-Fi properties.

This PR adds error handling to five critical functions that interact with the Kindle's LIPC (Lab126 IPC) system for Wi-Fi management. Without proper error handling, these functions can crash KOReader when LIPC calls fail.
2026-01-15 19:36:08 +01:00
Erik f9270bfec2 Update device.lua to support Tolino Vision Color (monzaKobo) (#14801) 2026-01-08 22:58:45 +01:00
Benoit Pierre 0b53cefb9f cervantes: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2026-01-06 21:26:30 +01:00
Benoit Pierre 8d7b0792fb kindle / pocketbook / remarkable: fix startup script change detection
- prior to #14719, `$KOREADER_DIR` was not part of the environment,
  so an update relying on it without a restart from the parent
  launcher would crash KOReader on startup
- pocketbook: fix check (`koreader.app` is located in `$KOREADER_DIR/..`)
- remarkable: ensure `$KOREADER_DIR` remain correct after relocalization
2026-01-06 21:26:30 +01:00
Benoit Pierre f731870427 kobo: simplify startup script change detection 2026-01-06 21:26:30 +01:00
NiLuJe 3712e14a82 Kindle: Autodetect & handle the fancy gesture_tap input device (#14506)
The input device is autodetected by FBInk, which should hopefully mean we don't have to think about this again when it hits new devices ;).

(Supported devices were the PW6 & CS at time of writing)

Re #14461
2025-12-26 03:33:20 +01:00
Benoit Pierre 2e2a4875c9 remarkable: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre 0094ea2cb0 pocketbook: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre c93624d2c5 kindle: detect if launcher script has changed
And a complete restart from the parent launcher (e.g. KUAL) is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre e04f1800ba kobo: minor cleanups 2025-12-13 10:59:04 +01:00
Benoit Pierre cbcb1d9698 android: allow calling Device:hasColorScreen() in a fork (#14628)
Cache the result of `android.isColorScreen()` once and for all
(since the result is static). This fix a regression from #14505,
where `Device:hasColorScreen()` is called from a fork when the
file browser tries to generate covers, resulting in a crash:

```
… F reader.launche: thread.cc:1326] Check failed: FindStackTop() > reinterpret_cast<void*>(tlsPtr_.stack_end) …
```
2025-11-15 22:54:52 +01:00
Noa Himesaka 2208f41ab7 feat/remarkable: support refresh levels (#14576) 2025-11-06 18:20:33 +01:00
Noa Himesaka 1af1213357 fix/remarkable: event_map remapping fix (#14415) 2025-10-05 13:47:17 +02:00
scamdotnet 577727c6b6 Kindle: add missing colorsoft serial snippits (#14393)
See https://kindlemodding.org/models.json
2025-10-01 08:57:53 +02:00
Noa Himesaka f9bdb22790 misc/remarkable: check for new N_RGB565 mode 2025-09-30 10:54:00 +02:00