Download raw body.
Adding rumble/force feedback control to ujoy(4)
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/<n> 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
Adding rumble/force feedback control to ujoy(4)