Reference Manual - 1.0.1
IDirectFB   CreateInputEventBuffer

Create a buffer for events with input devices connected.为已链接输入设备,创建事件缓冲区

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.

创建事件缓冲区连接所有相匹配能力的输入设备,如果没有匹配的输入设备,例如指定DICAPS_NONE,事件缓冲区将返回没有事件源连接

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).

如果global参数是 DFB_FALSE,事件只有在此 IDirectFB实例主平面(运行满屏或窗口模式的窗口开始)取得焦点时提交。

If global is DFB_TRUE no event will be discarded.

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