A tiny hack to read white-on-black on Kobo ebook readers.
Usage
There are three ways to contol nightmode:
- Long-press the LIGHT / HOME button on your device to toggle
- Write into the /tmp/invertScreen fifo-interface
- Send y to set nightmode to ON
- Send n to set nightmode to OFF
- Send t to toggle
- define action 'toggleNightMode' on a (configurable) level of brightness and set and maintain that brightness level through Kobo UI for a (configurable) number of seconds