Buttons 1-9 don't work in any UE4 game

Hello, I tried to ask on a lot of places, but nobody ever knew the answer, so I am going to try here I hope it’s the right place.
So bascialy the problem I am having on my PC is that in any UE4 game buttons 1-9 don’t work at all so for example in Fortnite I can’t change weapons or gadgets, in Paragon I can’t use any active items, Friday the 13th I can’t do anything but walk or use left mouse button since I can’t use 1,2,3,4 to use abilitties etc those are just few examples to explain it . I am also learning programming and I’d like to play around with EU4 in the future but I know that those key buttons won’t work… Controller works fine and there’s nothing wrong with my keyboard nor mouse it’s happening only in games that are made in UE4, with games that are made in UE3 there’s no problem. I am really confused by this problem as I’ve never expierenced anything like that and I can’t find any fix anywhere.