Linux set mouse/input device

I’m trying to use a frame IR multitouch on Linux platform. I’m trying to force the use of the device in ofAppGLFWWindow class. I found an example using a function void ofAppEGLWindow :: setupNativeMouse () in ofAppEGLWindow class. What is the best way to do this in ofAppGLFWWindow? I hope my intention is clear. thank you