ssCore.Keyboard.setAccessibilityHotkeys

Enable or disable the accessibility hotkeys.


Availability:

First available in version 3.7 build 197.


Input Parameters:

filter - [Optional] - Desired state of the FilterKeys accessibility hotkey. Valid values include: true and false.

highContrast - [Optional] - Desired state of the HighContrcastKeys accessibility hotkey. Valid values include: true and false.

mouse - [Optional] - Desired state of the MouseKeys accessibility hotkey. Valid values include: true and false.

sticky - [Optional] - Desired state of the StickyKeys accessibility hotkey. Valid values include: true and false.

toggle - [Optional] - Desired state of the ToggleKeys accessibility hotkey. Valid values include: true and false.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Keyboard.setAccessibilityHotkeys( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Keyboard.setAccessibilityHotkeys( paramsObject );


Notes:

None.


Examples:

// set the state of the accessibility hotkeys
var r = ssCore.Keyboard.setAccessibilityHotkeys({filter:"FALSE", highContrast:"FALSE", mouse:"FALSE", sticky:"FALSE", toggle:"FALSE"});

// query the state of the accessibility hotkeys
var r = ssCore.Keyboard.getAccessibilityHotkeys({});
ssDebug.trace("filter keys: " + r.filter);
ssDebug.trace("high contrast keys: " + r.highContrast);
ssDebug.trace("mouse keys: " + r.mouse);
ssDebug.trace("sticky keys: " + r.sticky);
ssDebug.trace("toggle keys: " + r.toggle);