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
- 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
sendInputPtr :: Int -> Ptr INPUT -> IO UINT Source #
Raw pointer of array version of sendInput
.
Use this function to support non-list sequence.
Instances
Show INPUT Source # | |
Storable INPUT Source # | |
Defined in System.Win32.Automation.Input peekElemOff :: Ptr INPUT -> Int -> IO INPUT pokeElemOff :: Ptr INPUT -> Int -> INPUT -> IO () peekByteOff :: Ptr b -> Int -> IO INPUT pokeByteOff :: Ptr b -> Int -> INPUT -> IO () |
type PHARDWAREINPUT = Ptr HARDWAREINPUT Source #
data HARDWAREINPUT Source #
Instances
Show HARDWAREINPUT Source # | |
Defined in System.Win32.Automation.Input showsPrec :: Int -> HARDWAREINPUT -> ShowS show :: HARDWAREINPUT -> String showList :: [HARDWAREINPUT] -> ShowS | |
Storable HARDWAREINPUT Source # | |
Defined in System.Win32.Automation.Input sizeOf :: HARDWAREINPUT -> Int alignment :: HARDWAREINPUT -> Int peekElemOff :: Ptr HARDWAREINPUT -> Int -> IO HARDWAREINPUT pokeElemOff :: Ptr HARDWAREINPUT -> Int -> HARDWAREINPUT -> IO () peekByteOff :: Ptr b -> Int -> IO HARDWAREINPUT pokeByteOff :: Ptr b -> Int -> HARDWAREINPUT -> IO () peek :: Ptr HARDWAREINPUT -> IO HARDWAREINPUT poke :: Ptr HARDWAREINPUT -> HARDWAREINPUT -> IO () |
getMessageExtraInfo :: IO LPARAM Source #
setMessageExtraInfo :: LPARAM -> IO LPARAM Source #
data MOUSEINPUT Source #
Instances
Show MOUSEINPUT Source # | |
Defined in System.Win32.Automation.Input.Mouse showsPrec :: Int -> MOUSEINPUT -> ShowS show :: MOUSEINPUT -> String showList :: [MOUSEINPUT] -> ShowS | |
Storable MOUSEINPUT Source # | |
Defined in System.Win32.Automation.Input.Mouse sizeOf :: MOUSEINPUT -> Int alignment :: MOUSEINPUT -> Int peekElemOff :: Ptr MOUSEINPUT -> Int -> IO MOUSEINPUT pokeElemOff :: Ptr MOUSEINPUT -> Int -> MOUSEINPUT -> IO () peekByteOff :: Ptr b -> Int -> IO MOUSEINPUT pokeByteOff :: Ptr b -> Int -> MOUSEINPUT -> IO () peek :: Ptr MOUSEINPUT -> IO MOUSEINPUT poke :: Ptr MOUSEINPUT -> MOUSEINPUT -> IO () |
type PMOUSEINPUT = Ptr MOUSEINPUT Source #