PerryWerneck / libv3270

3270 Virtual Terminal for GTK
https://softwarepublico.gov.br/social/pw3270/
GNU Lesser General Public License v3.0
10 stars 4 forks source link

Função das teclas Enter e Enter_TN no pacote windows 5.4 #15

Open eddiebim opened 2 years ago

eddiebim commented 2 years ago

Olá Perry

Formalizando aqui no Github a solicitação para retornar o funcionamento independente das teclas Enter, Enter_TN e Control_R no pw3270 5.4 para windows 10+. O que está ocorrendo é que o Enter_TN é reconhecido com mesma função "Return" da tecla Enter , e o Control_R nem é reconhecido.

Grato

PerryWerneck commented 2 years ago

Problem seens to be related to gtk/glib who's sending the same scancode for Enter and KP_Enter (65293). On linux it sends 65421 for KP_enter and 65293 for enter.

Will look at gtk message parser to figure out why.

PerryWerneck commented 1 year ago

This issue reported in gdk: https://gitlab.gnome.org/GNOME/gtk/-/issues/2540

PerryWerneck commented 1 year ago

Possible solution: https://gitlab.gnome.org/GNOME/gtk/-/issues/2540#note_1354164