Probably, the time for key hit event emulation is too short to be recognized by OBS Studio. Try ~10ms for signal of the pressed down state then release (key up) signal, if this is supported by your device, of course. Make sure that both programs running with the same access rights - the emulator that throws key combinations and OBS Studio itself.