目录
一. hid问题
- hid发键值getevent只有在, 连上第一次按按键可以获取到
//需要按下抬起一起发
if(APP_hidDevGapState == GAPROLE_CONNECTED)
{
hidConsumer_CmdReport(key_code_hid_control, CONSUMER_REPORT_LEN);
hidConsumer_CmdReport(key_code_rel, sizeof( key_code_rel ));
LED_SET(LED_CONNECT_PRESS, 0);
}
标签:02,code,rel,项目,hid,key,6021
From: https://www.cnblogs.com/Deng-S/p/17897512.html