View Single Post
Old 11-07-2018, 05:37 PM   #27
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Patches v25 with new "Enable rotation on all devices" patch

I have released v25 of the patches with a new "Enable rotation on all devices" patch by me, and kobopatch v0.10.4 (now shows line numbers for errors)

Line numbers:
They look like "Error: i##: whatever". Just count the number of dashes (instructions) in the patch with the error to find the line.

Enable rotation on all devices patch
I have finished a patch to allow landscape rotation on all devices. This patch works perfectly without any glitches at all. It's actually surprisingly useful for reading certain things. I did this by replacing the check in MainWindowController::allowLandscapeRotation with a MOV r0, 0x1, which is called when building the status bar, and in the different views. Currently, this is all I need to do, as the code to enable the MMA8652 sensor has it's own check, so it won't attempt to enable a sensor which doesn't exist. See the screenshots to see what this looks like on my Aura Edition 2 v1.
Attached Thumbnails
Click image for larger version

Name:	auraed2v1_patch_enablerotatation.png
Views:	548
Size:	15.4 KB
ID:	167514  
geek1011 is offline   Reply With Quote