Corsair keyboard not working on 1 Macbook Pro M2
I have 2 Macbook's Pro M2 2023 that are identical, same OS, same specs and everything, i have a USB Corsair keyboard connected to both of them in one of the macs the Windows Key suddenly stopped working but in the other one it works just fine without any issues since it's a M2 I have no way of reseting the memory with Opt + Cmd + R + P.
Also for some reason in any of them i'm able to log in with my password if I use the built in keyboard, i get a wrong password error but if i use the USB keyboard I can log in just fine, I try setting the password again from the built in keyboard but once i restart the same error occurs.
I can't change the device selected but they are Macbooks Pro M2 14" 2023 with Sonoma 14.0
MacBook Pro 16″