Added Onyx Boox Go 7 to devices that follow gravity.#13872
Conversation
|
|
||
| -- disable translation for specific models, where media keys follow gravity, see https://github.com/koreader/koreader/issues/12423 | ||
| if android.prop.model == "moaanmix7" or android.prop.model == "xiaomi_reader" or android.prop.model == "gocolor7" then | ||
| if android.prop.model == "moaanmix7" or android.prop.model == "xiaomi_reader" or android.prop.model == "gocolor7" or android.prop.model == "go7" then |
There was a problem hiding this comment.
I overlooked it last time but it should probably be alphabetical if it's growing (go7 or gocolor7 or moaanmix7 or xiaomi_reader).
There was a problem hiding this comment.
Done. Followed same order as given by Windows.
Sorted entries in alphabetical order for consistency. Ref: koreader#13872 Followed Windows Sort Order.
|
Perhaps this long OR line should be better replaced by a QUIRK. |
Probably wrong, since I had no CLUE what a QUIRK was until you mentioned the word. I did play around with the help of AI and on a new branch added the following changes just playing around. Reference this 1 Extra file created Was I even remotely close, I haven't figure out how to get the docker dev environment for KOReader working to test any of this. |
|
I think that was meant on the luajit-launcher side, but something like that is what it comes down to, yes. I'll merge this as is for now since it still seems reasonable to me. |
(koreader#9223, koreader#12423) * Sorted in Alphabetical Order Ref: koreader#13872 Followed Windows Sort Order.
With Onyx Boox Go 7. When the device is rotated (Left Hand to Right Hand) the button function does not rotate.
need to add Onyx Boox Go 7 to list of devices that need disableRotationMap() activated.
user patch works in the meantime. On current android nightly ( v2025.04-90-g58860f65d_2025-05-27 )