From: Matthieu Herrb Subject: Re: Adding rumble/force feedback control to ujoy(4) To: Thomas Frohwein Cc: tech@openbsd.org Date: Wed, 20 Nov 2024 21:52:03 +0100 Hi, On Tue, Nov 19, 2024 at 09:40:41AM -0500, Thomas Frohwein wrote: > Hi tech@, > > + > +#define UJOYIO_RUMBLE _IOW('J', 7, struct ujoy_rumble) > + Doesn't the '_IOW()' here mean that you need write access to /dev/ujoy/ to use that ioctl() ? Also, even though I'm partly responsible for the current situation as porter of the now defunct ISA joy(4) driver (https://man.openbsd.org/OpenBSD-3.0/i386/joy), I think one should think about plugging it into wsmouse(4) (adding a WSMOUSE_TYPE_JOYSTICK to let applications make the difference). IT will make supporting them in libinput-openbsd easier. -- Matthieu Herrb