Reference Manual - 1.0.1
DirectFB Interfaces   IDirectFBInputDevice

No summary yet...

Methods of IDirectFBInputDevice
Retrieving information
回复信息
GetID Get the unique device ID.
获得唯一的设备ID。
GetDescription Get a description of this device, i.e. the capabilities.
获得设备描述符,即它的属性。
Key mapping
键值映射
GetKeymapEntry Fetch one entry from the keymap for a specific hardware keycode.
从键值表中获得一个特殊的硬件键码的入口。
Event buffers
事件缓冲区
CreateEventBuffer Create an event buffer for this device and attach it.
创建这个设备的一个事件缓冲区并且附加它。
AttachEventBuffer Attach an existing event buffer to this device.
附加一个存在的事件缓冲区到这个设备上。
DetachEventBuffer Detach an event buffer from this device.
分离一个事件缓冲区从这个设备上。
General state queries
普遍状态查询
GetKeyState Get the current state of one key.
获得一个键的当前状态。
GetModifiers Get the current modifier mask.
获得当前掩码修饰语。
GetLockState Get the current state of the key locks.
获得键值加锁的当前状态。
GetButtons Get a mask of currently pressed buttons.
获得当前被按按妞的掩码。
GetButtonState Get the state of a button.
获得一个按钮的状态。
GetAxis Get the current value of the specified axis.
获得当前指定的轴值。
Specialized queries
专门查询
GetXY Utility function combining two calls to GetAxis().
与GetAxis()两个相调用的实用函数。

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