W3cubDocs

/Haskell 8

System.Win32.Automation.Input

Copyright 2013 shelarcy
License BSD-style
Maintainer [email protected]
Stability Provisional
Portability Non-portable (Win32 API)
Safe Haskell Safe
Language Haskell2010

Description

Provide sendInput function and INPUT types.

data HARDWAREINPUT Source

Constructors

HARDWAREINPUT

Fields

type PHARDWAREINPUT = Ptr HARDWAREINPUT Source

data INPUT Source

type LPINPUT = Ptr INPUT Source

type PINPUT = Ptr INPUT Source

setMessageExtraInfo :: LPARAM -> IO LPARAM Source

getMessageExtraInfo :: IO LPARAM Source

c_SendInput :: UINT -> LPINPUT -> Int -> IO UINT Source

sendInput :: [INPUT] -> IO UINT Source

sendInputPtr :: Int -> Ptr INPUT -> IO UINT Source

Raw pointer of array version of sendInput. Use this function to support non-list sequence.

makeKeyboardInput :: VKey -> Maybe DWORD -> IO INPUT Source

module System.Win32.Automation.Input.Key

data MOUSEINPUT Source

type PMOUSEINPUT = Ptr MOUSEINPUT Source

xBUTTON1 :: DWORD Source

xBUTTON2 :: DWORD Source

mOUSEEVENTF_ABSOLUTE :: DWORD Source

mOUSEEVENTF_MOVE :: DWORD Source

mOUSEEVENTF_LEFTDOWN :: DWORD Source

mOUSEEVENTF_LEFTUP :: DWORD Source

mOUSEEVENTF_RIGHTDOWN :: DWORD Source

mOUSEEVENTF_RIGHTUP :: DWORD Source

mOUSEEVENTF_MIDDLEDOWN :: DWORD Source

mOUSEEVENTF_MIDDLEUP :: DWORD Source

mOUSEEVENTF_WHEEL :: DWORD Source

mOUSEEVENTF_XDOWN :: DWORD Source

mOUSEEVENTF_XUP :: DWORD Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.6.1/docs/html/libraries/Win32-2.6.1.0/System-Win32-Automation-Input.html