Use evtest to see which physical or virtual input device is sending a key.
for e in /sys/class/input/event*/device/name; do
printf '%s: ' "$e"
cat "$e"
done
Likely candidates are:
/dev/input/event4 MoErgo Glove80 Left Keyboard
/dev/input/event8 SteelSeries keyboard interface
/dev/input/event10 SteelSeries keyboard interface
/dev/input/event2 Internal keyboard
sudo evtest /dev/input/event4
Press the keys or sequence that usually triggers the problem. Look for:
KEY_CAPSLOCK
If KEY_CAPSLOCK appears, that device emitted Caps Lock. If it does not, stop with Ctrl-C and test the next candidate device.
grep -H . /sys/class/leds/input*::capslock/brightness
hyprctl devices | rg -A8 'Keyboard|capsLock'
1 means Caps Lock is on for that LED device. 0 means off.