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
Instances
Show HARDWAREINPUT | |
Defined in System.Win32.Automation.Input MethodsshowsPrec :: Int -> HARDWAREINPUT -> ShowS Source show :: HARDWAREINPUT -> String Source showList :: [HARDWAREINPUT] -> ShowS Source | |
Storable HARDWAREINPUT | |
Defined in System.Win32.Automation.Input MethodssizeOf :: HARDWAREINPUT -> Int Source alignment :: HARDWAREINPUT -> Int Source peekElemOff :: Ptr HARDWAREINPUT -> Int -> IO HARDWAREINPUT Source pokeElemOff :: Ptr HARDWAREINPUT -> Int -> HARDWAREINPUT -> IO () Source peekByteOff :: Ptr b -> Int -> IO HARDWAREINPUT Source pokeByteOff :: Ptr b -> Int -> HARDWAREINPUT -> IO () Source peek :: Ptr HARDWAREINPUT -> IO HARDWAREINPUT Source poke :: Ptr HARDWAREINPUT -> HARDWAREINPUT -> IO () Source |
type PHARDWAREINPUT = Ptr HARDWAREINPUT
data INPUT
Constructors
Mouse MOUSEINPUT | |
Keyboard KEYBDINPUT | |
OtherHardware HARDWAREINPUT |
Instances
Show INPUT | |
Storable INPUT | |
Defined in System.Win32.Automation.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
Instances
Show MOUSEINPUT | |
Defined in System.Win32.Automation.Input.Mouse MethodsshowsPrec :: Int -> MOUSEINPUT -> ShowS Source show :: MOUSEINPUT -> String Source showList :: [MOUSEINPUT] -> ShowS Source | |
Storable MOUSEINPUT | |
Defined in System.Win32.Automation.Input.Mouse MethodssizeOf :: MOUSEINPUT -> Int Source alignment :: MOUSEINPUT -> Int Source peekElemOff :: Ptr MOUSEINPUT -> Int -> IO MOUSEINPUT Source pokeElemOff :: Ptr MOUSEINPUT -> Int -> MOUSEINPUT -> IO () Source peekByteOff :: Ptr b -> Int -> IO MOUSEINPUT Source pokeByteOff :: Ptr b -> Int -> MOUSEINPUT -> IO () Source peek :: Ptr MOUSEINPUT -> IO MOUSEINPUT Source poke :: Ptr MOUSEINPUT -> MOUSEINPUT -> IO () Source |
type PMOUSEINPUT = Ptr MOUSEINPUT
mOUSEEVENTF_RIGHTDOWN :: 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