/framebuffer

access Linux framebuffer as draw.Image

Primary LanguageGoCreative Commons Zero v1.0 UniversalCC0-1.0

framebuffer - access Linux framebuffer as draw.Image
Written in 2016 by <Ahmet Inan> <xdsopl@googlemail.com>
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

There are precompiled, static binaries for 386, amd64 and arm

This will create an fbgrab.png file from /dev/fb0:

# sudo amd64/fbgrab

This will show an image file on /dev/fb0:

# sudo amd64/fbshow file

This will visualize touchscreen events from /dev/input/event0 on /dev/fb0:

# sudo amd64/fbtouch /dev/input/event0