From: Pavel Machek <pavel@ucw.cz>
To: Bastien Nocera <hadess@hadess.net>
Cc: linux-media@vger.kernel.org
Subject: Re: Remote "Mouse mode" buttons, Keycode choices, etc.
Date: Sat, 22 Jun 2019 19:56:21 +0200 [thread overview]
Message-ID: <20190622175621.GC30317@amd> (raw)
In-Reply-To: <212f7db1f2d0b88a749bf3378bfaf3185590b6db.camel@hadess.net>
[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]
On Fri 2019-06-21 13:39:39, Bastien Nocera wrote:
> On Sun, 2019-06-16 at 18:58 +0200, Pavel Machek wrote:
> > Hi!
> >
> > > I dug out a fair bunch of remote controls I got around 10 years
> > > ago[1],
> > > and started trying them all out.
> > >
> > > I bumped into a couple of problems:
> > >
> > > - the Snapstream Firefly remote ([2] using the rc-snapstream-
> > > firefly
> > > keymap and the ati_remote protocol) creates 2 input device nodes,
> > > one
> > > for the remote keys, one for the mouse mode. The mouse button on
> > > the
> > > remote just sends KEY_MODE, and doesn't change the mode, nothing is
> > > ever sent on the mouse device node
> > >
> > > - the Streamzap remote ([3]) uses KEY_NUMERIC_[0-9] keycodes, just
> > > like
> > > a small minority of other devices. Is there any reason for them not
> > > to
> > > use KEY_[0-9] instead? Or for all of them to use KEY_NUMERIC_*, for
> > > consistencies' sake. I can send patches for those.
> >
> > This may be a bit of fun; consistency is good but this will change
> > behaviour for people,
> > right?
> >
> > So.. be careful :-).
>
> I'm not really sure how one can be "careful" doing that.
You could do an config option and then pretend breakage is user
decision, for example.
Or better just change it and see what happens.
> You can check this patch to lirc from 2008 to see what it might end up
> looking like ;)
> https://people.redhat.com/bnocera/lirc-fix-remote-keycodes.patch
>
> It doesn't really answer my question about whether this discrepancy was
> intended though.
Probably not intended.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2019-06-22 17:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-14 14:36 Remote "Mouse mode" buttons, Keycode choices, etc Bastien Nocera
2019-06-16 16:58 ` Pavel Machek
2019-06-21 11:39 ` Bastien Nocera
2019-06-22 17:56 ` Pavel Machek [this message]
2019-06-24 11:36 ` Bastien Nocera
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=20190622175621.GC30317@amd \
--to=pavel@ucw.cz \
--cc=hadess@hadess.net \
--cc=linux-media@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.