Closed sorgelig closed 11 years ago
Can you please post such patches to a Gist or directly as a commit so I can pull them? I had to manually patch it since the formatting got screwed up.
Anyway, thanks for the feature.
(Also, use the labels instead of [tags] :) )
Here are patches: http://www.mediafire.com/download/zov0uomj4ffgvxi/quick_toggle.zip
Ready to apply. Let me know if you have an issues.
I already patched it, works fine. Just meant to say it for next time. You can use https://gist.github.com/
Excuse me on that, I spoke too early. Patched and compiled fine, but it doesn't have any effect?
Didn't you forget to enable it in STweaks?
4 quick presses on left sensor button (menu)
should press it really quick.. approximately all 4 clicks should be within 1 second.
btw, try to download my patches and apply. May be something missed when you copied from here.
Fixed it, put it wrongly during the manual patching above the pressed
declaration instead of below it.
Inspired by similar feature in Siyah kernel for SGS3 where you could toggle negative screen by triple home button press, i've made patch for SGS4, but for menu touch button. In this case you won't leave application and won't wear hardware home button.
You need to press menu button quickly (less than 300ms between clicks) 4 times. Because it's in kernel, it will work absolutely everywhere.
Here are patches. For kernel:
and for STweak settings: