flutter-tizen / embedder

Flutter embedder for Tizen
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

Support device type for KeyEvent #61

Open JSUYA opened 6 months ago

JSUYA commented 6 months ago
        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.