Clarify touch gesture and input API comments

Simplify and clarify documentation for touch gesture detection (back gesture, item taps, long-press) and board detection flags. No functional changes, just improved comment readability.
This commit is contained in:
Justin Mitchell
2026-06-15 19:42:09 -04:00
parent 9f3dddabe6
commit cef0d267b7
13 changed files with 40 additions and 83 deletions
+1 -4
View File
@@ -53,10 +53,7 @@ void XtcReaderActivity::onExit() {
}
void XtcReaderActivity::loop() {
// Touch reader controls mirror the side page buttons (left third = back, right
// third = forward, press-and-hold = chapter skip) and the Confirm button
// (center press-and-hold = chapter selection). No-op on Xteink / when the
// setting is off.
// Touch page nav; center hold opens chapter selection (the Confirm analogue).
const auto touch = ReaderUtils::detectTouchPageTurn(renderer);
// Enter chapter selection activity (Confirm release, or a center touch-and-hold).