How to change the internal logic of an IR sensor module?

Thanks @6v6gt