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 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 E293B2CB5E for ; Sat, 19 Oct 2024 15:00:28 +0200 (CEST) Received: from wopr.sciops.net ([216.126.196.60]) by 9front; Sat Oct 19 08:59:36 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1729342750; 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=kNU0OD6Pd8CjuoucoizNgPvtp2HSyeo/IXqAAN0in8k=; b=QRjV8cflVYGadIcwvR6+g7BEtY/BwL9opZBlxtUGn72RZMSUn6ZMntoVy4mOwRSSwdn/my VQwsfqhkAJTkJ4MAHZ+sCaAe0BDLSaRKH40SWfqTB9xjqBqSy5cjUEgwLJA4FzFpl6TSAY vso6l0jJIJJysR9f8Zvz1gLRnYUI2GM= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id 702930a7 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <9front@9front.org>; Sat, 19 Oct 2024 05:59:10 -0700 (PDT) Message-ID: Date: Sat, 19 Oct 2024 14:59:32 +0200 From: qwx@sciops.net To: 9front@9front.org In-Reply-To: <1471971331.1907621.1729341892650@comcenter.netcologne.de> 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: injection framework Subject: Re: [9front] [patch] nusb/ joy: xbox360 controller support and improved hid parsing Reply-To: 9front@9front.org Precedence: bulk On Sat Oct 19 14:44:48 +0200 2024, meyer.arne83@netcologne.de wrote: > Hello, > > this patch adds some improvements to nusb/joy. > > Support for xbox360 controllers. > Up to six axes are now supported for analog input. > The DPad gets mapped to buttons 16-19. > Added a simple deadband filter for analog axes. > > Thanks qwx for feedback and help with the man page changes! > > Greetings, > Arne I should add that this also enables support for xbox360-compatible fight sticks, and that the changes allow the 8Bitdo SN30 Pro to work flawlessly, in xinput mode. I imagine that other such controllers might now work as well. The deadband control was added because the xbox360 controller is overly sensitive, spamming messages for all axes any time anything moves; with a 5-10% deadband, it's perfect. Thanks! qwx