linux - How can I disable input using X libraries from a C++ application -


i making application raspberry pi , when application run clicks , keyboard presses aren't contained in application - 'go through' desktop causing other things clicked , typed in behind application. i've found far think need using x11 libraries disable input. can use xinput disable input command line , understand call system( "xinput command disable input" ) xinput doing c functions ideally directly application code. looking @ xinput code, can see xchangedeviceproperty()/xichangedeviceproperty() functions being used can't quite figure out how use these in isolation application.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -