Tablet mode unregonized in KDE Plasma

I downloaded EndeavourOS with KDE Plasma and am using Wayland. However, my 2-in-1 PC is not recognizing Tablet Mode in Plasma. I used libinput debug-events and evtest to test input. I performed two actions: first, I put the laptop into tablet mode, and second, I returned it to normal mode. Both actions were recognized as KEY_UNKNOWN (240).

What is the fix for this issue? I’ve attached screenshots of system information, libinput debug-events, and evtest.