x11-xinput-0.1.0.0: Haskell FFI bindings for X11 XInput library (-lXi)

Safe HaskellNone

Graphics.X11.XInput.Foreign

Contents

Description

This module contains FFI imports and thin wrappers for them.

Synopsis

XInput initialization

setEventMaskSource

Arguments

:: Display 
-> Window 
-> [EventType]

List of events to listen

-> IO () 

Select XInput events.

Wrappers for XInput calls

queryDeviceSource

Arguments

:: Display 
-> SelectDevices

Which devices to list

-> IO [DeviceInfo] 

Query list of devices

FFI imports