Ive tried and checked that filter keys was off. if it helps when my keyboard stopped working in a game it spammed f12
UPDATE: Now when i attempt to login some keys are messed up. For example when i press backspace it registers as enter. I have tried the keyboard on another computer and it works.