First time here.
I recently picked up my OnePlus One again and flashed/rooted it to Android Pie yesterday. By doing that I lost the OnePlus specific settings menu from oxygen os. The settings menu allowed users to manage when the hardware would light up.
So far I've managed to change the brightness value of the hardware buttons. Now it just stays on even when I turn off the screen.
I changed brightness in the path root/sys/class/leds/buttonbacklight/brightness. I don't know much about how it's all put together, so I hope somebody smart can help me out!