Triggering Input Release When Changing Input Mapping Context

Hello everyone, to have my character run i hold down Shift + W, and when i release Shift my character continues to walk. However if i open my inventory and add the Inventory Input mapping context while running it doesn’t automatically release Shift and releasing shift when the inventory is open also doesn’t work, afterwards when i close my inventory and hold down W the character keeps on running. Is there an easy way to handle this?

This is all I could think of in reading your question:

1 Like

yea my problem is actually very similar to this but when the keys are flushed i need the input system to call the released trigger, because on release i need it to run a piece of code.