Skip to content

Koreader page turn buttons do not switch with rotation #9223

Description

@wxletter
  • KOReader version: 2022.5.1
  • Device: MOAAN MIX7, it's an e-ink reader running Android 11, with physical volume control buttons

Issue

I enabled page turn with volume control buttons in Koreader and it works but for one problem. When I hold MIX7 with my right hand I can turn page forward with upper button and turn page backward with lower button which is fine. When I hold MIX7 with my left hand, the page rotates automatically but the page turn buttons "reversed" - page turn forward with lower button and backward with upper button, i.e. the button functions do not switch with device and page rotation.

It seems that turn page forward/backward is fixed to the volume up/down button and do not switch with rotation. I tried with some other apps (like Kindle app) without this problem.

I found this thread (#6842) about adding "rotation_map" config in koreader/frontend/device/input.lua, but unfortunately I'm not able to access koreader/frontend folder - at least this folder is not accessible without root on MIX7

Steps to reproduce

  1. hold MIX7 with right hand and open koreader
  2. turn page with volume buttons
  3. hold it with left hand, and the page turn buttons are "reversed" due to rotation
crash.log

crash.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidUser patch availableRequest is odd, specific, or complicated to do properly - but a user patch is providedfirmware

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions