tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Representing a rotary encoder input device



What do other systems do?  It strikes me what wsmouse feels like it is
for things connected with the kbd/mouse/display world.  To be
cantankerous, using it seems a little bit like representing a GPIO input
as a 1-button mouse that doesn't move.

I would imagine that a rotary encoder is more likely to be a volume or
level control, but perhaps not for the machine, perhaps just reported
over MQTT so Home Assistant on some other machine can deal.

If you are really talking about encoders hooked to gpio, then perhaps
gpio should grow a facility to take N pins and say they are some kind of
encoder and then have a gpio encoder abstraction.

But maybe you are trying to use an encoder to add scroll to a 3-button
mouse?

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index