-api-id | -api-type |
---|---|
P:Windows.Devices.Input.MouseCapabilities.SwapButtons |
winrt property |
Gets a value indicating whether any of the mice connected to the computer has swapped left and right buttons.
A value indicating whether any of the mice connected to the computer has swapped left and right buttons.
The following code shows how to use this method.
function getMouseCapabilities() {
var mouseCapabilities = new Windows.Devices.Input.MouseCapabilities();
id("swapButtons").innerHTML = mouseCapabilities.SwapButtons;
}