stickyKeysHotKey-0.1.0.0: get and set STICKYKEYS.SKF_HOTKEYACTIVE

Safe HaskellSafe-Infered

System.Win32.StickyKeysHotKey

Description

This module can be used to get and set STICKYKEYS.SKF_HOTKEYACTIVE on windows. If set to True, pressing shift five times will result in a window popping up asking whether to activate the sticky keys feature.

On other platforms, all functions have no effect but can be used safely.

Synopsis

Documentation

getHotKeyActive :: IO BoolSource

Returns the current state of STICKYKEYS.SKF_HOTKEYACTIVE.

setHotKeyActive :: Bool -> IO ()Source

Sets the current state of STICKYKEYS.SKF_HOTKEYACTIVE.

withHotKeyDeactivated :: IO a -> IO aSource

Sets STICKYKEYS.SKF_HOTKEYACTIVE to False during the execution of the given command. Resets the original state afterwards