kzs_input_device_native.h File Reference

Kanzi native input device implementation. More...

Macros

#define SYN_DROPPED
 SYN_DROPPED is not defined in some toolchains, as old Linux kernels don't implement it. More...
 

Functions

kzsError kzsInputDeviceNativeCreate (const struct KzsDesktop *desktop, const kanzi::EventSourceProperties &properties, struct KzsInputDeviceNative **device_out)
 Creates an input device. More...
 
kzsError kzsInputDeviceNativeDelete (struct KzsInputDeviceNative *device)
 Deletes an input device. More...
 
kzsError kzsInputDeviceNativeGatherData (struct KzsInputDeviceNative *device, struct KzsEventQueue *queue)
 Enqueues input data from input device. More...
 
kanzi::NativeEventHandle kzsInputDeviceNativeGetEventHandle (const struct KzsInputDeviceNative *device)
 Returns a waitable event handle for this input device or a platform-specific invalid-handle if not supported. More...
 

Detailed Description

Kanzi native input device implementation.

Copyright 2008-2017 by Rightware. All rights reserved.

Macro Definition Documentation

#define SYN_DROPPED

SYN_DROPPED is not defined in some toolchains, as old Linux kernels don't implement it.

Function Documentation

kzsError kzsInputDeviceNativeCreate ( const struct KzsDesktop desktop,
const kanzi::EventSourceProperties properties,
struct KzsInputDeviceNative **  device_out 
)

Creates an input device.

kzsError kzsInputDeviceNativeDelete ( struct KzsInputDeviceNative device)

Deletes an input device.

kzsError kzsInputDeviceNativeGatherData ( struct KzsInputDeviceNative device,
struct KzsEventQueue *  queue 
)

Enqueues input data from input device.

kanzi::NativeEventHandle kzsInputDeviceNativeGetEventHandle ( const struct KzsInputDeviceNative device)

Returns a waitable event handle for this input device or a platform-specific invalid-handle if not supported.