flutter_fbdev 0.1.0
flutter_fbdev: ^0.1.0 copied to clipboard
Run Flutter on no-DRM framebuffer handhelds (Anbernic RG34XXSP and friends) - a software-rendered /dev/fb0 embedder plus gamepad/evdev input and an on-screen button-mapping overlay. For Allwinner/Mali [...]
0.1.0 #
Initial release.
- Software-rendered
/dev/fb0Flutter embedder (native/flutter_fbdev_embedder.c) for no-DRM Allwinner/Mali-fbdev handhelds where flutter-pi can't run. HandheldInput- focus-independent gamepad input over theflutter_fbdev/inputplatform channel, mapped from raw evdev toHandheldButtons via aHandheldProfile(RG34XXSP profile bundled).- Analog sticks via
HandheldInput.sticks- both stick axes, self-calibrating to a normalized-1.0 .. 1.0(RG34XXSP axes bundled). - Audio:
FbdevAudio.play/stop/setVolumeplays a bundled Ogg Vorbis file looped through the embedder (decoded with stb_vorbis, output via ALSA loaded at runtime). Gives sound on no-DRM handhelds where the usual Flutter audio plugins don't run; a silent no-op elsewhere. HandheldInputOverlay- on-screen flash/bounce of the pressed button for mapping any device by eye.isFbdevHandheld/fbdevTryStepplatform helpers.- Tooling:
native/build_embedder.sh(zig or Docker cross-compile),tool/deploy_samba.sh(timeout-capped, verified Samba deploy). - Example app.