W3cubDocs

/Haskell 9

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.

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

type PINPUT = Ptr INPUT Source

type LPINPUT = Ptr INPUT Source

data INPUT Source

Instances
Instances details
Storable INPUT Source
Instance details

Defined in System.Win32.Automation.Input

Methods

sizeOf :: INPUT -> Int

alignment :: INPUT -> Int

peekElemOff :: Ptr INPUT -> Int -> IO INPUT

pokeElemOff :: Ptr INPUT -> Int -> INPUT -> IO ()

peekByteOff :: Ptr b -> Int -> IO INPUT

pokeByteOff :: Ptr b -> Int -> INPUT -> IO ()

peek :: Ptr INPUT -> IO INPUT

poke :: Ptr INPUT -> INPUT -> IO ()

Show INPUT Source
Instance details

Defined in System.Win32.Automation.Input

Methods

showsPrec :: Int -> INPUT -> ShowS

show :: INPUT -> String

showList :: [INPUT] -> ShowS

type PHARDWAREINPUT = Ptr HARDWAREINPUT Source

data HARDWAREINPUT Source

Constructors

HARDWAREINPUT

Fields

getMessageExtraInfo :: IO LPARAM Source

setMessageExtraInfo :: LPARAM -> IO LPARAM Source

module System.Win32.Automation.Input.Key

mOUSEEVENTF_ABSOLUTE :: DWORD Source

mOUSEEVENTF_LEFTDOWN :: DWORD Source

mOUSEEVENTF_LEFTUP :: DWORD Source

mOUSEEVENTF_MIDDLEDOWN :: DWORD Source

mOUSEEVENTF_MIDDLEUP :: DWORD Source

mOUSEEVENTF_MOVE :: DWORD Source

mOUSEEVENTF_RIGHTDOWN :: DWORD Source

mOUSEEVENTF_RIGHTUP :: DWORD Source

mOUSEEVENTF_WHEEL :: DWORD Source

mOUSEEVENTF_XDOWN :: DWORD Source

mOUSEEVENTF_XUP :: DWORD Source

xBUTTON1 :: DWORD Source

xBUTTON2 :: DWORD Source

data MOUSEINPUT Source

type PMOUSEINPUT = Ptr MOUSEINPUT Source

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