Skip to content

implement keyboard input #31

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

Merged
merged 5 commits into from
Jan 31, 2020
Merged

implement keyboard input #31

merged 5 commits into from
Jan 31, 2020

Conversation

ardera
Copy link
Owner

@ardera ardera commented Jan 31, 2020

now working:

  • raw keyboard input (arrow keys, tab, etc)
  • text input (used for text fields) with utf8 / unicode support

raw keyboard input uses evdev devices, so every keyboard that is attached to the Pi will send key events to flutter. text input uses stdin for text input, so only the keyboard that is attached to the terminal flutter-pi is running on can be used to write to flutter text fields or similiar.

This is because converting from raw key codes to text is not trivial (basically because of different keymaps).

@ardera ardera merged commit db61f7a into master Jan 31, 2020
@ardera ardera deleted the feature-keyboard-input branch January 31, 2020 15:57
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.

1 participant