Copyright | 2013 shelarcy |
---|---|
License | BSD-style |
Maintainer | [email protected] |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | Safe |
Language | Haskell2010 |
Provide sendInput function and INPUT types.
Synopsis
- data HARDWAREINPUT = HARDWAREINPUT {}
- type PHARDWAREINPUT = Ptr HARDWAREINPUT
- data 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
- 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
Documentation
data HARDWAREINPUT Source #
Instances
Show HARDWAREINPUT Source # | |
Defined in System.Win32.Automation.Input | |
Storable HARDWAREINPUT Source # | |
Defined in System.Win32.Automation.Input sizeOf :: 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 Source #
Instances
Show INPUT Source # | |
Storable INPUT Source # | |
Defined in System.Win32.Automation.Input sizeOf :: INPUT -> Int Source # alignment :: INPUT -> Int Source # peekElemOff :: Ptr INPUT -> Int -> IO INPUT Source # pokeElemOff :: Ptr INPUT -> Int -> INPUT -> IO () Source # peekByteOff :: Ptr b -> Int -> IO INPUT Source # pokeByteOff :: Ptr b -> Int -> INPUT -> IO () Source # |
sendInputPtr :: Int -> Ptr INPUT -> IO UINT Source #
Raw pointer of array version of sendInput
.
Use this function to support non-list sequence.
data MOUSEINPUT Source #
Instances
Show MOUSEINPUT Source # | |
Defined in System.Win32.Automation.Input.Mouse | |
Storable MOUSEINPUT Source # | |
Defined in System.Win32.Automation.Input.Mouse sizeOf :: 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 Source #