Bluetooth keyboard not working on Bootcamp
Hello. Recently I cleaned my keyboard while I was in macOS. Obliviously I messed up something. Now when I restart my mac in Win10 via bootcamp I can't use my keyboard unless I connect it to power cord. I tried unpairing it and pairing it again, but that doesn't work. It says it's paired but not connected. Is there a solution for my problem? I also tried to repair bootcamp but the problem persists.
Thanks.
iMac 21.5″, macOS 12.7