Copyright | 2013 shelarcy |
---|---|
License | BSD-style |
Maintainer | shelarcy@gmail.com |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provide sendInput function and INPUT types.
Synopsis
- sendInput :: [INPUT] -> IO UINT
- sendInputPtr :: Int -> Ptr INPUT -> IO UINT
- makeKeyboardInput :: VKey -> Maybe DWORD -> IO INPUT
- type PINPUT = Ptr INPUT
- type LPINPUT = Ptr INPUT
- data INPUT
- type PHARDWAREINPUT = Ptr HARDWAREINPUT
- data HARDWAREINPUT = HARDWAREINPUT {}
- getMessageExtraInfo :: IO LPARAM
- setMessageExtraInfo :: LPARAM -> IO LPARAM
- module System.Win32.Automation.Input.Key
- mOUSEEVENTF_ABSOLUTE :: DWORD
- mOUSEEVENTF_LEFTDOWN :: DWORD
- mOUSEEVENTF_LEFTUP :: DWORD
- mOUSEEVENTF_MIDDLEDOWN :: DWORD
- mOUSEEVENTF_MIDDLEUP :: DWORD
- mOUSEEVENTF_MOVE :: DWORD
- mOUSEEVENTF_RIGHTDOWN :: DWORD
- mOUSEEVENTF_RIGHTUP :: DWORD
- mOUSEEVENTF_WHEEL :: DWORD
- mOUSEEVENTF_XDOWN :: DWORD
- mOUSEEVENTF_XUP :: DWORD
- xBUTTON1 :: DWORD
- xBUTTON2 :: DWORD
- data MOUSEINPUT
- type PMOUSEINPUT = Ptr MOUSEINPUT
Documentation
sendInputPtr :: Int -> Ptr INPUT -> IO UINT Source #
Raw pointer of array version of sendInput
.
Use this function to support non-list sequence.
Instances
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 # | |
Show INPUT Source # | |
type PHARDWAREINPUT = Ptr HARDWAREINPUT Source #
data HARDWAREINPUT Source #
Instances
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 # | |
Show HARDWAREINPUT Source # | |
Defined in System.Win32.Automation.Input |
data MOUSEINPUT Source #
Instances
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 # | |
Show MOUSEINPUT Source # | |
Defined in System.Win32.Automation.Input.Mouse |
type PMOUSEINPUT = Ptr MOUSEINPUT Source #