Reference Manual - 1.0.1
IDirectFB   EnumInputDevices

Enumerate all existing input devices.枚举所存在的输入设备

EnumInputDevices (
  IDirectFB   * thiz,
  DFBInputDeviceCallback   callback,
  void   * callbackdata
);

Calls the given callback for all available input devices. The callback is passed the device id that can be used to retrieve an interface on a specific device using IDirectFB::GetInputDevice().

为所有有效的输入设备调用回调函数,这个回调函数传递了设备的ID,可以调用 IDirectFB::GetInputDevice().获得指定设备的接口。

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