cmauri / eviacam

webcam based mouse emulator
GNU General Public License v3.0
145 stars 38 forks source link

Support for macOS? #21

Open stedwick opened 4 years ago

stedwick commented 4 years ago

Hi, do you know how difficult it would be to compile this on macOS?

Thanks!

(I always appreciate the work people put into open source projects. I don't expect this feature to be implemented just for me, I'm just curious what technical problems would need to be overcome to port this to the Mac.)

cmauri commented 4 years ago

Hi Phillip!

Compilation in itself would not be the main issue when porting eViacam to Mac (AFAIK the tooling needed to build eViacam on Linux is also available for Mac). Most code, including GUI and most OS and framework-specific code (threading, file management, preference storage, etc) should work out of the box. However, there are portions of code specific for each platform (either enclosed between #ifdef #endif clauses or implemented in different source code files) that need to be ported to Mac, for instance, code to capture from camera and to inject mouse events to the system (not quite sure if the latter is possible in macOS).

If you want to work on the macOS port, I could provide some help :-)

Best!

Check these pointers for additional information: https://sourceforge.net/p/eviacam/discussion/898005/thread/51d3f94e/ https://sourceforge.net/p/eviacam/feature-requests/55/