flutter-pi icon indicating copy to clipboard operation
flutter-pi copied to clipboard

My Keyboard doesn't work in the Flutter App

Open niklasbartsch opened this issue 2 years ago • 1 comments

I'm running Flutter 3.3.7 on a Raspberry Pi 4 Model B.

My keyboard input doesn't appear in the Flutter App, only in the terminal and only after I close the flutter app. While I type it doesn't give me any feedback.

My console when I start the app:

flutter: The Dart VM service is listening on http://127.0.0.1:45649/sB6MshEPnSg=/
flutter: I´m here
[text_input] warning: flutter requested native autocorrect, whichis not supported by flutter-pi.
[compositor] GPU does not supported the desired HW plane order.
  Some UI layers may be invisible.

niklasbartsch avatar Nov 21 '22 14:11 niklasbartsch

Is that the complete output? Can you configure again with cmake -DCMAKE_BUILD_TYPE=Debug ... and send me the output?

The libinput part should be as simple as running libinput debug-events in the console:

pi@hpi4:~ $ libinput debug-events
-event2   DEVICE_ADDED     generic ft5x06 (00)               seat0 default group1  cap:t ntouches 10 calib
-event0   DEVICE_ADDED     vc4                               seat0 default group2  cap:kp left scroll-nat scroll-button
-event1   DEVICE_ADDED     vc4                               seat0 default group2  cap:kp left scroll-nat scroll-button
^C
pi@hpi4:~ $

You might have to install libinput-tools using sudo apt install libinput-tools though.

ardera avatar Nov 21 '22 15:11 ardera