Move UI to Go #42
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: PiFrame/piframe#42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The main UI for switching albums, reboot, poweroff, debug info needs to be re-written in Go.
Comments are a bit of a stream of consciouness as @kemonine works through the problem.
Current theory of operation
https://github.com/veandco/go-sdl2
Use framebuffer + joystick/buttons
Need to figure out how to leverage framebuffer as a UI ; there appear to be go libs but they are not clear on how to work with the fb for text.
/boot/firmware/cmdline.txt
fbcon=rotate:2
Initial release of piframe go ui has been pushed to all appropriate repos