* Key for tablet rotation?
@ 2010-02-16 21:17 Matthew Garrett
2010-02-16 22:54 ` Dmitry Torokhov
0 siblings, 1 reply; 5+ messages in thread
From: Matthew Garrett @ 2010-02-16 21:17 UTC (permalink / raw)
To: linux-input
Many tablet PCs have a button to indicate that the screen should be
rotated from landscape to portrait mode. There's currently no
standardisation here - a couple of drivers seem to be using
KEY_DIRECTION, and others are just being mapped to arbitrary F keys. So:
1) What is KEY_DIRECTION supposed to be for?
2) If it's not suitable, do we still have space for a KEY_ROTATE?
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Key for tablet rotation?
2010-02-16 21:17 Key for tablet rotation? Matthew Garrett
@ 2010-02-16 22:54 ` Dmitry Torokhov
2010-02-16 22:56 ` Dmitry Torokhov
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2010-02-16 22:54 UTC (permalink / raw)
To: Matthew Garrett; +Cc: linux-input
On Tue, Feb 16, 2010 at 09:17:14PM +0000, Matthew Garrett wrote:
> Many tablet PCs have a button to indicate that the screen should be
> rotated from landscape to portrait mode. There's currently no
> standardisation here - a couple of drivers seem to be using
> KEY_DIRECTION, and others are just being mapped to arbitrary F keys. So:
>
> 1) What is KEY_DIRECTION supposed to be for?
Hmm, that is the good question. It looks like it's been introduced with
the first patch for input events that Vojtech brought in 2.3 kernels and
I do not see any users for it in mainline.
Vojtech, do you remember by any chance what you intended it to be used
for?
> 2) If it's not suitable, do we still have space for a KEY_ROTATE?
>
We still have a few slots available but I'd lean towards KEY_DIRECTION
(with better name maybe).
--
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Key for tablet rotation?
2010-02-16 22:54 ` Dmitry Torokhov
@ 2010-02-16 22:56 ` Dmitry Torokhov
2010-02-23 9:20 ` Vojtech Pavlik
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2010-02-16 22:56 UTC (permalink / raw)
To: Matthew Garrett; +Cc: linux-input, vojtech
Now if I only did not forget to CC Vojtech first time around...
On Tue, Feb 16, 2010 at 02:54:49PM -0800, Dmitry Torokhov wrote:
> On Tue, Feb 16, 2010 at 09:17:14PM +0000, Matthew Garrett wrote:
> > Many tablet PCs have a button to indicate that the screen should be
> > rotated from landscape to portrait mode. There's currently no
> > standardisation here - a couple of drivers seem to be using
> > KEY_DIRECTION, and others are just being mapped to arbitrary F keys. So:
> >
> > 1) What is KEY_DIRECTION supposed to be for?
>
> Hmm, that is the good question. It looks like it's been introduced with
> the first patch for input events that Vojtech brought in 2.3 kernels and
> I do not see any users for it in mainline.
>
> Vojtech, do you remember by any chance what you intended it to be used
> for?
>
> > 2) If it's not suitable, do we still have space for a KEY_ROTATE?
> >
>
> We still have a few slots available but I'd lean towards KEY_DIRECTION
> (with better name maybe).
>
> --
> Dmitry
--
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Key for tablet rotation?
2010-02-16 22:56 ` Dmitry Torokhov
@ 2010-02-23 9:20 ` Vojtech Pavlik
2010-02-23 10:29 ` Vojtech Pavlik
0 siblings, 1 reply; 5+ messages in thread
From: Vojtech Pavlik @ 2010-02-23 9:20 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Matthew Garrett, linux-input
On Tue, Feb 16, 2010 at 02:56:02PM -0800, Dmitry Torokhov wrote:
> Now if I only did not forget to CC Vojtech first time around...
>
> On Tue, Feb 16, 2010 at 02:54:49PM -0800, Dmitry Torokhov wrote:
> > On Tue, Feb 16, 2010 at 09:17:14PM +0000, Matthew Garrett wrote:
> > > Many tablet PCs have a button to indicate that the screen should be
> > > rotated from landscape to portrait mode. There's currently no
> > > standardisation here - a couple of drivers seem to be using
> > > KEY_DIRECTION, and others are just being mapped to arbitrary F keys. So:
> > >
> > > 1) What is KEY_DIRECTION supposed to be for?
> >
> > Hmm, that is the good question. It looks like it's been introduced with
> > the first patch for input events that Vojtech brought in 2.3 kernels and
> > I do not see any users for it in mainline.
> >
> > Vojtech, do you remember by any chance what you intended it to be used
> > for?
> >
> > > 2) If it's not suitable, do we still have space for a KEY_ROTATE?
> > >
> >
> > We still have a few slots available but I'd lean towards KEY_DIRECTION
> > (with better name maybe).
This is way too long ago, sorry. I suppose it was a key on one of the
early extended AT keyboards, not really related to tablet computing.
Now, if it's not used anywhere, it makes good sense to reuse it.
--
Vojtech Pavlik
Director SuSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Key for tablet rotation?
2010-02-23 9:20 ` Vojtech Pavlik
@ 2010-02-23 10:29 ` Vojtech Pavlik
0 siblings, 0 replies; 5+ messages in thread
From: Vojtech Pavlik @ 2010-02-23 10:29 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Matthew Garrett, linux-input
On Tue, Feb 23, 2010 at 10:20:25AM +0100, Vojtech Pavlik wrote:
> On Tue, Feb 16, 2010 at 02:56:02PM -0800, Dmitry Torokhov wrote:
> > Now if I only did not forget to CC Vojtech first time around...
> >
> > On Tue, Feb 16, 2010 at 02:54:49PM -0800, Dmitry Torokhov wrote:
> > > On Tue, Feb 16, 2010 at 09:17:14PM +0000, Matthew Garrett wrote:
> > > > Many tablet PCs have a button to indicate that the screen should be
> > > > rotated from landscape to portrait mode. There's currently no
> > > > standardisation here - a couple of drivers seem to be using
> > > > KEY_DIRECTION, and others are just being mapped to arbitrary F keys. So:
> > > >
> > > > 1) What is KEY_DIRECTION supposed to be for?
> > >
> > > Hmm, that is the good question. It looks like it's been introduced with
> > > the first patch for input events that Vojtech brought in 2.3 kernels and
> > > I do not see any users for it in mainline.
> > >
> > > Vojtech, do you remember by any chance what you intended it to be used
> > > for?
> > >
> > > > 2) If it's not suitable, do we still have space for a KEY_ROTATE?
> > > >
> > >
> > > We still have a few slots available but I'd lean towards KEY_DIRECTION
> > > (with better name maybe).
>
> This is way too long ago, sorry. I suppose it was a key on one of the
> early extended AT keyboards, not really related to tablet computing.
Indeed, it was the case - it got in together with KEY_CYCLEWINDOWS,
KEY_MSDOS, KEY_WWW, and the (in)famous KEY_COFFEE.
> Now, if it's not used anywhere, it makes good sense to reuse it.
--
Vojtech Pavlik
Director SuSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-23 10:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 21:17 Key for tablet rotation? Matthew Garrett
2010-02-16 22:54 ` Dmitry Torokhov
2010-02-16 22:56 ` Dmitry Torokhov
2010-02-23 9:20 ` Vojtech Pavlik
2010-02-23 10:29 ` Vojtech Pavlik
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).