InputAction applied in a display event handler to a user binding (User1-User20) only returns non-zero immediately if the key is pressed *and* it happens to bound to some other action. If the key is not used in some other binding then InputAction will not return true until the key starts repeating.
It's a small thing and something of an edge case but these are exactly the type of 'unknowable' issues that drive users and addon makers crazy. {F25136}