usbx icon indicating copy to clipboard operation
usbx copied to clipboard

ux_device_class_cdc_acm_read read up arrow key as 0x0D

Open calism opened this issue 2 years ago • 1 comments

Hello All,

  • I use the function ux_device_class_cdc_acm_read to read the inputs from Terminal (in this case Tera Term).
  • If I press up arrow key, the function ux_device_class_cdc_acm_read writes into the buffer the value 0x0D which is the Carriage Return.

So, I assume there is an issue the function ux_device_class_cdc_acm_read

calism avatar May 28 '23 18:05 calism

I don't think so, up arrow key is not interpreted as normal character, it could be sequence of keys. Maybe you can check trace of the USB traffic, I think it gets Carriage Return because host really send it in its key sequence.

xiaocq2001 avatar May 30 '23 03:05 xiaocq2001