The difference between the patch this thread we're currently in talks about and the
invert patch as part of the overall firmware patches (which @DNSB linked to) is this:
The patch in this current thread includes a user-editable nightmode.ini file, in which you can set a value for how often the screen is refreshed that's different from the one used in normal mode. On my Kobo Clara HD, refreshing the screen every chapter is fine in regular-video day mode, and that's what I leave it set at on my Reading Settings menu. But I get severe ghosting if I refresh anything less than every page turn in inverse-video night mode, and so I have "refreshScreenPages = 1" set in nightmode.ini.
Thus, with the patch in this thread, while actually using the ereader, I only have to toggle one thing -- invert mode -- to both invert the screen AND change to the appropriate screen-refresh value; using the libnickel patch DNSB refers to requires having to toggle invert mode AND THEN also manual changing screen-refresh.
For the patch provided in this current thread we're in now, I set the toggle value to 100% brightness, and the timeout delay of 1 second. It's a very quick maneuver to slide the brightness indicator all the way to the right then after just a second, once night-mode has toggled on or off, to move it back to a lower level.
My nightmode.ini looks like this:
Code:
# config file for kobo-nightmode
[state]
invertActive = no
retainStateOverRestart = no
[control]
longPressDurationMS = 800
debug=no
[nightmode]
refreshScreenPages = 1
[brightness]
1percentPatch = yes
timeout = 1
100 = toggleNightMode