Merge "Adds duration args to allow arbitrary duration of keyevent press" into main