Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Waveshare 7.9" DSI - 400x1280@60Hz
#22
moOde simply reports the viewport size

Code:
if (SESSION.json['pkgid_suffix'] == 'viewport') {
    notify('viewport', window.innerWidth + 'x' + window.innerHeight, '10_seconds');
}

And when Local Display starts the screen size is obtained by querying the frame buffer using the command below.

Code:
fbset -s | awk '$1 == "geometry" { print $2","$3 }'
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Waveshare 7.9" DSI - 400x1280@60Hz - by Nutul - 03-01-2023, 10:03 AM
RE: Waveshare 7.9" DSI - 400x1280@60Hz - by Nutul - 03-02-2023, 09:32 PM
RE: Waveshare 7.9" DSI - 400x1280@60Hz - by Tim Curtis - 03-02-2023, 10:57 PM

Forum Jump: