From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 33B6223E22 for ; Mon, 5 Feb 2024 21:41:47 +0100 (CET) Received: from wopr.sciops.net ([216.126.196.60]) by 9front; Mon Feb 5 15:40:24 -0500 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1707165590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=v9tdjVieolDR2gW0Jotfp6m8X9tOdcEqYGkrf7IaVS0=; b=Tnk4CqQIf329tUAejFTJNTB7TSXQ+nJsZ6KPnnk/0Ji5QMaudOsd9sqIfc3fOYRP8LEBFb +3Nij4ne2eIEpAIOnS++MNYKCxvGRIL6E8HnHyZ5xkjPlwA/A8dssMgp9uYJmsUzAeve99 5w2xIY6kbC9VNeySm0a4Ms41pbZniZI= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id 3fdd3684 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <9front@9front.org>; Mon, 5 Feb 2024 12:39:50 -0800 (PST) Message-ID: Date: Mon, 05 Feb 2024 21:40:17 +0100 From: qwx@sciops.net To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: proven scripting event ACPI just-in-time full-stack controller Subject: Re: [9front] wtb: usb gamepad that works reliably with joy(1) Reply-To: 9front@9front.org Precedence: bulk On Sun Feb 4 23:57:05 +0100 2024, sl@stanleylieber.com wrote: > logitech dual action and ps3 controller have acted sketchy, frequently > babbling and crashing the whole pipeline. sucks. > > what controllers have you used, and which ones work best? > > sl So far only the most basic snes-style usb controllers I have have worked consistently well. I have a "Buffalo classic usb gamepad" which works, including the turbo function, and I assembled this board [1] except put snes and nes controller ports on it so i can just plug in a real one and not destroy it. These all probably use more or less the same chips and will just work. ps2 dualshock also works perfectly (incl. analog mode) but with only one of two usb adaptors I have, the other one mangles button events making it unusable. The usb controller of THEC64 [2] also surprisingly works fine. I've tried xbox360, multiple nintendo switch usb controllers, 8bitdo sn30pro, and get nothing; these would require more driver work. There's a program for first gen xbox controllers in mischief's contrib which iirc he got working. For joy(1) et al I have convenience scripts which handle autoresizing the window, enabling sound if possible, storing per-user saves etc., as others probably do too, but these are even more elements in the pipeline, what exactly do you see happening? Perhaps we could try to make it more resilient. Cheers, qwx [1] https://www.instructables.com/USB-SNES-Controller/ [2] https://retrogames.biz/products/thec64/