int SU_Key_ReadEvent(int evfd, int *keyCode, SUKeyEvent *event)
读取按键事件.
int SU_Key_CloseEvent(int evfd)
关闭按键事件.
int SU_Key_OpenEvent(void)
获得按键事件句柄.
SULedCmd
LED行为命令.
Definition: su_misc.h:40
SUKeyEvent
按键事件.
Definition: su_misc.h:32
LED打开
Definition: su_misc.h:42
LED关闭
Definition: su_misc.h:41
int SU_LED_Command(int ledNum, SULedCmd cmd)
发送LED命令.
int SU_Key_DisableEvent(int keyCode)
Disable按键事件.
按键按下
Definition: su_misc.h:34
按键抬起
Definition: su_misc.h:33
int SU_Key_EnableEvent(int keyCode)
Enable按键事件.