solved it last night. all the controls for my profile had been deleted somehow.
if it happens to anyone else what you need to do is to create a new profile, than exit the game.
go into the BF2 folder/profiles and copy the control.con file from your new profile into your original one. this will give you the default controls. you can see which profile is which by opening the .con file using notepad and the profil name should be on the top.