| Safe Haskell | None |
|---|
Graphics.XHB.Gen.Input
Documentation
getExtensionVersion :: Connection -> Word16 -> [CChar] -> IO (Receipt GetExtensionVersionReply)Source
openDevice :: Connection -> Word8 -> IO (Receipt OpenDeviceReply)Source
closeDevice :: Connection -> Word8 -> IO ()Source
setDeviceMode :: Connection -> Word8 -> ValuatorMode -> IO (Receipt Word8)Source
selectExtensionEvent :: Connection -> SelectExtensionEvent -> IO ()Source
getSelectedExtensionEvents :: Connection -> WINDOW -> IO (Receipt GetSelectedExtensionEventsReply)Source
getDeviceDontPropagateList :: Connection -> WINDOW -> IO (Receipt GetDeviceDontPropagateListReply)Source
getDeviceMotionEvents :: Connection -> GetDeviceMotionEvents -> IO (Receipt GetDeviceMotionEventsReply)Source
changeKeyboardDevice :: Connection -> Word8 -> IO (Receipt Word8)Source
grabDevice :: Connection -> GrabDevice -> IO (Receipt GrabStatus)Source
ungrabDevice :: Connection -> TIMESTAMP -> Word8 -> IO ()Source
grabDeviceKey :: Connection -> GrabDeviceKey -> IO ()Source
ungrabDeviceKey :: Connection -> UngrabDeviceKey -> IO ()Source
grabDeviceButton :: Connection -> GrabDeviceButton -> IO ()Source
ungrabDeviceButton :: Connection -> UngrabDeviceButton -> IO ()Source
allowDeviceEvents :: Connection -> AllowDeviceEvents -> IO ()Source
getDeviceFocus :: Connection -> Word8 -> IO (Receipt GetDeviceFocusReply)Source
setDeviceFocus :: Connection -> SetDeviceFocus -> IO ()Source
getFeedbackControl :: Connection -> Word8 -> IO (Receipt Word16)Source
getDeviceKeyMapping :: Connection -> GetDeviceKeyMapping -> IO (Receipt GetDeviceKeyMappingReply)Source
setDeviceModifierMapping :: Connection -> SetDeviceModifierMapping -> IO (Receipt MappingStatus)Source
queryDeviceState :: Connection -> Word8 -> IO (Receipt Word8)Source
sendExtensionEvent :: Connection -> SendExtensionEvent -> IO ()Source
deviceBell :: Connection -> DeviceBell -> IO ()Source
getDeviceControl :: Connection -> Word16 -> Word8 -> IO (Receipt Word8)Source
type EventClass = Word32Source
data GetExtensionVersion Source
Constructors
| MkGetExtensionVersion | |
Fields | |
Instances
| Show GetExtensionVersion | |
| Typeable GetExtensionVersion | |
| ExtensionRequest GetExtensionVersion |
Constructors
| DeviceUseIsXPointer | |
| DeviceUseIsXKeyboard | |
| DeviceUseIsXExtensionDevice | |
| DeviceUseIsXExtensionKeyboard | |
| DeviceUseIsXExtensionPointer |
Instances
data DeviceInfo Source
Constructors
| MkDeviceInfo | |
Instances
| Show DeviceInfo | |
| Typeable DeviceInfo | |
| Deserialize DeviceInfo | |
| Serialize DeviceInfo |
data ListInputDevices Source
Constructors
| MkListInputDevices | |
Instances
| Show ListInputDevices | |
| Typeable ListInputDevices | |
| ExtensionRequest ListInputDevices |
data InputClass Source
Constructors
| InputClassKey | |
| InputClassButton | |
| InputClassValuator | |
| InputClassFeedback | |
| InputClassProximity | |
| InputClassFocus | |
| InputClassOther |
Instances
Constructors
| MkInputInfo | |
Fields | |
Constructors
| MkKeyInfo | |
Fields | |
data ButtonInfo Source
Constructors
| MkButtonInfo | |
Fields | |
Instances
| Show ButtonInfo | |
| Typeable ButtonInfo | |
| Deserialize ButtonInfo | |
| Serialize ButtonInfo |
Constructors
| MkAxisInfo | |
Fields | |
data ValuatorInfo Source
Constructors
| MkValuatorInfo | |
Instances
| Show ValuatorInfo | |
| Typeable ValuatorInfo | |
| Deserialize ValuatorInfo | |
| Serialize ValuatorInfo |
data InputClassInfo Source
Constructors
| MkInputClassInfo | |
Instances
| Show InputClassInfo | |
| Typeable InputClassInfo | |
| Deserialize InputClassInfo | |
| Serialize InputClassInfo |
data OpenDevice Source
Constructors
| MkOpenDevice | |
Fields | |
Instances
| Show OpenDevice | |
| Typeable OpenDevice | |
| ExtensionRequest OpenDevice |
data OpenDeviceReply Source
Constructors
| MkOpenDeviceReply | |
Instances
| Show OpenDeviceReply | |
| Typeable OpenDeviceReply | |
| Deserialize OpenDeviceReply |
data CloseDevice Source
Constructors
| MkCloseDevice | |
Fields | |
Instances
| Show CloseDevice | |
| Typeable CloseDevice | |
| ExtensionRequest CloseDevice |
data SetDeviceMode Source
Constructors
| MkSetDeviceMode | |
Fields | |
Instances
| Show SetDeviceMode | |
| Typeable SetDeviceMode | |
| ExtensionRequest SetDeviceMode |
data SelectExtensionEvent Source
Constructors
| MkSelectExtensionEvent | |
Instances
| Show SelectExtensionEvent | |
| Typeable SelectExtensionEvent | |
| ExtensionRequest SelectExtensionEvent |
data GetSelectedExtensionEventsReply Source
Constructors
| MkGetSelectedExtensionEventsReply | |
data GetDeviceDontPropagateListReply Source
Constructors
| MkGetDeviceDontPropagateListReply | |
data GetDeviceMotionEvents Source
Constructors
| MkGetDeviceMotionEvents | |
Instances
| Show GetDeviceMotionEvents | |
| Typeable GetDeviceMotionEvents | |
| ExtensionRequest GetDeviceMotionEvents |
data DeviceTimeCoord Source
Constructors
| MkDeviceTimeCoord | |
Fields | |
Instances
| Show DeviceTimeCoord | |
| Typeable DeviceTimeCoord | |
| Deserialize DeviceTimeCoord | |
| Serialize DeviceTimeCoord |
data ChangeKeyboardDevice Source
Constructors
| MkChangeKeyboardDevice | |
Fields | |
Instances
| Show ChangeKeyboardDevice | |
| Typeable ChangeKeyboardDevice | |
| ExtensionRequest ChangeKeyboardDevice |
data ChangePointerDevice Source
Constructors
| MkChangePointerDevice | |
Instances
| Show ChangePointerDevice | |
| Typeable ChangePointerDevice | |
| ExtensionRequest ChangePointerDevice |
data GrabDevice Source
Constructors
| MkGrabDevice | |
Instances
| Show GrabDevice | |
| Typeable GrabDevice | |
| ExtensionRequest GrabDevice |
data GrabDeviceReply Source
Constructors
| MkGrabDeviceReply | |
Fields | |
Instances
| Show GrabDeviceReply | |
| Typeable GrabDeviceReply | |
| Deserialize GrabDeviceReply |
data UngrabDevice Source
Constructors
| MkUngrabDevice | |
Fields | |
Instances
| Show UngrabDevice | |
| Typeable UngrabDevice | |
| ExtensionRequest UngrabDevice |
data GrabDeviceKey Source
Constructors
Instances
| Show GrabDeviceKey | |
| Typeable GrabDeviceKey | |
| ExtensionRequest GrabDeviceKey |
data UngrabDeviceKey Source
Constructors
| MkUngrabDeviceKey | |
Instances
| Show UngrabDeviceKey | |
| Typeable UngrabDeviceKey | |
| ExtensionRequest UngrabDeviceKey |
data GrabDeviceButton Source
Constructors
Instances
| Show GrabDeviceButton | |
| Typeable GrabDeviceButton | |
| ExtensionRequest GrabDeviceButton |
data UngrabDeviceButton Source
Constructors
| MkUngrabDeviceButton | |
Instances
| Show UngrabDeviceButton | |
| Typeable UngrabDeviceButton | |
| ExtensionRequest UngrabDeviceButton |
data DeviceInputMode Source
Constructors
| DeviceInputModeAsyncThisDevice | |
| DeviceInputModeSyncThisDevice | |
| DeviceInputModeReplayThisDevice | |
| DeviceInputModeAsyncOtherDevices | |
| DeviceInputModeAsyncAll | |
| DeviceInputModeSyncAll |
Instances
data AllowDeviceEvents Source
Constructors
| MkAllowDeviceEvents | |
Instances
| Show AllowDeviceEvents | |
| Typeable AllowDeviceEvents | |
| ExtensionRequest AllowDeviceEvents |
data GetDeviceFocus Source
Constructors
| MkGetDeviceFocus | |
Fields | |
Instances
| Show GetDeviceFocus | |
| Typeable GetDeviceFocus | |
| ExtensionRequest GetDeviceFocus |
data SetDeviceFocus Source
Constructors
| MkSetDeviceFocus | |
Instances
| Show SetDeviceFocus | |
| Typeable SetDeviceFocus | |
| ExtensionRequest SetDeviceFocus |
data GetFeedbackControl Source
Constructors
| MkGetFeedbackControl | |
Fields | |
Instances
| Show GetFeedbackControl | |
| Typeable GetFeedbackControl | |
| ExtensionRequest GetFeedbackControl |
data FeedbackClass Source
Constructors
| FeedbackClassKeyboard | |
| FeedbackClassPointer | |
| FeedbackClassString | |
| FeedbackClassInteger | |
| FeedbackClassLed | |
| FeedbackClassBell |
Instances
data FeedbackState Source
Constructors
| MkFeedbackState | |
Fields | |
Instances
| Show FeedbackState | |
| Typeable FeedbackState | |
| Deserialize FeedbackState | |
| Serialize FeedbackState |
data KbdFeedbackState Source
Constructors
Instances
| Show KbdFeedbackState | |
| Typeable KbdFeedbackState | |
| Deserialize KbdFeedbackState | |
| Serialize KbdFeedbackState |
data PtrFeedbackState Source
Constructors
| MkPtrFeedbackState | |
Instances
| Show PtrFeedbackState | |
| Typeable PtrFeedbackState | |
| Deserialize PtrFeedbackState | |
| Serialize PtrFeedbackState |
data IntegerFeedbackState Source
Constructors
| MkIntegerFeedbackState | |
Instances
| Show IntegerFeedbackState | |
| Typeable IntegerFeedbackState | |
| Deserialize IntegerFeedbackState | |
| Serialize IntegerFeedbackState |
data StringFeedbackState Source
Constructors
| MkStringFeedbackState | |
Instances
| Show StringFeedbackState | |
| Typeable StringFeedbackState | |
| Deserialize StringFeedbackState | |
| Serialize StringFeedbackState |
data BellFeedbackState Source
Constructors
| MkBellFeedbackState | |
Instances
| Show BellFeedbackState | |
| Typeable BellFeedbackState | |
| Deserialize BellFeedbackState | |
| Serialize BellFeedbackState |
data LedFeedbackState Source
Constructors
| MkLedFeedbackState | |
Instances
| Show LedFeedbackState | |
| Typeable LedFeedbackState | |
| Deserialize LedFeedbackState | |
| Serialize LedFeedbackState |
data FeedbackCtl Source
Constructors
| MkFeedbackCtl | |
Fields | |
Instances
| Show FeedbackCtl | |
| Typeable FeedbackCtl | |
| Deserialize FeedbackCtl | |
| Serialize FeedbackCtl |
data KbdFeedbackCtl Source
Constructors
Instances
| Show KbdFeedbackCtl | |
| Typeable KbdFeedbackCtl | |
| Deserialize KbdFeedbackCtl | |
| Serialize KbdFeedbackCtl |
data PtrFeedbackCtl Source
Constructors
| MkPtrFeedbackCtl | |
Instances
| Show PtrFeedbackCtl | |
| Typeable PtrFeedbackCtl | |
| Deserialize PtrFeedbackCtl | |
| Serialize PtrFeedbackCtl |
data IntegerFeedbackCtl Source
Constructors
| MkIntegerFeedbackCtl | |
Instances
| Show IntegerFeedbackCtl | |
| Typeable IntegerFeedbackCtl | |
| Deserialize IntegerFeedbackCtl | |
| Serialize IntegerFeedbackCtl |
data StringFeedbackCtl Source
Constructors
| MkStringFeedbackCtl | |
Instances
| Show StringFeedbackCtl | |
| Typeable StringFeedbackCtl | |
| Deserialize StringFeedbackCtl | |
| Serialize StringFeedbackCtl |
data BellFeedbackCtl Source
Constructors
| MkBellFeedbackCtl | |
Instances
| Show BellFeedbackCtl | |
| Typeable BellFeedbackCtl | |
| Deserialize BellFeedbackCtl | |
| Serialize BellFeedbackCtl |
data LedFeedbackCtl Source
Constructors
| MkLedFeedbackCtl | |
Instances
| Show LedFeedbackCtl | |
| Typeable LedFeedbackCtl | |
| Deserialize LedFeedbackCtl | |
| Serialize LedFeedbackCtl |
data GetDeviceKeyMapping Source
Constructors
| MkGetDeviceKeyMapping | |
Instances
| Show GetDeviceKeyMapping | |
| Typeable GetDeviceKeyMapping | |
| ExtensionRequest GetDeviceKeyMapping |
data ChangeDeviceKeyMapping Source
Constructors
| MkChangeDeviceKeyMapping | |
Instances
| Show ChangeDeviceKeyMapping | |
| Typeable ChangeDeviceKeyMapping | |
| ExtensionRequest ChangeDeviceKeyMapping |
data GetDeviceModifierMapping Source
Constructors
| MkGetDeviceModifierMapping | |
Fields | |
Instances
| Show GetDeviceModifierMapping | |
| Typeable GetDeviceModifierMapping | |
| ExtensionRequest GetDeviceModifierMapping |
data SetDeviceModifierMapping Source
Constructors
| MkSetDeviceModifierMapping | |
Instances
| Show SetDeviceModifierMapping | |
| Typeable SetDeviceModifierMapping | |
| ExtensionRequest SetDeviceModifierMapping |
data GetDeviceButtonMapping Source
Constructors
| MkGetDeviceButtonMapping | |
Fields | |
Instances
| Show GetDeviceButtonMapping | |
| Typeable GetDeviceButtonMapping | |
| ExtensionRequest GetDeviceButtonMapping |
data SetDeviceButtonMapping Source
Constructors
| MkSetDeviceButtonMapping | |
Instances
| Show SetDeviceButtonMapping | |
| Typeable SetDeviceButtonMapping | |
| ExtensionRequest SetDeviceButtonMapping |
data QueryDeviceState Source
Constructors
| MkQueryDeviceState | |
Fields | |
Instances
| Show QueryDeviceState | |
| Typeable QueryDeviceState | |
| ExtensionRequest QueryDeviceState |
data InputState Source
Constructors
| MkInputState | |
Fields | |
Instances
| Show InputState | |
| Typeable InputState | |
| Deserialize InputState | |
| Serialize InputState |
Constructors
| MkKeyState | |
Fields
| |
data ButtonState Source
Constructors
| MkButtonState | |
Fields | |
Instances
| Show ButtonState | |
| Typeable ButtonState | |
| Deserialize ButtonState | |
| Serialize ButtonState |
data ValuatorState Source
Constructors
| MkValuatorState | |
Instances
| Show ValuatorState | |
| Typeable ValuatorState | |
| Deserialize ValuatorState | |
| Serialize ValuatorState |
data SendExtensionEvent Source
Constructors
| MkSendExtensionEvent | |
Instances
| Show SendExtensionEvent | |
| Typeable SendExtensionEvent | |
| ExtensionRequest SendExtensionEvent |
data DeviceBell Source
Constructors
| MkDeviceBell | |
Instances
| Show DeviceBell | |
| Typeable DeviceBell | |
| ExtensionRequest DeviceBell |
data SetDeviceValuators Source
Constructors
| MkSetDeviceValuators | |
Instances
| Show SetDeviceValuators | |
| Typeable SetDeviceValuators | |
| ExtensionRequest SetDeviceValuators |
data GetDeviceControl Source
Constructors
| MkGetDeviceControl | |
Instances
| Show GetDeviceControl | |
| Typeable GetDeviceControl | |
| ExtensionRequest GetDeviceControl |
data DeviceState Source
Constructors
| MkDeviceState | |
Fields | |
Instances
| Show DeviceState | |
| Typeable DeviceState | |
| Deserialize DeviceState | |
| Serialize DeviceState |
data DeviceResolutionState Source
Constructors
| MkDeviceResolutionState | |
Instances
| Show DeviceResolutionState | |
| Typeable DeviceResolutionState | |
| Deserialize DeviceResolutionState | |
| Serialize DeviceResolutionState |
data DeviceAbsCalibState Source
Constructors
Instances
| Show DeviceAbsCalibState | |
| Typeable DeviceAbsCalibState | |
| Deserialize DeviceAbsCalibState | |
| Serialize DeviceAbsCalibState |
data DeviceAbsAreaState Source
Constructors
| MkDeviceAbsAreaState | |
Fields | |
Instances
| Show DeviceAbsAreaState | |
| Typeable DeviceAbsAreaState | |
| Deserialize DeviceAbsAreaState | |
| Serialize DeviceAbsAreaState |
data DeviceCoreState Source
Constructors
| MkDeviceCoreState | |
Instances
| Show DeviceCoreState | |
| Typeable DeviceCoreState | |
| Deserialize DeviceCoreState | |
| Serialize DeviceCoreState |
data DeviceEnableState Source
Constructors
| MkDeviceEnableState | |
Instances
| Show DeviceEnableState | |
| Typeable DeviceEnableState | |
| Deserialize DeviceEnableState | |
| Serialize DeviceEnableState |
Constructors
| MkDeviceCtl | |
Fields | |
data DeviceResolutionCtl Source
Constructors
| MkDeviceResolutionCtl | |
Instances
| Show DeviceResolutionCtl | |
| Typeable DeviceResolutionCtl | |
| Deserialize DeviceResolutionCtl | |
| Serialize DeviceResolutionCtl |
data DeviceAbsCalibCtl Source
Constructors
Instances
| Show DeviceAbsCalibCtl | |
| Typeable DeviceAbsCalibCtl | |
| Deserialize DeviceAbsCalibCtl | |
| Serialize DeviceAbsCalibCtl |
data DeviceAbsAreaCtrl Source
Constructors
| MkDeviceAbsAreaCtrl | |
Instances
| Show DeviceAbsAreaCtrl | |
| Typeable DeviceAbsAreaCtrl | |
| Deserialize DeviceAbsAreaCtrl | |
| Serialize DeviceAbsAreaCtrl |
data DeviceCoreCtrl Source
Constructors
| MkDeviceCoreCtrl | |
Instances
| Show DeviceCoreCtrl | |
| Typeable DeviceCoreCtrl | |
| Deserialize DeviceCoreCtrl | |
| Serialize DeviceCoreCtrl |
data DeviceEnableCtrl Source
Constructors
| MkDeviceEnableCtrl | |
Instances
| Show DeviceEnableCtrl | |
| Typeable DeviceEnableCtrl | |
| Deserialize DeviceEnableCtrl | |
| Serialize DeviceEnableCtrl |
data DeviceKeyPressEvent Source
Constructors
Instances
data DeviceKeyReleaseEvent Source
Constructors
Instances
data DeviceButtonPressEvent Source
Constructors
Instances
data DeviceButtonReleaseEvent Source
Constructors
data DeviceMotionNotifyEvent Source
Constructors
data ProximityInEvent Source
Constructors
Instances
data ProximityOutEvent Source
Constructors
Instances
data FocusInEvent Source
Constructors
| MkFocusInEvent | |
Instances
| Show FocusInEvent | |
| Typeable FocusInEvent | |
| Event FocusInEvent | |
| Deserialize FocusInEvent |
data FocusOutEvent Source
Constructors
| MkFocusOutEvent | |
Instances
| Show FocusOutEvent | |
| Typeable FocusOutEvent | |
| Event FocusOutEvent | |
| Deserialize FocusOutEvent |
data DeviceStateNotifyEvent Source
Constructors
Instances
data DeviceMappingNotifyEvent Source
Constructors
| MkDeviceMappingNotifyEvent | |
data ChangeDeviceNotifyEvent Source
Constructors
| MkChangeDeviceNotifyEvent | |
data DeviceKeyStateNotifyEvent Source
Constructors
| MkDeviceKeyStateNotifyEvent | |
data DeviceButtonStateNotifyEvent Source
Constructors
| MkDeviceButtonStateNotifyEvent | |
data DevicePresenceNotifyEvent Source
Constructors
| MkDevicePresenceNotifyEvent | |