OpenCv or Head Tracking developer search

Let me introduce myself, my name is Stéphane, I am quadriplegic, that is to say I am paralyzed in four limbs, I had an accident more than 26 years ago
To use my macOS computer, I use something called a pro tracker.

Basically it’s a camera with an infrared sensor and a pellet positioned on my forehead. When I move my forehead, this should cause an infrared ray to pass onto the camera and therefore make the mouse move. I’m looking for a similar system to rebuild because mine is no longer developed and if it breaks down I’ll be in trouble.

I would like to know if it is possible to do the same thing with OpenCV so that it is compatible with macOS and Android?

Thank you

sorta this thing ?

and you’d like to keep the camera, but replace the SW ?

It’s exactly that

I would like to keep the camera and the pad that moves the cursor

it’s probably a good idea to make some simple experiments now,
can you access your cam from other programs, like vlc, mplayer, ffmpeg, gstreamer, v4l ?

Which camera are you talking about? are you talking about the Tracker Pro?

Good morning
Nobody has any idea?