Skip to content

Gtk key down up#2138

Open
kusumotonorio wants to merge 4 commits intofactor:masterfrom
kusumotonorio:gtk-key-down-up
Open

Gtk key down up#2138
kusumotonorio wants to merge 4 commits intofactor:masterfrom
kusumotonorio:gtk-key-down-up

Conversation

@kusumotonorio
Copy link
Copy Markdown
Contributor

I wrote the cord which fixed key-down/up event issues on gtk backend Factor. It improves:

  • events about numeric keys on the keypad with shift,
  • the influence by the state of caps-lock,
  • unnecessary event generation with an individual press of shift, control or alt keys
  • illegal "\0" event generation
    on key-down/up events.

Comment thread basis/ui/backend/gtk/gtk.factor Outdated
Comment thread basis/ui/backend/gtk/gtk.factor
@mrjbq7
Copy link
Copy Markdown
Member

mrjbq7 commented May 4, 2019 via email

@kusumotonorio
Copy link
Copy Markdown
Contributor Author

kusumotonorio commented May 5, 2019

Thank you, John. It certainly seems so.

@mrjbq7
Copy link
Copy Markdown
Member

mrjbq7 commented May 20, 2019

We should review this and merge if it's working! @erg

@erg erg added this to the 0.99 milestone Aug 4, 2019
@erg
Copy link
Copy Markdown
Member

erg commented Dec 21, 2021

@kusumotonorio I tried this and it returns t which causes keyboard strokes not to show as characters. Changing it to f causes it to work but I don't see the features mentioned above, like shift+numpad doesn't type anything.

Could you please rebase this onto master and see if you can fix it? I will merge sooner next time. Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants