• Touch screens for Pi, what apps work with them?

    From Chris Green@3:770/3 to All on Thu Dec 14 10:52:22 2023
    Does anyone here have any experience with small touch screens for the
    Pi? In particular the Elecrow ones seem to be for sale everywhere at
    quite reasonable prices.

    What can you actually do with the touch screen? I.e. can it interface
    to programs already available for the Pi or do you have to write your
    own progams to do anything useful?

    In particular is there any media player software (e.g. Mopidy) that
    can work well with a touch screen?

    --
    Chris Green
    ยท

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Chris Green on Thu Dec 14 13:09:22 2023
    Chris Green <cl@isbd.net> wrote:
    Does anyone here have any experience with small touch screens for the
    Pi? In particular the Elecrow ones seem to be for sale everywhere at
    quite reasonable prices.

    What can you actually do with the touch screen? I.e. can it interface
    to programs already available for the Pi or do you have to write your
    own progams to do anything useful?

    In particular is there any media player software (e.g. Mopidy) that
    can work well with a touch screen?

    There's roughly two kinds of displays: ones which work like a monitor (take
    an HDMI input, display the desktop), and those which take an SPI or similar input and are controlled by a separate library.

    The first work with all the usual desktop apps, they are the same as a
    monitor. For touch it's usually a USB input that works much like a mouse.

    The second depend on a software stack which uses the display as a secondary display, ie you have to write code to draw things on that display and read touch inputs from it. There are libraries to talk to specific displays
    which work from Python/etc.

    Alternatively, for some secondary displays there's a driver to provide a
    Linux device like /dev/fb0 that programs can write to: https://github.com/juj/fbcp-ili9341

    If you have a driver that provides a /dev/fb0 device it's possible to
    configure the desktop to display on it, but it may need some X config.

    Which software works with a display will depend whether it uses X or whether it's designed to draw to a secondary display.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)