Skip to content
/ MyPiUI Public

A UI Framework for Raspberry Pi using the Linux Frame Buffer.

Notifications You must be signed in to change notification settings

lewpar/MyPiUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

154 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This repository is not currently being worked on.

If you are looking for a way to render a GUI on a Raspberry Pi using the legacy Linux Framebuffer, I suggest looking into LVGL. LVGL has a comprehensive list of features such as: Prebuild components, XML UI Editor (LVGL Pro Editor), and compiles to native code thanks to C.

Logo

A UI framework for the Raspberry Pi using the Linux Frame Buffer device (/dev/fb0) for rendering.

Usage

To get started, check out the sample project here.

NuGet package coming soon..

Features

  • Touch screen support.
    • Automatic detection of touch screen/pad device.
    • Touch calibration.
  • 16-bit and 32-bit color support.
    • RGB, RGBA, BGRA
  • XML powered UI
    • Automatic wiring of button handlers
    • Two-way data binding

Dependencies

  • fbset - Used to get the frame buffer information (size, color depth, etc..)
    • apt install fbset
  • ImageSharp - Used to support loading of all image file types.

Preview

FrameBufferViewer

FAQ

I get permission denied when trying to draw

  • Linux user must be in the video and input user groups (requires relog).
    • usermod -aG video $USER
    • usermod -aG input $USER

About

A UI Framework for Raspberry Pi using the Linux Frame Buffer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages