Keyboard Input in background

Hi, I’m currently developing an application using Unity3d 2022.3.4f1 that has to be capable of receiving input in background from joysticks and keyboards.

I’m using the custom package RawInput (GitHub - elringus/UnityRawInput: Windows Raw Input wrapper for Unity game engine) found on GitHub to receive input from keyboard even when the application is not focused.

Unfortunately, it works fine when the active input handling is set to “Input manager (old)”, but it doesn’t work when I set it to “Both”. Then it’s something on the new input side intercepting the messages. is it possible to propagate the messages so that they can be consumed by third party input handlers? Thanks in advance.