9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] wtb: usb gamepad that works reliably with joy(1)
Date: Fri, 16 Feb 2024 19:01:01 +0100	[thread overview]
Message-ID: <C1D8E0160084F38E9EE4256DBB2F9840@wopr.sciops.net> (raw)
In-Reply-To: <9AACF2B7AF2F5B68E208555191252FD0@gaff.inri.net>

On Fri Feb 16 18:35:05 +0100 2024, sl@stanleylieber.com wrote:
> if i kill kb no new ones are started.  my joy pipeline starts the
> emulator without complaint, but pushing the buttons on the ibuffalo
> has no effect inside the emulator.

Good; now try just nusb/joy [endpoint] (iirc):

; nusb/joy 8

This should print keys in plaintext when you push the buttons.  If all
buttons print keys and all directional pads print axis, then you
probably just need to remap the keys in /bin/joy, they are hardcoded
and different for every joystick I've tried.  Then try an emulator
which uses a bunch of the keys, or ideally a test rom (I have some
snes test rom here, it shows button/axis events).

Cheers,
qwx

  reply	other threads:[~2024-02-16 18:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04 22:57 sl
2024-02-05 18:58 ` mkf9
2024-02-05 20:40 ` qwx
2024-02-05 20:49   ` Kurt H Maier
2024-02-05 21:05     ` qwx
2024-02-10  4:15   ` sl
2024-02-10  5:19     ` qwx
2024-02-10  5:24       ` Stanley Lieber
2024-02-10  6:12         ` qwx
2024-02-16 16:43       ` sl
2024-02-16 16:46         ` sl
2024-02-16 17:10         ` qwx
2024-02-16 17:34           ` sl
2024-02-16 18:01             ` qwx [this message]
2024-02-16 23:40               ` sl
2024-02-17  0:55                 ` qwx
2024-02-17  1:33                   ` sl
2024-02-17  2:37                     ` Sigrid Solveig Haflínudóttir
2024-02-16 18:02           ` qwx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C1D8E0160084F38E9EE4256DBB2F9840@wopr.sciops.net \
    --to=qwx@sciops.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).