I am developing a UWP App.
We link different behaviors for the different mouse buttons (left, right, middle) and I would like to link also some handlers for the extended buttons (e.g. when we detect a click with PointerUpdateKind.XButton2Pressed
).
For the extended buttons, I would like to read the behavior specified by the user and apply the same (e.g. if the user set a default behavior for the extended button 1 via XMouseButtonControl (https://www.highrez.co.uk/downloads/XMouseButtonControl.htm), as the "Copy" action, like CTRL+C, I would like to copy the selected content on the app when the user click on Extended button 1 on our app).
How can I programmatically read such behavior specified by the user within an UWP app? Is there an UWP API that I can use?