| Reference Manual - 1.4.11

IDirectFB | CreateInputEventBuffer

#### Create a buffer for events with input devices connected.

DFBResult CreateInputEventBuffer (
| IDirectFB |  | * | thiz,
| DFBInputDeviceCapabilities |  |  | caps,
| DFBBoolean |  |  | global,
| IDirectFBEventBuffer |  | ** | ret_buffer
);

Creates an event buffer and attaches all input devices with matching capabilities. If no input devices match, e.g. by specifying DICAPS_NONE, a buffer will be returned that has no event sources connected to it.

If global is DFB_FALSE events will only be delivered if this instance of IDirectFB has a focused primary (either running fullscreen or running in windowed mode with the window being focused).

If global is DFB_TRUE no event will be discarded.

| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License