Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Our reruns are better than theirs." -- Nick at Nite


computers / comp.sys.raspberry-pi / Re: Touch screens for Pi, what apps work with them?

SubjectAuthor
* Touch screens for Pi, what apps work with them?Chris Green
`- Re: Touch screens for Pi, what apps work with them?Theo

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

<6c3r4k-k4s2.ln1@esprimo.zbmc.eu>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8408&group=comp.sys.raspberry-pi#8408

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl@isbd.net (Chris Green)
Newsgroups: comp.sys.raspberry-pi
Subject: Touch screens for Pi, what apps work with them?
Date: Thu, 14 Dec 2023 10:52:22 +0000
Lines: 14
Message-ID: <6c3r4k-k4s2.ln1@esprimo.zbmc.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net nNcoLTUUtSsvMqxCIevUmAkhQKzRdl73K61fzBJRYimW/TvE8=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:KUKh1l1KY9SBRpG6oA7khycNvcA= sha256:ShyFEy0j/A3KxH7ygTBgvp8L1/ToDuTnP2xRJpOhQXo=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-91-generic (x86_64))
 by: Chris Green - Thu, 14 Dec 2023 10:52 UTC

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
ยท

Re: Touch screens for Pi, what apps work with them?

<YQE*G+Rxz@news.chiark.greenend.org.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8409&group=comp.sys.raspberry-pi#8409

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!callisto.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Touch screens for Pi, what apps work with them?
Date: 14 Dec 2023 13:09:22 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <YQE*G+Rxz@news.chiark.greenend.org.uk>
References: <6c3r4k-k4s2.ln1@esprimo.zbmc.eu>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="28362"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Thu, 14 Dec 2023 13:09 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor