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

Key pressing event swapped #173

Open
matheusboaro opened this issue Jul 27, 2022 · 4 comments
Open

Key pressing event swapped #173

matheusboaro opened this issue Jul 27, 2022 · 4 comments

Comments

@matheusboaro
Copy link

When you press a key, the event is "showing" release, and when you release a key the event is showing "press".

@alanlivio
Copy link
Member

Thank you @matheusboaro. Could you please say if it happens in NCLua script or in onSelection event?

@alanlivio
Copy link
Member

Hi @matheusboaro. Could you please better detail?

@danielsm
Copy link
Collaborator

When debugging key events in NCLua, it appears that they are swapped. When pressing the key the event received is 'release' and when we release the key the event triggered is 'press'. It appears that the order is reversed.

@matheusboaro
Copy link
Author

Sorry, I wasn't receiving any notifications of the previous replies, but it's like Daniel clarified above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants