Disabling Mouse On Lock Screen Help

hi, so i’m trying to solve an issue i’ve encountered on the Pocket Reform: the trackball isn’t a snug fit so when i tilt the pocket onto it’s side like in my pocket or setting it down, it frequently wakes up the screen, and that just kills the battery, and i’m trying to get a service running with systemd to disable the mouse on the lock screen following this blog post’s process, which involves this other blog post’s instructions, including running cat /sys/bus/usb/devices/*/power/wakeup | grep enabled, however that returns no results, and removing the grep, i find everything is disabled. i know the Pocket Reform’s drivers are, shall we say “novelty”, and upon checking lsusb, i found that the input’s simply a generic input, and i recalled the schematic showing that the KB and mouse share a single connection to the cpu

what i’m wondering is, will i need to re flash the keyboard or write a new driver to make it differentiate the inputs? is there an easier way to go about this that i’m missing?

I’m using this setting in sway to prevent mouse movement from waking up swayidle:

seat * idle_wake keyboard
seat * idle_inhibit keyboard

oh i should have mentioned gnome

is there an equivalent option for gnome / gdm?