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

Just so you know, this is not a code tag.