System.Win32.Automation.Input

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

Description

Provide sendInput function and INPUT types.

data HARDWAREINPUT

Constructors

HARDWAREINPUT

Fields

type PHARDWAREINPUT = Ptr HARDWAREINPUT

data INPUT

Instances
Instances details
Show INPUT
Instance details

Defined in System.Win32.Automation.Input

Storable INPUT
Instance details

Defined in System.Win32.Automation.Input

type LPINPUT = Ptr INPUT

type PINPUT = Ptr INPUT

setMessageExtraInfo :: LPARAM -> IO LPARAM

getMessageExtraInfo :: IO LPARAM

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

sendInput :: [INPUT] -> IO UINT

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

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

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

module System.Win32.Automation.Input.Key

data MOUSEINPUT

type PMOUSEINPUT = Ptr MOUSEINPUT

xBUTTON1 :: DWORD

xBUTTON2 :: DWORD

mOUSEEVENTF_ABSOLUTE :: DWORD

mOUSEEVENTF_MOVE :: DWORD

mOUSEEVENTF_LEFTDOWN :: DWORD

mOUSEEVENTF_LEFTUP :: DWORD

mOUSEEVENTF_RIGHTDOWN :: DWORD

mOUSEEVENTF_RIGHTUP :: DWORD

mOUSEEVENTF_MIDDLEDOWN :: DWORD

mOUSEEVENTF_MIDDLEUP :: DWORD

mOUSEEVENTF_WHEEL :: DWORD

mOUSEEVENTF_XDOWN :: DWORD

mOUSEEVENTF_XUP :: DWORD

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