Tablet mode switch in Linux

Strange that it’s stuck there. At some point I might get around to messing with whatever driver is handling the “Intel Virtual Button” subsystem to inspect whether the actual hardware is actually ever sending any state changes. But for now I found a workaround that at least stops libinput from disabling the keyboard due to the always-on tablet mode switch. I posted it here: Keyboard not working in Linux