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

Graphical session screen keyboard #26

Closed
green-green-avk opened this issue Nov 10, 2021 · 7 comments
Closed

Graphical session screen keyboard #26

green-green-avk opened this issue Nov 10, 2021 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@green-green-avk
Copy link
Owner

green-green-avk commented Nov 10, 2021

It needs to be fully implemented.
It seems, it should look like a set of switchable keyboards:

  • Text input ANSI terminal like keyboard: each symbol generates a couple of down/up events surrounded by appropriate modifier keys down/up events.
  • Action keyboard: down/up events are emitted as keys pressed/released and thus no gesture input is possible.
  • Android IME: behavior is similar to text input ANSI terminal like keyboard.
@green-green-avk
Copy link
Owner Author

green-green-avk commented Nov 10, 2021

To do:

  • Split current screen keyboard view into Graphical terminal and ANSI terminal ones in order to isolate possible bugs during further development.
  • Split current Graphical terminal screen keyboard into text input and action flavours.
  • Finish implementation of the text input keyboard.
  • Do possible corrections to the Android IME keyboard.
  • Finish implementation of the action keyboard.

@green-green-avk
Copy link
Owner Author

green-green-avk commented Nov 12, 2021

Problem

  1. Wayland protocol actually provides input method (text input) / clipboard support.
  2. Xwayland does not implement it.
  3. I hate perpetual patching / recompilation.

Solution

  • Add a small custom protocol extension to provide an additional socket descriptor to a dedicated helper.

@green-green-avk
Copy link
Owner Author

Split ANSI/Graphics: f26c026

@green-green-avk
Copy link
Owner Author

Input method: a639cfa

@green-green-avk
Copy link
Owner Author

green-green-avk commented Jan 31, 2022

Rework:

@green-green-avk
Copy link
Owner Author

Done.

Usage of Android international keyboard input and clipboard integration:
https://github.com/green-green-avk/AnotherTerm-scripts/tree/master/Xwayland

For further development see #28

Another Term Environment automation moved this from To do to Done Feb 2, 2022
@ghost
Copy link

ghost commented Feb 22, 2022

It needs to be fully implemented.
It seems, it should look like a set of switchable keyboards:

  • Text input ANSI terminal like keyboard: each symbol generates a couple of down/up events surrounded by appropriate modifier keys down/up events.
  • Action keyboard: down/up events are emitted as keys pressed/released and thus no gesture input is possible.
  • Android IME: behavior is similar to text input ANSI terminal like keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant