News for hackers. Stuff that matters.
Re:Design Tip: Never Use Black (2012) by robocat on Saturday August 29, 2020 @04:22PM (#24319156)
> something steals those keys before they ever get to user space

The brightness keys could be managed by BIOS? If you can modify brightness during early boot, or while BIOS settings is showing, then there is a chance Windows doesn’t see those keypresses.

Re:Design Tip: Never Use Black (2012) by chrismorgan on Saturday August 29, 2020 @06:08PM (#24319763)
No, they’re being handled from within Windows, somehow—it shows a screen brightness adjustment popup thingy in the corner, same as it does if you adjust the volume by key. I think it must just be some driver or something consuming them and turning them into something else.

I do wish I could intercept it, not just for external monitors’ sake, but also so I could make it logarithmic or similar, like I did in Arch Linux + i3 with XF86Brightness{Up,Down} mapping and an xbacklight wrapper script. On my Surface Book, the smallest effective brightness change is 2%, and each 2% step between 0% and about 20% has at least as much effect as 40–50% or 80–100%, yet the seemingly-hardcoded behaviour is that the brightness keys just adjust the level by a flat 10%, which is what every platform does (OK, I can actually only directly attest to Android, Ubuntu from some years ago, xbacklight by convention and Windows, but I think the rest do it to), even though such a linear scale is obviously stupid and wrong. On my phone, two millimetres of adjustment on the left has about as much effect as the whole right hand side of the scale (several centimetres).