AnsweredAssumed Answered

HID Keyboard example  onHold & long press detect in i.mxrt1050

Question asked by Andy Dong on May 30, 2019
Latest reply on Jun 3, 2019 by Hui_Ma

Hi, all

 

As title , I am working with host_hid_mouse_keyboard_freertos example in I.MXRT 1050 

How to detect the status when I hold the key or long press the key ? 

I want to do is like below 

when I press key "1" , it will display "a" 

In the limited time I press key "1" twice , it will display "b"

press key "1" third times , it will display "c" 

just like the old cellphone's input characters method

 

Is there any suggestions?

 

 

Best Regards,

Andy

Outcomes