TeleMidia / ginga

A Ginga iTV middleware implementation by TeleMídia/PUC-Rio
http://ginga.org.br
GNU General Public License v2.0
51 stars 8 forks source link

Key pressing event swapped #173

Open matheusboaro opened 2 years ago

matheusboaro commented 2 years ago

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

alanlivio commented 2 years ago

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

alanlivio commented 2 years ago

Hi @matheusboaro. Could you please better detail?

danielsm commented 2 years ago

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 commented 2 years ago

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