I am in the process of porting some code over from Linux to Mac. I am a newbie to Mac so please bear with....
On Linux we have used XRecord from the X11 libraries for input capture. I am attempting to use XQuartz on the Mac as a substitute but have not been able to get it functioning.
I expect to see librecord.so in X11/lib/xorg/modules so that I can enable it by added Load "record" to my xorg.conf file but record.so is not there and I can't seem to find any reference online or in the XQuartz documentation to a way of adding it.
Consequently this code throws the expected error:
int major, minor;
if (XRecordQueryVersion(m_Info.m_Display, &major, &minor) != false)
{
std::string logMessage = "XRecord version: %d.%d\n", major, minor;
LOG4CXX_DEBUG (LOGGER, COMMON_STR (logMessage));
}
else
{
THROW_EXCEPTION (errval::XRECORD_UNAVAILABLE);
}
Does anyone have any suggestions?