Kanzi native input device implementation. More...
#include <kanzi/core/legacy/debug/kzs_error.hpp>
#include <kanzi/core.ui/input/event_source_properties.hpp>
#include <kanzi/core.ui/platform/input/common/kzs_input.h>
#include <kanzi/core.ui/platform/windowing/common/kzs_desktop.h>
#include <kanzi/core.ui/platform/task_dispatcher/common/native_event_handle.hpp>
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... | |
Kanzi native input device implementation.
Copyright 2008-2017 by Rightware. All rights reserved.
#define SYN_DROPPED |
SYN_DROPPED is not defined in some toolchains, as old Linux kernels don't implement it.
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.