IR sensor and Detectors as in Wiimote

Goodmorning, I would like to build a system as wiimote which is able to detect the position of a IR led. In particular I have a pen with two IR leds and I would like that IR detectors find the position of leds in 3d space. Can someone suggest me a solution?

Thank you very much
Best Regards