Graphics.Win32.Key

Win32-2.6.1.0: A binding to part of the Win32 library

Copyright | (c) Alastair Reid 1997-2003 2013 shelarcy
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell2010

Graphics.Win32.Key

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

type VKey = DWORD #

vK_LBUTTON :: VKey #

vK_RBUTTON :: VKey #

vK_CANCEL :: VKey #

vK_MBUTTON :: VKey #

vK_BACK :: VKey #

vK_TAB :: VKey #

vK_CLEAR :: VKey #

vK_RETURN :: VKey #

vK_SHIFT :: VKey #

vK_CONTROL :: VKey #

vK_MENU :: VKey #

vK_PAUSE :: VKey #

vK_CAPITAL :: VKey #

vK_ESCAPE :: VKey #

vK_SPACE :: VKey #

vK_PRIOR :: VKey #

vK_NEXT :: VKey #

vK_END :: VKey #

vK_HOME :: VKey #

vK_LEFT :: VKey #

vK_UP :: VKey #

vK_RIGHT :: VKey #

vK_DOWN :: VKey #

vK_SELECT :: VKey #

vK_EXECUTE :: VKey #

vK_SNAPSHOT :: VKey #

vK_INSERT :: VKey #

vK_DELETE :: VKey #

vK_HELP :: VKey #

vK_NUMPAD0 :: VKey #

vK_NUMPAD1 :: VKey #

vK_NUMPAD2 :: VKey #

vK_NUMPAD3 :: VKey #

vK_NUMPAD4 :: VKey #

vK_NUMPAD5 :: VKey #

vK_NUMPAD6 :: VKey #

vK_NUMPAD7 :: VKey #

vK_NUMPAD8 :: VKey #

vK_NUMPAD9 :: VKey #

vK_MULTIPLY :: VKey #

vK_ADD :: VKey #

vK_SEPARATOR :: VKey #

vK_SUBTRACT :: VKey #

vK_DECIMAL :: VKey #

vK_DIVIDE :: VKey #

vK_F1 :: VKey #

vK_F2 :: VKey #

vK_F3 :: VKey #

vK_F4 :: VKey #

vK_F5 :: VKey #

vK_F6 :: VKey #

vK_F7 :: VKey #

vK_F8 :: VKey #

vK_F9 :: VKey #

vK_F10 :: VKey #

vK_F11 :: VKey #

vK_F12 :: VKey #

vK_F13 :: VKey #

vK_F14 :: VKey #

vK_F15 :: VKey #

vK_F16 :: VKey #

vK_F17 :: VKey #

vK_F18 :: VKey #

vK_F19 :: VKey #

vK_F20 :: VKey #

vK_F21 :: VKey #

vK_F22 :: VKey #

vK_F23 :: VKey #

vK_F24 :: VKey #

vK_NUMLOCK :: VKey #

vK_SCROLL :: VKey #

vK_XBUTTON1 :: VKey #

vK_XBUTTON2 :: VKey #

vK_KANA :: VKey #

vK_HANGUL :: VKey #

vK_JUNJA :: VKey #

vK_FINAL :: VKey #

vK_HANJA :: VKey #

vK_KANJI :: VKey #

vK_CONVERT :: VKey #

vK_NONCONVERT :: VKey #

vK_ACCEPT :: VKey #

vK_MODECHANGE :: VKey #

vK_PRINT :: VKey #

vK_APPS :: VKey #

vK_SLEEP :: VKey #

vK_LWIN :: VKey #

vK_RWIN :: VKey #

vK_LSHIFT :: VKey #

vK_RSHIFT :: VKey #

vK_LCONTROL :: VKey #

vK_RCONTROL :: VKey #

vK_LMENU :: VKey #

vK_RMENU :: VKey #

vK_BROWSER_BACK :: VKey #

vK_BROWSER_FORWARD :: VKey #

vK_BROWSER_REFRESH :: VKey #

vK_BROWSER_STOP :: VKey #

vK_BROWSER_SEARCH :: VKey #

vK_BROWSER_FAVORITES :: VKey #

vK_BROWSER_HOME :: VKey #

vK_VOLUME_MUTE :: VKey #

vK_VOLUME_DOWN :: VKey #

vK_VOLUME_UP :: VKey #

vK_MEDIA_NEXT_TRACK :: VKey #

vK_MEDIA_PREV_TRACK :: VKey #

vK_MEDIA_STOP :: VKey #

vK_MEDIA_PLAY_PAUSE :: VKey #

vK_LAUNCH_MAIL :: VKey #

vK_LAUNCH_MEDIA_SELECT :: VKey #

vK_LAUNCH_APP1 :: VKey #

vK_LAUNCH_APP2 :: VKey #

vK_OEM_1 :: VKey #

vK_OEM_PLUS :: VKey #

vK_OEM_COMMA :: VKey #

vK_OEM_MINUS :: VKey #

vK_OEM_PERIOD :: VKey #

vK_OEM_2 :: VKey #

vK_OEM_3 :: VKey #

vK_OEM_4 :: VKey #

vK_OEM_5 :: VKey #

vK_OEM_6 :: VKey #

vK_OEM_7 :: VKey #

vK_OEM_8 :: VKey #

vK_OEM_102 :: VKey #

vK_PROCESSKEY :: VKey #

vK_PACKET :: VKey #

vK_ATTN :: VKey #

vK_CRSEL :: VKey #

vK_EXSEL :: VKey #

vK_EREOF :: VKey #

vK_PLAY :: VKey #

vK_ZOOM :: VKey #

vK_NONAME :: VKey #

vK_PA1 :: VKey #

vK_OEM_CLEAR :: VKey #

c_VkKeyScanEx :: CWchar -> HKL -> IO SHORT #

c_MapVirtualKey :: VKey -> UINT -> IO UINT #

c_MapVirtualKeyEx :: VKey -> UINT -> HKL -> IO UINT #

enableWindow :: HWND -> Bool -> IO Bool #

getActiveWindow :: IO (Maybe HWND) #

c_GetActiveWindow :: IO HWND #

getAsyncKeyState :: Int -> IO WORD #

getFocus :: IO (Maybe HWND) #

c_GetFocus :: IO HWND #

getKBCodePage :: IO UINT #

isWindowEnabled :: HWND -> IO Bool #

getCurrentKeyboardLayout :: IO HKL #

getKeyboardLayoutList :: IO [HKL] #

getKeyboardLayoutName :: IO String #

withLoadKeyboardLayout :: KeyLayoutFlags -> (HKL -> IO a) -> IO a #

withLoadKeyboardLayoutWithName :: String -> KeyLayoutFlags -> (HKL -> IO a) -> IO a #

unloadKeyboardLayout :: HKL -> IO () #

c_GetKeyboardLayout :: TID -> IO HKL #

c_GetKeyboardLayoutList :: Int -> Ptr HKL -> IO UINT #

c_GetKeyboardLayoutName :: LPTSTR -> IO BOOL #

c_LoadKeyboardLayout :: LPCTSTR -> KeyLayoutFlags -> IO HKL #

c_UnloadKeyboardLayout :: HKL -> IO BOOL #

type HKL = Ptr () #

type KeyLayoutFlags = UINT #

kLF_ACTIVATE :: KeyLayoutFlags #

kLF_NOTELLSHELL :: KeyLayoutFlags #

kLF_REORDER :: KeyLayoutFlags #

kLF_REPLACELANG :: KeyLayoutFlags #

kLF_SUBSTITUTE_OK :: KeyLayoutFlags #

kLF_SETFORPROCESS :: KeyLayoutFlags #