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

Support device type for KeyEvent #61

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JSUYA
Copy link
Member

@JSUYA JSUYA commented Apr 4, 2024

No description provided.

@JSUYA JSUYA marked this pull request as draft April 4, 2024 06:35
@JSUYA JSUYA force-pushed the keyevent_device_type branch from e180eef to 843318d Compare April 4, 2024 06:35
@JSUYA
Copy link
Member Author

JSUYA commented Apr 4, 2024

        KeyboardListener(
              autofocus: true,
              focusNode: FocusNode(),
              onKeyEvent: (event) {
                print(event.deviceType.label);
                print(event);
              },
              child: ...
            ),

I tested with above code, but remote controller still returns keyboard.
When I checking with log from the engine's FlutterEngineSendKeyEvent(), passed device_type is does not seem to be the problem.
This needs to be investigated some more.

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