Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 848 Bytes

mousecapabilities_swapbuttons.md

File metadata and controls

33 lines (23 loc) · 848 Bytes
-api-id -api-type
P:Windows.Devices.Input.MouseCapabilities.SwapButtons
winrt property

Windows.Devices.Input.MouseCapabilities.SwapButtons

-description

Gets a value indicating whether any of the mice connected to the computer has swapped left and right buttons.

-property-value

A value indicating whether any of the mice connected to the computer has swapped left and right buttons.

-remarks

-examples

The following code shows how to use this method.

    function getMouseCapabilities() {
        var mouseCapabilities = new Windows.Devices.Input.MouseCapabilities();
        id("swapButtons").innerHTML = mouseCapabilities.SwapButtons;
    }

-see-also

Quickstart: Identifying input devices