Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ux_device_class_cdc_acm_read read up arrow key as 0x0D #104

Open
calism opened this issue May 28, 2023 · 1 comment
Open

ux_device_class_cdc_acm_read read up arrow key as 0x0D #104

calism opened this issue May 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@calism
Copy link

calism commented May 28, 2023

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 calism added the bug Something isn't working label May 28, 2023
@xiaocq2001
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants