How to ignore key modifier (shift, ctrl...)?

Hi everyone,

I am running into some problems while trying to run and jump in my Third Person project.
Like in any game, I walk with WASD, augment speed on shift pressed and jump on space pressed.
The thing is, when I run and hit the space bar, the Jump event is not triggered.
I think it is because the program is looking for a combination like shift + key event, but since it doesn’t find it, it doesn’t fire anything else, am I right ?

I don’t know if I am looking in the right direction, but is there any way to disable key modifier, but still have access to the key event ?
If not, do you have any idea how I can get rid of this problem ?

Thanks

Are you defining “w” and “shift + w” as separate input events that trigger separate “walk” and “run” functions?

I would probably just make an action mapping for “shift” and use it to modify a bool while the key is pressed.

Then inside your “walk” function you can do a check for the flag to decide if you should run (shift is pressed) or walk(shift is not pressed)

I haven’t defined “shift + w” since WASD are axis mapped, so no “shift + key” possibility.
Basically, what my shift event makes is modifing the speed when pressed or not (kind of boolean) but that doesn’t work.
I also tried to put an action binding on shift + w, but doesn’t changed anything.

The thing is, if both shift and w are pressed, no other keyboard events can be triggered. And I think this is really about the shift key, since if I am using another key like C to trigger the shift event, I can both run and jump.

I am gonna kill my keyboard…
This idiot just made some weird stuff on “Shift + W”. It tooks me two days to notice that…
Changed my keyboard and everything works fine now.

i have a problem with shift … i am left-handed , when i hold shift (ex: for sprint) when i want jump with Num 0 , i can’t … with shift , num 0 become “Inser” , how can i ignore all keys please ?