9front - general discussion about 9front
 help / color / mirror / Atom feed
From: kvik@a-b.xyz
To: 9front@9front.org
Subject: Re: [9front] nusb/kb mouse handling
Date: Tue, 08 Dec 2020 13:50:16 GMT	[thread overview]
Message-ID: <54FD3A03F7230FC9C9A67B1B91C60994@hog> (raw)
In-Reply-To: <72DC97BA0FC4F691CD6779E728387B9E@prosimetrum.com>


Quoth umbraticus@prosimetrum.com:
> What do others think should happen to buttons >3?

For my use I mapped higher buttons to bits 0x20 and up.
I then interpose a filter [1] between nusb/kb and /dev/mousein
that maps these according to what makes sense for a particular
device.

Such a filter could be made more versatile and powerful.

The issue with this approach is having to setup the filtering
in nusbrc, in particular outside and before most of the useful
namespaces even exist.  This makes it harder to do fun stuff
with all the new buttons...

[1]: https://git.sr.ht/~kvik/mousetrap

  reply	other threads:[~2020-12-08 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08  0:59 umbraticus
2020-12-08  8:44 ` umbraticus
2020-12-08 11:37   ` umbraticus
2020-12-08 13:50     ` kvik [this message]
2020-12-08 21:18       ` umbraticus
2020-12-09  0:14         ` kvik

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=54FD3A03F7230FC9C9A67B1B91C60994@hog \
    --to=kvik@a-b.xyz \
    --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).