Skip to content

Some guidance in keyboard supoort #30

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

Closed
limbouser opened this issue Jan 29, 2020 · 2 comments
Closed

Some guidance in keyboard supoort #30

limbouser opened this issue Jan 29, 2020 · 2 comments

Comments

@limbouser
Copy link

Nevertheless, I'm guessing that tapping on the TextField and typing from keyboard will also not work,

Keyboard Input will not work, because of #22.

since keyboard is still connected to text terminal.

text terminal and application are the same entity in that respect, so you can't "disconnect" a keyboard from a terminal and "connect" it to an application.
the keyboard also needs to be attached to terminal in order for text input to work. stdin is the only way to get text input (not keyboard/keycode input!) without manually parsing the Xkb config file, loading & applying keymaps.

Originally posted by @ardera in #28 (comment)

Can I have some more guidance on how I can add keyboard support? I am really interested in getting it done.

@limbouser limbouser changed the title > Nevertheless, I'm guessing that tapping on the TextField and typing from keyboard will also not work, Some guidance in keyboard supoort Jan 29, 2020
@ardera
Copy link
Owner

ardera commented Jan 29, 2020

I've just uploaded my current work on keyboard input in branch feature-keyboard-input. Though I've only worked on text input yet, not raw keyboard input.

In #22, you mentioned your App uses Keyboard navigation? That means somewhere in your App there's a RawKeyboardListener listening for key events like arrow key up, arrow key down, right?

@ardera
Copy link
Owner

ardera commented Jan 31, 2020

keyboard input was added #31

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

No branches or pull requests

2 participants